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] |
Dear All:
The following errors occured while I compiled
gcc-2.95.2 target on arm-coff:
choose-temp.c:29: stdio.h: No such file or
directory
choose-temp.c:30: sys/types.h: No such file or directory choose-temp.c:32: unistd.h: No such file or directory choose-temp.c:35: stdlib.h: No such file or directory choose-temp.c:38: sys/file.h: No such file or directory make[2]: *** [choose-temp.o] Error 1 make[2]: Leaving directory `/home/pretoria/arm-built/gcc-2.95.2/arm-coff/libiberty' make[1]: *** [all-target-libiberty] Error 2 make[1]: Leaving directory `/home/pretoria/arm-built/gcc-2.95.2' make: *** [cross] Error 2 The process I installed the cross compiler
follows:
$mkdir arm-built
$mkdir arm-bin
$cd arm-built
untar the gcc-2.95.2 and
binutils-2.10
$cd binutile-2.10
$./configure --host=i386-*-linux
--target=arm-coff
--with-gnu-as --with-gnu-ld
--prefix=/home/pretoria/arm-bin
$make
$make install
Now install gcc-2.95.2
$cd ../gcc-2.95.2
$export
PATH=/home/pretoria/arm-bin/bin:$PATH
$./configure --host=i386-*-linux
--target=arm-coff --with-gnu-as --with-gnu-ld
--prefix=/home/pretoria/arm-bin
-v
$make cross LANGUAGES=c
|
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |