Subject: Re: gcc -nostdlib and shared libs
To: Cherry G. Mathew <>
From: Todd Vierling <>
List: tech-toolchain
Date: 03/14/2005 19:54:13
On Tue, 15 Mar 2005, Cherry G. Mathew wrote:

> I'm trying to get an elf binary with .dynamic and friends available
> and _DYNAMIC defined properly. ( Essentially a shared obj. ) It looks
> like doing LDFLAGS +=  -nostdlib makes linking static.

Why does -shared (without -nostdlib) not work for you?

-- Todd Vierling <> <>