Re: Help with gcc partial link (option -ar)

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

 



On 02/22/2011 05:32 PM, horseloverFat wrote:

Cedric, it acts as if the types and variables that were defined in the 2
input files (I named them file1.o and file2.o) were not declared anywhere.
Namely, running:

ld output.o file3.o

yeilds the same results as simply running:

ld file3.o

what results? errors? what messages does ld print?
Maybe a full example would be easier to diagnose
for people on this mailing list.

Cedric Roux-4 wrote:

On 02/22/2011 04:47 PM, horseloverFat wrote:

Thanks a lot for your help,
yet I already tried that, but simply running "ar" doesn't seem to
generate
the appropriate output for the
final link stage.

How does the link stage fails? what errors do you get?






[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux