This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c++ --syntax-only gives error message


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]