This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: annoying message when compiling but not linking
- To: "Deno, Emerson" <Emerson dot Deno at blackrock dot com>
- Subject: Re: annoying message when compiling but not linking
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 15 Mar 2001 00:59:35 -0300
- Cc: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Organization: GCC Team, Red Hat
- References: <0132D06F0EF0D311A3E6009027BA1EA9069AAEDA@BRNYC-EXCH02>
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