Mail Archives: djgpp/1997/11/14/07:46:15
Ofer Corshid wrote:
>
> Thanking anyone who can and will answer this:
> When I compile my program with "make" after each outputed
> line whilc compiling, line such as:
> gxx -g -c myfile.cc
> I get these 3 messages:
> gcc.exe: -lgpp: linker input file unused since linking not done
> gcc.exe: -lstdcx: linker input file unused since linking ...
> gcc.exe: -lm: linker input file ....
>
> What does this mean?
> How can I avoid this?
all gxx does is to call gcc with the options you specified and link
those libraries. however, by specifying the -c option, you are asking
for linking not to be done. so, instead of using gxx (since you are not
concerned with linking), use
gcc -g -c myfile.cc.
--
----------------------------------------------------------------------
A. Sinan Unur
Department of Policy Analysis and Management, College of Human Ecology,
Cornell University, Ithaca, NY 14853, USA
mailto:sinan DOT unur AT cornell DOT edu
http://www.people.cornell.edu/pages/asu1/
- Raw text -