This is the mail archive of the gcc-help@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]

Re: annoying message when compiling but not linking


On Mar 14, 2001, "Deno, Emerson" <Emerson.Deno@blackrock.com> wrote:

> however whenever i compile with the -c option (to avoid linking)
> i get the following message
> cpp: -lang-c++: linker input file unused since linking not done

As a first guess, it would seem that your compiler driver is
mis-installed, and when it looks for the preprocessor within
lib/gcc-lib/<triplet>/<gccversion>, it doesn't find it, so it ends up
running the preprocessor driver in bin/, that complains about this
option.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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