[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cross compiling 3.8-stable on i386 for mac68k



I have a source tree for 3.8-stable, updated using cvsup.  Have
successfully used this source tree to do a 'make build' for i386,
however, when I attempt the first step for cross compiling for mac68k:
( cd /usr/src; make TARGET=mac68k cross-distrib )

It hangs at the following:
(cd /usr/src/gnu/usr.bin/binutils;  MAKEOBJDIR=obj.i386.mac68k
TARGET_ARCH=`cat /usr/cross/mac68k/TARGET_ARCH`  make -f
Makefile.bsd-wrapper depend &&  MAKEOBJDIR=obj.i386.mac68k
TARGET_ARCH=`cat /usr/cross/mac68k/TARGET_ARCH`  make -f
Makefile.bsd-wrapper all &&  DESTDIR=/usr/cross/mac68k
MAKEOBJDIR=obj.i386.mac68k  make -f Makefile.bsd-wrapper install)
# Nothing here so far...
make: don't know how to make gas/doc/as.cat1. Stop in
/usr/src/gnu/usr.bin/binutils.
*** Error code 2

Stop in /usr/src (line 131 of Makefile.cross).

Any suggestions on what I could edit (perhaps in
/usr/src/gnu/usr.bin/binutils/Makefile.bsd-wrapper) to make this work?

I have moved the same source tree over to the quadra 700 machine using
rsync, and attempted a build on there too, but it hangs during libc.  On
that same machine, I had previously attempted it with a anon cvs
obtained src tree for 3.8-stable and the same hang happens, so something
seems to be not right.  I am well aware that in
http://www.openbsd.org/faq/faq5.html it states "Compiling your own
system as a way of upgrading it is not supported.", however, it is the
most convenient way for me at this time, as for starters, it is a
headless machine.  Ideally I would like to get cross compiling working,
as it takes forever to native compile mac68k on the quadra, let alone
the se/30.

Any advice to help to get this working would be greatly appreciated.

.d.d.