linking it right.
Alexandre Oliva
aoliva@redhat.com
Fri Mar 2 08:58:00 GMT 2001
On Mar 2, 2001, "Eric Tchepannou" <etchepannou@hotmail.com> wrote:
> b - Compilation:
> g++ -c {dc_output|dc_scan|dc_functions}.cpp and then
> g++ -c depcheck.cpp -L../lib -lfamcheck
^^
> this gives me the error messages:
> g++: -lfamcheck : linker input file unused since linking not done.
-c means compile only. You can only specify libraries when linking.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc-help
mailing list