This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: linking it right.
- To: "Eric Tchepannou" <etchepannou at hotmail dot com>
- Subject: Re: linking it right.
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 02 Mar 2001 13:58:07 -0300
- Cc: gcc-help at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <F188MwVN7miR9Odutox00004548@hotmail.com>
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