[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Forced Linking

From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Forced Linking
Date: Fri, 7 Mar 2003 17:20:38 +0100
User-agent: Mutt/1.2.5i

As Keith Gudger wrote:

> Thanks.  I tried that, and it didn't work.

I see why it doesn't work: the undefined symbol itself is always
satisfied by the weak symbol definition from the crt*.o file, so the
possible (non-weak) later definition from the .a file is not needed,
thus the object is never loaded from the .a.

Then i think there's no chance to force it to pull the .o file out of
the archive (except of the mentioned --whole-archive).

J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]