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] |
I try to install a cross compiler for "arm-9-elf" as target and "i686-pc-cygwin" as host. here is the steps i followed: *install of "binutils-2.12" mkdir buildbin cd buildbin ../binutils-2.12/gonfigure --target=arm-9-elf make make install all of these command were succesfull. *install of "gcc-core-2.95.2" mkdir buildgcc1 cd buildgcc1 ../gcc-2.95.2/configure --target=arm-9-elf (this command pass succesfully ) but for the command "make" it gives me two ERROR. here is the end of the result of make: **************************** checking for sys/wait.h that is POSIX.1 compatible... no checking whether the C compiler (/tmp/buildgcc/gcc/xgcc -B/tmp/buildgcc/gcc/ -B/ usr/local/arm-9-elf/bin/ -g -O2 ) works... no configure: error: installation or configuration problem: C compiler cannot creat e executables. make[1]: Entering directory `/tmp/buildgcc/arm-9-elf/libio' if [ x"no" = xyes ] && [ ! -d pic ]; then \ mkdir pic; \ else true; fi touch stamp-picdir rootme=`pwd`/ ; export rootme; \ CC="/tmp/buildgcc/gcc/xgcc -B/tmp/buildgcc/gcc/ -B/usr/local/arm-9-elf/bin/ -I. -I../../../gcc-2.95.2/libio"; export CC; \ CXX="/tmp/buildgcc/gcc/xgcc -B/tmp/buildgcc/gcc/ -B/usr/local/arm-9-elf/bin/ -I. -I../../../gcc-2.95.2/libio -nostdinc++ -nostdinc++ -g -O2"; export CXX; \ CONFIG_NM="arm-9-elf-nm"; export CONFIG_NM; \ /bin/sh ../../../gcc-2.95.2/libio/gen-params LIB_VERSION=2.8.0 >tmp-params.h /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccAvyGDE.s: Assembler messages: /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccAvyGDE.s:69: Warning: rest of line ignored; first ignored character is `,' 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 /tmp/buildgcc/gcc/xgcc -B/tmp/buildgcc/gcc/ -B/usr/ local/arm-9-elf/bin/ -I. -I../../../gcc-2.95.2/libio -E on dummy.c make[1]: *** [_G_config.h] Error 1 make[1]: Leaving directory `/tmp/buildgcc/arm-9-elf/libio' make: *** [all-target-libio] Error 2 *************************** i pass and execute the command make install. * install of newlib was succesfull: mkdir buildnew cd buildnew ../newlib-1.10.0/configure --target=arm-9-elf make make install * install of gcc-3.0.4: mkdir buildgcc2 cd buildgcc2 ../gcc-3.0.4/configure --target=arm-9-elf make make install here also the command "make install" gives me two ERROR. here is the end of the result of make install: ************************** make[2]: Leaving directory `/tmp/buildgcc304/gcc/po' if [ -f gcc-cross.exe ] ; then \ rm -f /usr/local/bin/`t='s,^,arm-9-elf-,'; echo gcc | sed -e $t`.exe; \ /bin/sh /tmp/gcc-3.0.4/install-sh -c gcc-cross.exe /usr/local/bin/`t='s,^,arm -9-elf-,'; echo gcc | sed -e $t`.exe; \ if [ -d /usr/local/lib/gcc-lib/arm-9-elf/3.0.4/../../../../arm-9-elf/bin/. ] ; then \ rm -f /usr/local/lib/gcc-lib/arm-9-elf/3.0.4/../../../../arm-9-elf/bin/gcc.e xe; \ /bin/sh /tmp/gcc-3.0.4/install-sh -c gcc-cross.exe /usr/local/lib/gcc-lib/a rm-9-elf/3.0.4/../../../../arm-9-elf/bin/gcc.exe; \ else true; fi; \ else \ rm -f /usr/local/bin/`t='s,x,x,'; echo gcc | sed -e $t`.exe; \ /bin/sh /tmp/gcc-3.0.4/install-sh -c xgcc.exe /usr/local/bin/`t='s,x,x,'; ech o gcc | sed -e $t`.exe; \ rm -f /usr/local/bin/arm-9-elf-gcc-1.exe; \ ln /usr/local/bin/`t='s,x,x,'; echo gcc | sed -e $t`.exe /usr/local/bin/arm-9- elf-gcc-1.exe; \ mv /usr/local/bin/arm-9-elf-gcc-1.exe /usr/local/bin/arm-9-elf-gcc.exe; \ fi make[1]: Leaving directory `/tmp/buildgcc304/gcc' make[1]: Entering directory `/tmp/buildgcc304/fastjar' make[2]: Entering directory `/tmp/buildgcc304/fastjar' /bin/sh ../../gcc-3.0.4/fastjar/mkinstalldirs /usr/local/bin /bin/sh /tmp/gcc-3.0.4/install-sh -c jar /usr/local/bin/jar chmod: changing permissions of `/usr/local/bin/#inst.1360#': No such file or dir ectory make[2]: *** [install-binPROGRAMS] Error 1 make[2]: Leaving directory `/tmp/buildgcc304/fastjar' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/tmp/buildgcc304/fastjar' make: *** [install-fastjar] Error 2 *********************************** i have tried to specify the include directory, but the same errors appear. Does anyone have any clues? Any help would be sincerely appreciated. Thanks in advance. zemmouri el moukhtar student email: ezemouri at yahoo dot fr ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe at sources dot redhat dot com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |