This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB 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]

No rule to make target `gcc'


I've just checked out the HEAD sources from CVS (about 2:00 UTC on
Dec. 5) and the compilation fails this way:


checking for working const... (cached) yes
creating ./config.status
creating Makefile
cd spu && make "CC=gcc" "CFLAGS=-g -O2" "AR=ar" "AR_FLAGS=rc" "AS=as" "CROSS_CFLAGS=" "TARGET_CFLAGS=" "INCLUDES=" all
make[2]: Entering directory `/home/ps/extcvs/gdb/src/utils/spu'
gcc -c -I. -I.././spu -I.././spu/config -I.././spu/../../include -g -O2 .././spu/spu.c
gcc -g -O2 -o spu spu.o
make[2]: Leaving directory `/home/ps/extcvs/gdb/src/utils/spu'
make[1]: Leaving directory `/home/ps/extcvs/gdb/src/utils'
make: *** No rule to make target `gcc', needed by `i686-pc-linux-gnu/libiberty/multilib.out'.  Stop.


I checked out 'src', then ran ./configure with only a --prefix option,
then ran make.


My system:

    RedHat        7.2
    gcc           2.96-112.7.2
    glibc         2.2.4-31
    libstdc++     2.96-112.7.2
    libtool       1.4.2-7.ximian.1

'which gcc' returns /usr/bin/gcc;
'/usr/bin/gcc --version' returns 2.96.

-- 
Pierre Sarrazin <sarrazip at sympatico dot ca>


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