Subject: Re: Compiling
To: Daniel =?iso-8859-1?Q?D=EDaz?= <al590349@mail.mty.itesm.mx>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-next68k
Date: 10/16/2002 21:39:32
On Wed, Oct 16, 2002 at 12:33:04AM -0500, Daniel Díaz wrote:
> > The NetBSD tree itself is entirely cross-compilable. It'd help to be
> > running NetBSD on your i386 box, but it's by no means a necessity.
> > (You'll definitely need to have a real compilation environment,
> > though. Which means "install {Net,Free,Open}BSD/Linux/BeOS/whatever
> > or pay a lot of money".)
> > 
> > Have a look at src/BUILDING for details on that.
> 
> I couldn't find that file on my tree. I will keep looking for it.
> 
> > If you want to cross-compile packages, you're probably out of luck;
> > most of pkgsrc is not (nor can it ever be made to be) cross-
> > compilable. (These are problems with the vendor's original source,
> > not with the pkgsrc system as such.)
> 
> Well, since my netbsd is netbooted from a Linux server, I was kinda hoping I
> could use my gcc to produce the binaries faster. (I was thinking of using samba
> for mounting my slab in the Linux PC, and then chroot to that directory, and
> then use gcc with the appropriate settings.)
> 
> Could you or someone else confirm this is/is not possible?

it's probably possible, but will not be easy to do. The NetBSD source
tree is cross-buildable, but most of third-party software are not,
unfortunably.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--