Mail Archives: djgpp/1997/02/04/17:39:23
John Eccleston (johne AT parallax DOT co DOT uk) wrote:
: Hi All,
: -----> Messages <-----
: 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
: Could someone please explain what 'linker input file unused since linking
: not done' means.
This is working just fine. In the make file, it first compiles each file
seperately (gxx -c -O2 demo.cc). The '-c' option comples that file to an
object file (demo.o), not to an executable file (demo.exe). Only after all
the files all compiled into object files are they linked together into an
executable file. The messages (above) that you are getting are just
telling you that the linker isn't being used for that particular
compilation (whenever the '-c' option is used). They are not error
messages and are nothing to worry about. In fact, that is what should happen.
JL
- Raw text -