This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Egcs cross-compiler test results



I tested egcs snapshots on LINUX slackware 3.3 to make cross compiler.

My tool chain is :
============================================================================
/usr/local/src/binutils-2.8.1.0.15
/usr/local/src/egcs-971031
/usr/local/src/build
============================================================================
'newlib' and 'libgloss' are moved to 'egcs-971031' from 'newlib-1.8.0'.
I applied 'dwarf2out.c' patch from Jeffrey A Law.


My script file at /usr/local/src is
=============================================================================
prefix=/usr/local
host=i386-*-linux

target=$1

gver=egcs-971031

cd build

../binutils-2.8.1.0.15/configure --host=$host --target=$target \
				 --prefix=$prefix -v
make all
make install
rm -rf *

# Make cross tool include dir

mkdir $prefix/$target/include
cp -r ../$gver/newlib/libc/include/*  $prefix/$target/include

../$gver/configure --host=$host --target=$target --prefix=$prefix \
		   --with-gnu-as --with-gnu-ld -v
make all
make install
=============================================================================

Test results are followings

1) Target is m68k-coff  -- Good, No error.

2) Target is sh-elf	-- Error.
   ( egcs earlier version had no error in this target.)
   /usr/local/src/build/gcc/xgcc -B............. -O2 -m3e ..................
   ............./egcs-971031/newlib/libc/stdlib/efgcvt.c
   ..../egcs-971031/newlib/libc/stdlib/efgcvt.c: In function 'gcvtf':
   ..../egcs-971031/newlib/libc/stdlib/efgcvt.c:165: virtual memory exhausted
    
3) Target is mips-elf without libgloss -- Good, No error.

4) Target is mips64-elf without libgloss -- Good, No error.

5) Target is powerpc-elf -- Good, No error.

6) Target is sparc-elf -- Good, No error.

7) Target is i960-coff without libgloss -- Good, No error.

8) Target is a29k-coff without f -- Error.
   ( All of egcs version has same error in this target.)
   /usr/local/src/build/gcc/xgcc -B....................................
   .........../egcs-971031/gcc/cp/new.cc
   /tmp/cca20154.s:Assembler messages
   /tmp/cca20154.s:168:Error Invalid operands
     .............................
   /tmp/cca20154.s:653:Error Invalid operands

9) Target is m88k-coff without f -- Good, No error



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]