Subject: Re: HEADS UP: migration to fully dynamic linked "base" system
To: David Laight <david@l8s.co.uk>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: current-users
Date: 08/26/2002 14:17:54
On Mon, Aug 26, 2002 at 09:10:57PM +0100, David Laight wrote:

 > 	cc -O2 x.c /usr/lib/libc.a -o y
 > 
 > Generates a binary with no unresolved symbols (and it has an ___start)
 > but unfortunately it still has a 'NEEDED' entry for libc.
 > (I haven't tried running it under a copy of ld.elf_so that fails
 > to load libc (yet)).

...because the compiler is still passing -lc to the linker.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>