EGCS support
Mark Keates
markk@dendrite.co.uk
Mon May 21 07:01:00 GMT 2001
>
> You have your host and build and target mixed up; You want
> Glibc to run on a m68k therefore target=host=m86k-linux,
> and build=i586-cygwin. You'll probably need to set
> CC=i586-pc-cygwin-gcc before make, too.
>
> Have a look at the "INSTALL" file that comes with glibc, it's
> full of useful things.
>
> Cheers,
> Yves.
>
Thanks for that, I've used this configuration:
/gnu/build-glibc > ../glibc-2.2.2/configure --verbose
--host=m68k-unknown-linux
--target=m68k-unknown-linux --build=i586-pc-cygwin --prefix=/gnu
--with-headers=/gnu/linux/include --enable-add-ons=linuxthreads
But the make process falls over at this part:
/gnu/build-glibc > make 2> err
make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.2.2 objdir=`pwd` all
make[1]: Entering directory `/gnu/glibc-2.2.2'
make -C csu subdir_lib
make[2]: Entering directory `/gnu/glibc-2.2.2/csu'
i686-pc-cygwin-gcc ../sysdeps/unix/sysv/linux/m68k/sysdep.S -c -I../include
-I. -I/gnu/build-glibc/csu -I.. -I../libio -I/gnu/build-glibc
-I../sysdeps/m68k/elf -I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/m68k
-I../sysdeps/unix/sysv/linux/m68k -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/m68k/m68020 -I../sysdeps/m68k/fpu
-I../sysdeps/m68k -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic
-nostdinc -isystem /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-3/include
-isystem /gnu/linux/include -D_LIBC_REENTRANT -include
../include/libc-symbols.h
-DHAVE_INITFINI -DASSEMBLER -I/gnu/build-glibc/csu/. -DMOTOROLA_SYNTAX
-o /gnu/build-glibc/csu/sysdep.o
make[2]: Leaving directory `/gnu/glibc-2.2.2/csu'
make[1]: Leaving directory `/gnu/glibc-2.2.2'
The error file produced looks like this:
/cygdrive/d/TEMP/ccutpHe6.s: Assembler messages:
/cygdrive/d/TEMP/ccutpHe6.s:1024: Warning: .type pseudo-op used outside of
.def/.endef ignored.
/cygdrive/d/TEMP/ccutpHe6.s:1024: Error: Rest of line ignored. First ignored
character is `e'.
/cygdrive/d/TEMP/ccutpHe6.s:1026: Warning: .size pseudo-op used outside of
.def/.endef ignored.
/cygdrive/d/TEMP/ccutpHe6.s:1026: Error: Rest of line ignored. First ignored
character is `e'.
/cygdrive/d/TEMP/ccutpHe6.s:1042: Warning: .type pseudo-op used outside of
.def/.endef ignored.
/cygdrive/d/TEMP/ccutpHe6.s:1042: Error: Rest of line ignored. First ignored
character is `_'.
/cygdrive/d/TEMP/ccutpHe6.s:1043: Error: invalid character '.' in mnemonic
/cygdrive/d/TEMP/ccutpHe6.s:1047: Error: invalid character '.' in mnemonic
/cygdrive/d/TEMP/ccutpHe6.s:1048: Error: no such instruction: `jbsr
__errno_location'
/cygdrive/d/TEMP/ccutpHe6.s:1049: Error: invalid character '.' in mnemonic
/cygdrive/d/TEMP/ccutpHe6.s:1051: Error: invalid character '.' in mnemonic
/cygdrive/d/TEMP/ccutpHe6.s:1054: Error: invalid character '.' in mnemonic
/cygdrive/d/TEMP/ccutpHe6.s:1055: Error: no such instruction: `rts'
/cygdrive/d/TEMP/ccutpHe6.s:1056: Warning: .size pseudo-op used outside of
.def/.endef ignored.
/cygdrive/d/TEMP/ccutpHe6.s:1056: Error: Rest of line ignored. First ignored
character is `_'.
make[2]: *** [/gnu/build-glibc/csu/sysdep.o] Error 1
make[1]: *** [csu/subdir_lib] Error 2
make: *** [all] Error 2
What's going on???
Thanks,
Mark
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list