Subject: Re: if i wanted to cross compile
To: Ronald Cotoni <setient@vlaxus.cjb.net>
From: John Klos <john@sixgirls.org>
List: port-mac68k
Date: 08/01/2002 14:45:50
Hi,

> i meant recompile the netbsd sources so i can compile stuff on my pentium
> 75 which is undoutably faster than my macintosh LC III

Then just get the 1.6 source tree on the P75, and do this:

cd /usr/src
./build.sh -m mac68k -DESTDIR=/usr/dest-mac68k

Or something similar. The 1.6 tree bootstraps it's own toolchain (very
fancy!) so compiling for other processors is easy. Read the docs at the
top of /usr/src.

You can even put:
M68030=YES
CFLAGS+=-m68030
into /etc/mk.conf so that ssh will use m68030 specific assembly and code
will be compiled specifically for your LC III.

John Klos
Sixgirls Computing Labs