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]
Other format: [Raw text]

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


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


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