This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc 4.0 Installation issue


Hi all, 
    I am trying to install gcc 4.0 with objdir != srcdir.  And my
configure options are
    
../gcc-4.0.0/gcc/configure --target=mcore-elf
--srcdir=../gcc-4.0.0/gcc --program-suffix="-mcore"
--prefix=/usr/local/gcc4-mcore --with-newlib --with-gnu-as
--with-gnu-ld --enable-targets=mcore-elf --disable-threads
--disable-shared --disable-multilib --disable-threads --with-curses
--enable-languages=c


but this fails complaining about libiberty.a with the following dump 

Can anyone suggest what i can do ??? 

thanks 
drizzle 



TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/sh ../gcc-4.0.0/gcc/mkconfig.sh config.h
TARGET_CPU_DEFAULT="" \
HEADERS="config/dbxelf.h config/elfos.h config/svr4.h
config/mcore/mcore.h config/mcore/mcore-elf.h defaults.h" DEFINES="" \
/bin/sh ../gcc-4.0.0/gcc/mkconfig.sh tm.h
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/sh ../gcc-4.0.0/gcc/mkconfig.sh bconfig.h
gcc -c  -DDONT_HAVE_STDIO -DDONT_HAVE_SETJMP  -Dinhibit_libc  -g
-DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes
 -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -Ibuild -I../gcc-4.0.0/gcc
-I../gcc-4.0.0/gcc/build -I../gcc-4.0.0/gcc/../include
-I../gcc-4.0.0/gcc/../libcpp/include
 \
 -o build/genmodes.o ../gcc-4.0.0/gcc/genmodes.c
gcc -c  -DDONT_HAVE_STDIO -DDONT_HAVE_SETJMP  -Dinhibit_libc  -g
-DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes
 -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -Ibuild -I../gcc-4.0.0/gcc
-I../gcc-4.0.0/gcc/build -I../gcc-4.0.0/gcc/../include
-I../gcc-4.0.0/gcc/../libcpp/include
 \
 -o build/errors.o ../gcc-4.0.0/gcc/errors.c
gmake: *** No rule to make target
`../build-i686-pc-linux-gnu/libiberty/libiberty.a', needed by
`build/genmodes'.  Stop.

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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