c++ --syntax-only gives error message

Tom Tromey tromey@cygnus.com
Wed Oct 11 17:04:00 GMT 2000


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


More information about the Gcc-bugs mailing list