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'm trying to build/install a cross compiler where: host=sparc-sun-solaris2.7 target=mips-elf prefix=/home/me/usr/mips binutils-2.11.2 gcc-3.0.3 glibc-2.2.4 gdb-5.1 I'm following the recipe given in section 4.1 of the CrossGCC FAQ. Q1: What is considered the ``standard'' directory structure when installing my own (not for the system) compiler. When installing my own apps I normally use /home/me/usr/local/. Should I use /home/me/usr/mips/ for my new cross compiler? Q2: I'm able to install the binutils, but when it comes time to instal gcc, after ``make all install'' I get: ... /tmp/build-cross/build-gcc/gcc/xgcc -B/tmp/build-cross/build-gcc/gcc/ -B/home/me/usr/mips//mips-elf/bin/ -B/home/me/usr/mips//mips-elf/lib/ -isystem /home/me/usr/mips//mips-elf/include -O2 -DCROSS_COMPILE -DIN_GCC -DSVR4 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -G 0 -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-3.0.3/gcc -I../../gcc-3.0.3/gcc/. -I../../gcc-3.0.3/gcc/config -I../../gcc-3.0.3/gcc/../include -DL_m16addsf3 -xassembler-with-cpp -c ../../gcc-3.0.3/gcc/config/mips/mips16.S -o libgcc/./_m16addsf3.o xgcc: installation problem, cannot exec `mips-tfile': No such file or directory *** Error code 1 make: Fatal error: Command failed for target `libgcc/_m16addsf3.o' Current working directory /tmp/build-cross/build-gcc/gcc *** Error code 1 make: Fatal error: Command failed for target `stmp-multilib' Current working directory /tmp/build-cross/build-gcc/gcc *** Error code 1 make: Fatal error: Command failed for target `all-gcc' I got this error before and after I set GCC_EXEC_PREFIX to /home/me/usr/mips/. I tried this after reading, but not understanding, section 5.1 of FAQ. Would I get this error if make was not working correctly (I'm on Solaris)? The man page seems to indicate support for VPATH. Thanks, Jason _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com ------ 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] |