This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Compilation error...
- To: admin at heavywater dot net (Timothy A. Chandler)
- Subject: Re: Compilation error...
- From: hjl at lucon dot org (H.J. Lu)
- Date: Mon, 8 Sep 1997 23:37:13 -0700 (PDT)
- Cc: egcs at cygnus dot com
>
>
> 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.