unrecognized command line option "-c" and "-pipe"

Tom St Denis tstdenis@ellipticsemi.com
Wed Jan 23 06:48:00 GMT 2008


Fredrik Stridfeldt wrote:
> ---------- Forwarded message ----------
> From: Fredrik Stridfeldt <stridfeldt@gmail.com>
> Date: Jan 22, 2008 1:23 PM
> Subject: Re: unrecognized command line option "-c" and "-pipe"
> To: Andrew Haley <aph@redhat.com>
>
>
> Same errormsg occur when i just run the gcc "by hand".
>
> If i remove the "-pipe" from Makefile iam left with: (ofc not a correct fix)
> gcc: error: unrecognized command line option "-c"
>
> Code can be found at:
> http://search.cpan.org/~dparis/Crypt-DES-2.05/ if someone would like to try.
>
> Iam stuck :(
>   

Try doing "which gcc", should get something like /usr/bin/gcc

I'm partially thinking there is another gcc in your path.  Can you 
compile a hello world app?

Tom



More information about the Gcc-help mailing list