Subject: Re: CVS commit: pkgsrc/doc/guide/files
To: Jonathan Perkin <jonathan@perkin.org.uk>
From: Roland Illig <rillig@NetBSD.org>
List: pkgsrc-changes
Date: 02/19/2006 11:57:35
Jonathan Perkin wrote:
> * On 2006-02-18 at 19:59 GMT, Roland Illig wrote:
> 
> 
>>Log Message:
>>Bootstrapping pkgsrc to build 64-bit binaries on Solaris with SunPro is
>>non-trivial. At least, it's documented now.
> 
> 
> 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).

> 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.

Roland