[uClibc]Death of COFF and weak_alias
Geoff Wyche
GWyche at DATUM.com
Tue Jul 24 22:53:50 UTC 2001
Hi all,
I am attempting to compile busybox-0.52 with the head of the uClibc CVS
tree.
uClibc compiles OK, but busybox complains about unresolved references to
strcoll when linking against uClibc.
Digging around in the CVS repository, I found this note in 'string.c'
revision 1.11:
>With the Official Declaration of coff being dead, we can
>forget about wrapper functions and just use weak symbols.
> -Erik
And I found this in 'string.c' revision 1.14:
>Cleanup the toploevel makefile handing of shared libs. Add weak_alias
>define, and set things up so nasty old coff toolchains can now compile
>things and should actually work again.
> -Erik
I'm using m68k-coff-gcc, which is apparently the source of my problems.
What should I be using instead? My goal is to compile a uClinux kernel,
uClibc and busybox for the M68EN360 platform (custom board, natch...)
BTW, reverting to the old method (making strcoll a wrapper for strchr) seems
to compile ok.
Haven't tested it tho.
What should I be using instead of m68k-coff-XXX?
TIA,
--Geoff
gwyche at datum.com
More information about the uClibc
mailing list