[uClibc]Death of COFF and weak_alias

Erik Andersen andersen at codepoet.org
Wed Jul 25 22:33:00 UTC 2001


On Tue Jul 24, 2001 at 03:53:50PM -0700, Geoff Wyche wrote:
> 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.

Odd.  Nothing in busybox uses strcoll...

> 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

This is old and was removed since I later restored support for COFF.

> 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.

As is noted here, coff toolchains should be able to work (though I
highly recommend using an ELF toolchain instead if possible).

> 
> What should I be using instead of m68k-coff-XXX?

Well, I havn't run any m68k systems myself, but I know you can
get an m68k-elf-gcc toolchain from the uclinux.org ColdFire ports 
section.

 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the uClibc mailing list