From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Unclear Error Message Date: Sun, 09 Nov 1997 13:22:15 -0500 Organization: Cornell University http://www.cornell.edu Lines: 28 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <3465FF57.A74ECA26@cornell.edu> References: <34666FFC DOT 6916 AT cs DOT huji DOT ac DOT il> NNTP-Posting-Host: cu-dialup-0020.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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/