This is the mail archive of the crossgcc@sourceware.org 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]

cygwin to m68000 cross compiler


I'm trying to make a Cygwin to m68000-unknown-coff cross compiler with newlib (for a 68vz328). I've built 2.16 binutils as follows:

# bld-binutils.sh
# Run me first.

export TARGET=m68k-coff
export PREFIX=/usr/local/m68k-4.3.2
export PATH=$PREFIX/bin:$PATH

if [ ! -d bld-binutils ] ; then mkdir bld-binutils ; fi
rm -r bld-binutils/*
tar jxvf binutils-2.16.tar.bz2

cd binutils-2.16
make distclean
cd ..

cd bld-binutils
../binutils-2.16/configure --target=$TARGET --prefix=$PREFIX 2>&1 | tee config.log
make all install 2>&1 | tee make.log
cd ..



I understand the gcc 4.3.2 requires GMP and MPFR so I'm trying to build GMP as follows:




# bld-gmp.sh
# Run me 2ond.

export PREFIX=/usr/local/m68k-4.3.2
export PATH=$PREFIX/bin:$PATH

if [ ! -d bld-gmp ] ; then mkdir bld-gmp ; fi
rm -r bld-gmp/*
tar jxvf gmp-4.2.tar.bz2

cd bld-gmp
../gmp-4.2/configure --build=i686-pc-cygwin --host=m68000-unknown-coff --prefix=$PREFIX 2>&1 | tee config.log
make all install 2>&1 | tee make.log
cd ..



Configure dies with the following error:




checking assembler instruction and register style... configure: error: cannot determine assembler instruction and register style



Help. Thanks.


-- For unsubscribe information see http://sourceware.org/lists.html#faq


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