[uClibc] uclibc support for gcc?

Mike Frysinger vapier at gentoo.org
Mon May 9 05:21:23 UTC 2005


On Monday 09 May 2005 12:57 am, Dan Kegel wrote:
> Building uclibc/gcc toolchains requires patches to gcc, e.g.
> http://buildroot.uclibc.org/cgi-bin/viewcvs.cgi/trunk/buildroot/toolchain/g
>cc/4.0.0/ Have these patches ever been submitted to the gcc developers?
> It would be nice to not have to patch gcc to build it for uclibc targets.

the changes required for binutils have been merged into mainline ... since 
2.16 was so close to release, they didnt apply it to the 2.16 branch ... so 
hjlu's snapshots of 2.16.90+ work fine w/out patches to non-libtool related 
code, but anything older requires patching to work properly

i dont believe anyone has sent anything upstream for gcc ... mjn3 has been 
working on the C++/locale stuff recently with gcc-4, but the reason it hasnt 
been sent upstream so far is because (afaik) no one felt it was good/stable 
enough for gcc to accept

somewhat related ... ive sent the fixes needed for config.guess to properly 
support uClibc, but bje at gnu.org never responded to me :(

anything that uses libtool still needs to be patched because no one has sent 
patches to libtool maintainers ... but that too has been held back because 
the current method of reading '/lib/libuClibc-*.so' with `file` is considered 
to be kind of a hack, but no one has really bothered to review it since it 
works 99% of the time :)
-mike



More information about the uClibc mailing list