Date: Sun, 23 Mar 1997 15:03:26 +0300 (IDT) From: Eli Zaretskii To: zilym AT imap1 DOT asu DOT edu cc: djgpp AT delorie DOT com Subject: Re: gxx -c file.cpp prints out excess crap. In-Reply-To: <5h2vhn$h62@news.asu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 23 Mar 1997 zilym AT imap1 DOT asu DOT edu wrote: > On my Linux box, running g++ -c myfile.cpp compiles the file > without printing any messages (as long as myfile.cpp is correct). But on > DOS/DJGPP, running gxx -c myfile.cpp always prints out: > > gcc.exe: -lgpp: linker input file unused since linking not done gxx is NOT a DOS port of g++; it's an entirely different program. > How do I get gxx/gcc to shut up? Simple: don't use gxx to compile, only to link. Use gcc to compile C++ programs. gxx just calls gcc with additional -lblabla parameters (see above); these aren't needed when compiling, only when linking.