On 07.10.2010 13:55, Andrew Stubbs wrote:
On 07/10/10 12:36, Matthias Klose wrote:
last time I checked this "multilibs" feature was implemented by building the toolchain N times. By which magic is the correct library selected? I didn't find anything in fsf trunk which supports this kind of multilibs builds.
It's there, and has been since forever. :)
You pass --enable-multilibs when you configure the compiler, and you get all the libgcc.a, crt[in].o, and other such files compiled and installed automatically.
they must have renamed that recently from --enable-multilib ;)
If you build for bare-metal, and newlib is in your source tree, that gets built automatically also. I think glibc has to be built multiple times manually.
right, the multilib options are in t-arm-elf, not in t-linux-armeabi. The old t-linux has the ones for hard/softfp commented out.
Matthias