On 22/08/11 11:33, Matthias Klose wrote:
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).

Ok, I *think* I see the problem: you're not supposed to list the default library as a multilib.

Try this:

------8<------------>8------
ifeq ($(with_float),hard)
MULTILIB_OPTIONS        = mfloat-abi=softfp
MULTILIB_DIRNAMES       = sf
....
else
MULTILIB_OPTIONS        = mfloat-abi=hard
MULTILIB_DIRNAMES       = hf
....
endif
------8<------------>8------

Andrew

_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to