[ct-ng] Shared-libs support with bare-metal toolchain

Arnaud Lacombe lacombar@gmail.com
Tue Apr 20 01:30:00 GMT 2010


Hi,

I've been spending quite some time digging about uClibc build failure
with a bare-metal toolchain. I undercovered that collect2 was screwing
everything by not being passed -shared. The current `config/kernel.in'
say:

config SHARED_LIBS
[...]
      You might not want shared libraries if you're building for a target that
      don't support it (maybe some nommu targets, for example, or bare metal).

with an extra dependency on  KERNEL_SUPPORTS_SHARED_LIBS. I don't see
the point for such a limitation. Nothing should prevent someone to
build an external libc (even a complete system) with a *-elf
toolchain. Would it be ok remove that limitation, and the option move
to "Target options".

Thanks,
 - Arnaud

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list