Skip to contentSkip to conversation

gcc: linker input file unused since linking not done

DISCUSSION Mathur, Shobhit 1 participant 1 message Mar 20, 2003

lore
Share & tools
lore
#0 lore raw

Hello,

I am facing a problem in compiling my source code with the library [static library ], which I have created.
Upon specifying the appropriate Include-paths, Lib-paths, and the appropriate ".a" to which the programs
should link, I get the error from gcc as mentioned in the subject :

gcc: -ltcfg: linker input file unused since linking not done

where, ltcfg points to libtcfg.a, which is a static library generated by me, whose path is specified by the "-L" directive.

I would like to know why the above message appears from gcc. If so, what is the remedy to this problem ?

- Please do let me know what is missing

- Thank you

- Shobhit