Subject: Re: Remote compiles (Re: Netscape)
To: Dave Huang <khym@bga.com>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 04/08/1998 09:37:20
On Tue, 7 Apr 1998, Dave Huang wrote:

[how to cross-compile]

> Anyways, 	basically you download binutils (2.8.1 is the latest, I think)
> from prep.ai.mit.edu or a GNU mirror. configure --target=m68k-netbsd,
> then make and install it. Do the same for gcc (also at version 2.8.1,
> but 2.7.2.x might be a bit easier to work with). If you're gonna be
> compiling stuff other than kernels, you'll need to install include files
> and libraries (i.e. the comp and maybe xcomp sets) in
> /usr/local/m68k-netbsd/include and lib. Now you can set
> CC=m68k-netbsd-gcc (and maybe LD=m68k-netbsd-ld, AS=m68k-netbsd-as,
> etc...) and try to compile something :) Or put
> /usr/local/m68k-netbsd/bin first in your path, and just use plain gcc,
> et al.

Don't forget that the GNU tools don't know how to deal with our shared
libraries. Everything will have to be staticly linked.

Take care,

Bill