This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++ --syntax-only gives error message
- To: Gcc Bug List <bug-gcc at gnu dot org>
- Subject: c++ --syntax-only gives error message
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 11 Oct 2000 18:11:53 -0600
- Reply-To: tromey at cygnus dot com
I used `c++ --syntax-only' and got this:
creche. c++ --syntax-only foo.cc
c++: -lstdc++: linker input file unused since linking not done
c++: -lm: linker input file unused since linking not done
I don't think it should give these errors in this situation.
Maybe some spec should be conditional but isn't?
This is:
creche. c++ -v
Reading specs from /x1/egcs/install/lib/gcc-lib/i686-pc-linux-gnu/2.97/specs
gcc version 2.97 20001005 (experimental)
I'm running it on x86 Red Hat Linux 6.2.
Tom