Compiling GCC 2.95.1 for m68k-coff Cross Compiler
Guy Préfontaine
guypref@mendes-inc.com
Fri Oct 22 08:38:00 GMT 1999
Hello,
I need help. This is the compilation errorÃÂ :
Configuring in m68k-coff/libiberty
loading cache ./config.cache
checking host system type... m68k-unknown-coff
checking build system type... i686-pc-linux-gnu
checking for m68k-coff-ar... m68k-coff-ar
checking for m68k-coff-ranlib... m68k-coff-ranlib
checking for gcc... /home/Compile/build-gcc/gcc/xgcc
-B/home/Compile/build-gcc/g
cc/ -B/usr/gnu/m68k-coff/bin/
checking whether we are using GNU C... yes
checking whether /home/Compile/build-gcc/gcc/xgcc
-B/home/Compile/build-gcc/gcc/
-B/usr/gnu/m68k-coff/bin/ accepts -g... yes
checking for POSIXized ISC... no
checking for a BSD compatible install... /usr/bin/install -c
xhost-mkfrag is unchanged
checking how to run the C preprocessor... /lib/cpp
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for sys/resource.h... yes
checking for sys/wait.h that is POSIX.1 compatible... no
checking whether the C compiler (/home/Compile/build-gcc/gcc/xgcc
-B/home/Compil
e/build-gcc/gcc/ -B/usr/gnu/m68k-coff/bin/ -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler
cannot creat
e executables.
make[1]: Entering directory `/home/Compile/build-gcc/m68k-coff/libio'
rootme=`pwd`/ ; export rootme; \
CC="/home/Compile/build-gcc/gcc/xgcc -B/home/Compile/build-gcc/gcc/
-B/usr/gnu/m
68k-coff/bin/ -I. -I../../../gcc/libio"; export CC; \
CXX="/home/Compile/build-gcc/gcc/xgcc -B/home/Compile/build-gcc/gcc/
-B/usr/gnu/
m68k-coff/bin/ -I. -I../../../gcc/libio -nostdinc++ -nostdinc++ -g -O2";
export
CXX; \
CONFIG_NM="m68k-coff-nm"; export CONFIG_NM; \
/bin/sh ../../../gcc/libio/gen-params LIB_VERSION=2.8.0 >tmp-params.h
dummy.c:1: sys/types.h: No such file or directory
dummy.c:8: stdio.h: No such file or directory
dummy.c:9: time.h: No such file or directory
dummy.c:10: signal.h: No such file or directory
gen-params: could not invoke /home/Compile/build-gcc/gcc/xgcc
-B/home/Compile/bu
ild-gcc/gcc/ -B/usr/gnu/m68k-coff/bin/ -I. -I../../../gcc/libio -E on
dummy.c
make[1]: *** [_G_config.h] Error 1
make[1]: Leaving directory `/home/Compile/build-gcc/m68k-coff/libio'
make: *** [all-target-libio] Error 2
I tried different way like likeÃÂ :
Geir Harris Hedemark [geir@dod.no] saidÃÂ :
You will need to say
mkdir /portal/apps3/gnu_compiler/build/arm-coff/sys-include
to resolve the error you have already gotten yourself into, and
mkdir /portal/apps3/gnu_compiler/build/arm-coff/include
touch /portal/apps3/gnu_compiler/build/arm-coff/include/unistd.h
to resolve the one you will run into next.
I sent this description to the CrossGCC faq maintainer
yesterday.
By replacing in my space for my target.
Doesn't work
Copy include directory in /home/Compile/build-gcc/m68k-coff
Doesn't work
Merci ÃÂ l'avance,
Guy Préfontaine
Guypref@mendes-inc.com
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list