static library unresolved symbols

Riccardo Manfrin riccardomanfrin@gmail.com
Tue Jun 18 10:40:00 GMT 2013


I'm inspecting a static library with nm, and I see that the tool 
provides me with the unresolved symbols of a file foo.o even though 
those symbols are defined in file zoo.o and both are included in the 
static library (ar rcs libmy.a zoo.o foo.o).

How can I ask nm to resolve these symbols if they can be found within 
the files of the archive and just report me about the other not resolved?
Thanks
R



More information about the Gcc-help mailing list