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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---------- Forwarded message ----------
From: Fredrik Stridfeldt <stridfeldt@xxxxxxxxx>
Date: Jan 22, 2008 1:23 PM
Subject: Re: unrecognized command line option "-c" and "-pipe"
To: Andrew Haley <aph@xxxxxxxxxx>


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 :(

Best regards
Fred


On Jan 22, 2008 12:36 PM, Andrew Haley <aph@xxxxxxxxxx> wrote:
>
> Fredrik Stridfeldt wrote:
> > Hello!
> >
> > Trying to install a Perl module called Crypt::DES, when i run make
> > (the perl Makefile.PL creates Makefile w/o problem),
> > i get the following errors.
> >
> > make
> > gcc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing
> > -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> > -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4
> > -DVERSION=\"2.05\" -DXS_VERSION=\"2.05\" -fPIC
> > "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE"   DES.c
> > gcc: error: unrecognized command line option "-c"
> > gcc: error: unrecognized command line option "-pipe"
> > gcc: error: unrecognized command line option "-pipe"
> >
> > Version of gcc:
> >  gcc --version
> > GNU C version 3.4.6 20060404 (Red Hat 3.4.6-9) (i386-redhat-linux)
> > compiled by GNU C version 3.4.6 20060404 (Red Hat 3.4.6-9).
> > GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129322
> >
> > Obviously gcc cant recognize "-c" and "-pipe"??
> >
> > Anyone have any pointers of what i can do to make this work (update gcc?)
> > Hope i get some respons in this forum ;:)
>
> This is bizarre.  What heppens when you use gcc on its own, without "make" ?
>
> Just cd to the appropriate directory and try the same command by hand.
>
> Andrew.
>
>
>

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux