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] |
Purpose: Build these cross-compilers 1) for Motorola ColdFire MCF5272 big endian 2) for Motorola PowerPC MPC823 big endian My hardware: CPU = GenuineIntel - Pentium III (Coppermine) - FREQ=1004MHz memory = 512 MB hdc = FUJITSU MPB3021ATU - ATAPI/IDE 2 GB hdb = SAMSUNG SV0842D - ATAPI/IDE 8 GB hda = QUANTUM FIREBALLP AS40.0 - ATAPI/IDE 40 GB only hdb used for Linux Mandrake 8.0 I have operated in this manner: mkdir /home/pr ;my home cd /home/pr ;move into home mkdir tools ;home for pakages mkdir tmp ;temporary directory mkdir ./usr/m68k ;home for m68k cross-compiler & tools mkdir ./usr/mppc ;home for powerpc cross-compiler & tools then I have copied in /home/pr/tool these pakages: binutils-2.11.90.0.8.tar.gz newlib-1.9.0.tar.gz gcc-3.0.1.tar.gz gdb-5.0.tar.gz and the: build-crossgcc.sh ;from Bill Gatliff with: TARDIR=/home/pr/tools PREFIX=/home/pr/usr/m68k TARGET=m68k-coff ;for m68k cross-compiler TARDIR=/home/pr/tools PREFIX=/home/pr/usr/mppc TARGET=powerpc-eabi ;for powerpc cross-compiler Then I have issued these commands for m68k: cd /home/pr/tmp sh /home/pr/tools/build-crossgcc --prefix=/home/pr/usr/m68k --target=m68k-coff &2>1 | tee m68k-build.log and these commands for powerpc: cd /home/pr/tmp sh /home/pr/tools/build-crossgcc --prefix=/home/pr/usr/mppc --target=powerpc-eabi &2>1 | tee mppc-build.log The two log files have an huge dimension as: m68k-build.log > 2.3 MB mppc-build.log > 5.6 MB Two reduced files of these logs are included as attachments to this mail. The first log file ends as below: ...omissis... checking build system type... i686-pc-linux-gnu checking for m68k-coff-ar... (cached) m68k-coff-ar checking for m68k-coff-ranlib... (cached) m68k-coff-ranlib checking for gcc... (cached) /home/pr/tools/build-gcc/gcc/xgcc -B/home/pr/tools/build-gcc/gcc/ -B/home/pr/usr/m68k/m68k-coff/bin/ -B/home/pr/usr/m68k/m68k-coff/lib/ -isystem /home/pr/usr/m68k/m68k-coff/include checking whether we are using GNU C... (cached) yes checking whether /home/pr/tools/build-gcc/gcc/xgcc -B/home/pr/tools/build-gcc/gcc/ -B/home/pr/usr/m68k/m68k-coff/bin/ -B/home/pr/usr/m68k/m68k-coff/lib/ -isystem /home/pr/usr/m68k/m68k-coff/include accepts -g... (cached) yes checking for POSIXized ISC... no checking for working const... yes checking for inline... inline checking for a BSD compatible install... (cached) /usr/bin/install -c checking how to run the C preprocessor... (cached) /home/pr/tools/build-gcc/gcc/xgcc -B/home/pr/tools/build-gcc/gcc/ -B/home/pr/usr/m68k/m68k-coff/bin/ -B/home/pr/usr/m68k/m68k-coff/lib/ -isystem /home/pr/usr/m68k/m68k-coff/include -E checking for sys/file.h... yes checking for sys/param.h... yes checking for limits.h... yes checking for stdlib.h... yes checking for string.h... yes checking for unistd.h... yes checking for strings.h... no checking for sys/time.h... yes checking for time.h... yes checking for sys/resource.h... yes checking for sys/stat.h... yes checking for sys/mman.h... no checking for fcntl.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking whether errno must be declared... no checking whether the C compiler (/home/pr/tools/build-gcc/gcc/xgcc -B/home/pr/tools/build-gcc/gcc/ -B/home/pr/usr/m68k/m68k-coff/bin/ -B/home/pr/usr/m68k/m68k-coff/lib/ -isystem /home/pr/usr/m68k/m68k-coff/include -g -O2 ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. make: *** [configure-target-libiberty] Error 1 the latter ends as below: /home/pr/tools/build-gcc/gcc/xgcc -B/home/pr/tools/build-gcc/gcc/ -nostdinc++ -L/home/pr/tools/build-gcc/powerpc-eabi/nof/libstdc++-v3/src -L/home/pr/tools/build-gcc/powerpc-eabi/nof/libstdc++-v3/src/.libs -B/home/pr/usr/mppc/powerpc-eabi/bin/ -B/home/pr/usr/mppc/powerpc-eabi/lib/ -isystem /home/pr/usr/mppc/powerpc-eabi/include -msoft-float -mrelocatable-lib -mno-eabi -mstrict-align -I../../../../../gcc-3.0.1/libstdc++-v3/../gcc -I../../../../../gcc-3.0.1/libstdc++-v3/../include -I/home/pr/tools/build-gcc/powerpc-eabi/nof/libstdc++-v3/include/powerpc-eab i -I/home/pr/tools/build-gcc/powerpc-eabi/nof/libstdc++-v3/include -I../../../../../gcc-3.0.1/libstdc++-v3/libsupc++ -g -O2 -msoft-float -mrelocatable-lib -mno-eabi -mstrict-align -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -g -c ../../../../../gcc-3.0.1/libstdc++-v3/libsupc++/new_op.cc -o new_op.o /home/pr/tmp/ccQvYUm9.s: Assembler messages: /home/pr/tmp/ccQvYUm9.s:234: Error: Relocation cannot be done when using -mrelocatable make[6]: *** [new_op.lo] Error 1 make[6]: Leaving directory `/home/pr/tools/build-gcc/powerpc-eabi/nof/libstdc++-v3/libsupc++' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/home/pr/tools/build-gcc/powerpc-eabi/nof/libstdc++-v3' make[4]: *** [all-recursive-am] Error 2 make[4]: Leaving directory `/home/pr/tools/build-gcc/powerpc-eabi/nof/libstdc++-v3' make[3]: *** [multi-do] Error 1 make[3]: Leaving directory `/home/pr/tools/build-gcc/powerpc-eabi/libstdc++-v3' make[2]: *** [all-multi] Error 2 make[2]: Leaving directory `/home/pr/tools/build-gcc/powerpc-eabi/libstdc++-v3' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/pr/tools/build-gcc/powerpc-eabi/libstdc++-v3' make: *** [install-target-libstdc++-v3] Error 2 Question: Why these errors? Thanks from Paolo Romanin - Verona - North Italy
------ 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] |