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] |
Hello Allen, Try: http://handhelds.org/z/wiki/HOWTO%20Build%20a%20Cross%20Toolchain%20in%20Brief --George On Saturday 20 October 2001 13:53, Allen Curtis wrote: > I have searched the mail list and can not find any documented problems of > compiling an arm cross compiler. Any help resolving this would be > appreciated. > > Note: When I tried /usr/src/gnu/build-gcc-2.95.3/gcc/xgcc -c hello.c, I get > a message saying that the file can not be found. Hint? > > Makefile header: > VPATH = ../gcc-2.95.3 > links = > host_alias = i686-pc-linux-gnu > host_cpu = i686 > host_vendor = pc > host_os = linux-gnu > host_canonical = i686-pc-linux-gnu > target_alias = arm-elf > target_cpu = arm > target_vendor = unknown > target_os = elf > target_canonical = arm-unknown-elf > build_alias = i686-pc-linux-gnu > build_cpu = i686 > build_vendor = pc > build_os = linux-gnu > build_canonical = i686-pc-linux-gnu > enable_shared = no > enable_version_specific_runtime_libs = no > gcc_version_trigger = /usr/src/gnu/gcc-2.95.3/gcc/version.c > gcc_version = 2.95.3 > > ------------------------------------------- > > ERRORS: > checking whether the C compiler > (/usr/src/gnu/build-gcc-2.95.3/gcc/xgcc > -B/usr/src/gnu/build-gcc-2.95.3/gcc/ -B/usr/local/arm-elf/bin/ -g -O2 ) > works... no > configure: error: installation or configuration problem: C compiler cannot > create executables. > make[2]: Entering directory `/usr/src/gnu/build-gcc-2.95.3/arm-elf/libio' > if [ x"no" = xyes ] && [ ! -d pic ]; then \ > mkdir pic; \ > else true; fi > touch stamp-picdir > rootme=`pwd`/ ; export rootme; \ > CC="/usr/src/gnu/build-gcc-2.95.3/gcc/xgcc > -B/usr/src/gnu/build-gcc-2.95.3/g cc/ > -B/usr/local/arm-elf/bin/ -I. -I../../../gcc-2.95.3/libio"; export CC; \ > CXX="/usr/src/gnu/build-gcc-2.95.3/gcc/xgcc > -B/usr/src/gnu/build-gcc-2.95.3/ gcc/ -B/usr/local/arm-elf/bin/ -I. > -I../../../gcc-2.95.3/libio -nostdinc++ - nostdinc++ -g -O2"; export CXX; \ > CONFIG_NM="arm-elf-nm"; export CONFIG_NM; \ > /bin/sh ../../../gcc-2.95.3/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 > /usr/src/gnu/build-gcc-2.95.3/gcc/xgcc -B/usr/src/gnu/build-gcc-2.95.3/gcc/ > -B/usr/local/arm-elf/bin/ -I. -I../../../gcc-2.95.3/libio -E on dummy.c > make[2]: *** [_G_config.h] Error 1 > make[2]: Leaving directory `/usr/src/gnu/build-gcc-2.95.3/arm-elf/libio' > make[1]: *** [all-target-libio] Error 2 > make[1]: Leaving directory `/usr/src/gnu/build-gcc-2.95.3' > make: *** [cross] Error 2 > > > > ------ > Want more information? See the CrossGCC FAQ, > http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to > crossgcc-unsubscribe@sourceware.cygnus.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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |