Mail Archives: djgpp/1997/03/23/07:14:14
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.
- Raw text -