David Diggles <[EMAIL PROTECTED]> wrote: > 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. > > cc -O2 -pipe -DLIBC_SCCS -DSYSLIBC_SCCS -I/usr/src/lib/libc/include > -DAPIWARN -DYP -I/usr/src/lib/libc/yp -D__DBINTERFACE_PRIVATE > -I/usr/src/lib/libc -DRESOLVSORT -DPOSIX_MISTAKE -DFLOATING_POINT -DNLS > -c -fpic -fno-function-cse -DPIC /usr/src/lib/libc/gen/times.c -o times.so > Using $< in a non-suffix rule context is a GNUmake idiom (line 0 of (null)) > *** Error code 2 > > Stop in /usr/src/lib. > *** Error code 1 > > Stop in /usr/src (line 72 of Makefile). > > 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.
Forget it, even the official packages are built native. And if you really want to cross compile, pick an architecture with similiar toolchain, which, in case of mac68k, leaves you with other m68k archs, sparc and vax. In the end, it's not worth it. martin