This is the mail archive of the gcc@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]

Re: Compilation error...


> 
> 
> Ok I give, I have tried to compile egcs-970907 somewhere around 50 times
> now and everytime I get the same error:
> 
> gcc  -DIN_GCC   -DUSE_GNULIBC_1 -g -O2  -DHAVE_CONFIG_H     -I. -I. -I./config  \
> -DTARGET_MACHINE=\"i586-pc-linux-gnulibc1\"  \
> -c `echo ./collect2.c | sed 's,^\./,,'`
> cpp: Usage: /usr/lib/gcc-lib/i586-unknown-linux-gnulibc1/2.7.2.3/cpp
> [switches] input output
> make[1]: *** [collect2.o] Error 1
> make[1]: Leaving directory `/usr/src/egcs-970907/gcc'
> make: *** [all-gcc] Error 2
> 
> I have tried everything to get this to compile, from reinstalling gnu-cc
> bins to recompiling libc5, nada it still pukes on compile when it tries to
> pass collect2.c to cpp.

Could you please send me your

# echo $PATH

You seem to have '.' in front of system paths, which is a bad
itself.


H.J.


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