delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/03/11:56:48

Date: Mon, 3 Feb 1997 18:49:03 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: John Eccleston <johne AT parallax DOT co DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: [Q] C++ linking: Should I be worried?
In-Reply-To: <854975234.266917@red.parallax.co.uk>
Message-ID: <Pine.SUN.3.91.970203184645.27257M-100000@is>
MIME-Version: 1.0

On Mon, 3 Feb 1997, John Eccleston wrote:

> gxx -c -O2 demo.cc
> gcc.exe: -lgpp: linker input file unused since linking not done
> gcc.exe: -lstdcx: linker input file unused since linking not done
> gcc.exe: -lm: linker input file unused since linking not done
>
> Are these messages important or can I just ignore them?  The executable
> that is built seems to work fine?

That's because you use gxx to compile only.  Gxx was written on the
assumption that it is called either to link or to compile and link.  So 
you should compile with gcc and link with gxx if you need to do it in two 
steps.

Anyway, the messages can be ignored.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019