Subject: Re: CVS commit: pkgsrc/doc/guide/files
To: Roland Illig <rillig@NetBSD.org>
From: Jonathan Perkin <jonathan@perkin.org.uk>
List: pkgsrc-changes
Date: 02/19/2006 11:55:40
* On 2006-02-19 at 11:27 GMT, Roland Illig wrote:

> Jonathan Perkin wrote:
>
> > The bootstrap tools don't necessarily need to be 64bit (although
> > it would be nice to fix the bugs in the bmake makefiles).
> 
> They need to be. Among them is libnbcompat, which will be linked
> together with other 64-bit ABI programs later. If it wouldn't be
> needed, bootstrapping wouldn't have failed for me and I would not
> have written this at all.
> 
> And during the build of bmake, I got an error that the setenv()
> function from libnbcompat/setenv.c, which has been compiled with
> 64-bit ABI wouldn't fit into a 32-bit ABI binary (bmake).

Ok, something must have changed since I was doing regular 64bit bulk
builds, as they were happy with 32bit tools.

> > Simply setting "ABI=64" in mk.conf is enough to enable 64bit
> > support, you don't need to manually add the -xtarget etc options.
> 
> Since directly setting the flags was the way it was documented
> before, I thought that would be the preferred way, too.

I guess that documentation was written before we added the ABI stuff,
and should probably be updated now.

Thanks,

-- 
Jonathan Perkin                                     The NetBSD Project
http://www.perkin.org.uk/                       http://www.netbsd.org/