Incremental linking
Ian Lance Taylor
ian@cygnus.com
Fri Apr 10 12:35:00 GMT 1998
From: hjl@lucon.org (H.J. Lu)
Date: Fri, 10 Apr 1998 07:49:37 -0700 (PDT)
> However, the desired use for this relinkable file is to be able to say
> something like:
>
> gcc relinkable.o module1.o module2.o ... -o my_proggy
>
> Where module1.o and module2.o may already be in the relinkable.o file, but
> because they've been specified on the command line, the symbols in those
> module*.o files override the symbols in the relinkable.o file. Is there a
> way to get ld to behave this way? Or was that half of the incremental
I am not sure. I think it is a linker bug.
As others have also said, this is not a linker bug. This is expected
behaviour.
Ian
More information about the Gcc
mailing list