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

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

 



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

Ian, if that option did not exist I would have recevied an error message on
the command I issued, wouldn't I?



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?
> 
> 

-- 
View this message in context: http://old.nabble.com/Help-with-gcc-partial-link-%28option--ar%29-tp30983560p30987337.html
Sent from the gcc - Help mailing list archive at Nabble.com.



[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