how to properly enable multilib builds?
Matthias Klose
doko at ubuntu.com
Mon Aug 22 10:33:21 UTC 2011
Hi,
the current gcc-4.6 packages build for both softfp and hard, so that the armel
and (not yet existing) armhf packages can be installed together in the system.
To enable multilib, I currently use the rather complicated arm-multilib.diff,
which works, but doesn't seem to be correct. With the much simpler arm-ml2.diff,
the directory for the default multilib is not resolved to . (as done for e.g.
amd64).
[amd64] $ gcc -print-multi-directory
.
[armel] $ gcc -print-multi-directory
sf
If I understand the code correctly, this comes from the hard setting of
MULTILIB_DEFAULTS in the arm target. If you look at mips, you see
#ifndef MULTILIB_DEFAULTS
#define MULTILIB_DEFAULTS \
{ MULTILIB_ENDIAN_DEFAULT, MULTILIB_ISA_DEFAULT, MULTILIB_ABI_DEFAULT }
#endif
which records the proper selected defaults.
Should something similiar be done for arm?
Matthias
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: arm-multilib.diff
URL: <http://lists.linaro.org/pipermail/linaro-toolchain/attachments/20110822/cedd39a2/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: arm-ml2.diff
URL: <http://lists.linaro.org/pipermail/linaro-toolchain/attachments/20110822/cedd39a2/attachment-0001.ksh>
More information about the linaro-toolchain
mailing list