This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]