gcc: linker input file unused since linking not done
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