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

Fredrik Stridfeldt stridfeldt@gmail.com
Wed Jan 23 12:09:00 GMT 2008


Lol!
gcc hw.c
hw.c:1:19: stdio.h: No such file or directory

I'll sort it out, thanks for help and all that :)

Best Regards
Fred


On Jan 22, 2008 1:32 PM, Tom St Denis <tstdenis@ellipticsemi.com> wrote:
> 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