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]

Re: EGCS support


* Mark Keates <markk@dendrite.co.uk> on Mon, May 21, 2001:

>  
> 
> 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
   ^^^^^^^^^^^^^^^^
glibc is trying to assemble m68k asm files with your cygwin compiler.

> 
> What's going on???
> 

You need to give glibc the name of your m68k cross-compiler:

CC=m68k-unknown-linux-gcc ../glibc-2.2.2/configure ...

You may also want to look into using "configparms" to specify the names of
all your m68k cross-tools, check the glibc FAQ for more details.  Simply
create a configparms file in your glibc build directory.

Example configparms:
CFLAGS := -O $(CFLAGS)
crts-predefined=yes
build-programs=no
CC=sh4-linux-gcc
RANLIB=sh4-linux-ranlib
AS=sh4-linux-gcc
LD=sh4-linux-ld
AR=sh4-linux-ar
BUILD_CC=gcc

Of course change all the sh4-linux-tool prefixes to match your
configuration, and you probably want BUILD_CC to be i586-pc-cygwin-gcc.

M. R.

------
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]