[uClibc]uclibc 0.99 atexit problem again
Fabrice Gautier
Fabrice_Gautier at sdesigns.com
Fri Feb 15 21:28:31 UTC 2002
> -----Original Message-----
> From: Erik Andersen [mailto:andersen at codepoet.org]
>
> The arm-uclibc-gcc wrapper is not intended for, and will not
> work with uClinux. You need to obtain the uClinux arm-elf
> toolchain and use that,
>
Why ? Can't this problem be fixed?
As far as I know, the "atexit" problem is caused by libgcc.a referencing the
atexit symbol which is in libc.a.
So one more -lc at the end of the collect2 command line should solve the
problem
But of course the wrapper may not be able to add this -lc, but then i'm
wondering why it doesn't fail with linux but only with uClinux. This looks
like a bad gcc/libc interaction...
Thanks
--
Fabrice Gautier,
Fabrice_Gautier at sdesigns.com
More information about the uClibc
mailing list