Commit Graph

4 Commits

Author SHA1 Message Date
Juan RP d15b7887e7 Added support for cross compiling packages on x86_64.
Two new options for the configuration file were added:
 * XBPS_CROSS_TARGET
 * XBPS_CROSS_DIR

XBPS_CROSS_TARGET should be set to the target triplet that you build
with the mktoolchain script.

XBPS_CROSS_DIR should point to the cross directory that mktoolchain
created if you've built one.

As proof of concept the glibc32 package has been added for x86_64,
and it works perfectly even in the chroot! with glibc32 in place
that means that I can build a gcc multilib and use -m32 to build
32bit packages! OH YEAH I LOVE THAT SHIT!!!!

--HG--
extra : convert_revision : 6b0008865e084674a1c4b58266f681871e519c66
2008-11-03 07:12:53 +01:00
Juan RP 1ae9019da2 mktoolchain: added new flags to specify dirs and misc stuff.
--HG--
extra : convert_revision : f5f9eb9aa5cedf41c1a99b862d31e5a8368b6e8b
2008-11-03 00:29:33 +01:00
Juan RP af67e8f905 Added a new script: mktoolchain.sh.
This will build you a cross toolchain from scratch; currently it's
only working for x86 targets, but should be easy to change it for
other targets.

--HG--
extra : convert_revision : 6ffd8f60b67606bc2068f29d86377e6fc9bab753
2008-11-02 23:09:47 +01:00
Juan RP 5bb36505b1 Rename helper-templates to just helpers.
--HG--
extra : convert_revision : cbaa30da99805accbe250d8dee5494c78cb93291
2008-10-30 23:34:05 +01:00