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]

Bug in g++ --syntax-only


I was suprised by this:

    creche. g++ --syntax-only foo.cc 
    g++: -lstdc++: linker input file unused because linking not done
    g++: -lm: linker input file unused because linking not done

I think addition of those -l flags should be disabled when
--syntax-only is given.  I find these messages counterintuitive.

Tom

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