Commit Graph

2 Commits

Author SHA1 Message Date
Juan RP
8ecff4f092 cross-compilation: also force GCC to target's gcc.
--HG--
extra : convert_revision : 55dcefd3fc1c49fd003876f15d3ec0d70ab49844
2008-11-05 01:06:38 +01:00
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