Subject: Re: cross-building userland: hints?
To: Soren S. Jorvang <>
From: Rafal Boni <>
List: port-sgimips
Date: 04/05/2001 21:38:11
In message <>, Soren wrote: 

-> > pointed out a while ago, the pkgsrc cross-tools seem to not be very good
-> > at making a userland.
-> Try othersrc/crosscomp.

This worked great, modulo a few things:
	(1) `file' is no longer cross-build friendly as it tries to build
	    the compressed magic file using the newly built executable.
	    I kluged around this by adding it to the 'tools' build and
	    hacking the makefile to use the native file if $FILE is set.

	(2) I had to add lib/libvers to tools so that compile_et would

	(3) share/zoneinfo isn't very friendly when the build is done as
	    non-root (haven't fixed this yet, may just try a build as root).

I did get past all the nastiness encountered trying to use the pkgsrc
cross-tools, though.  I am interested, even if only academically, why
those tools don't work...


Rafal Boni                                    
 PGP key C7D3024C, print EA49 160D F5E4 C46A 9E91  524E 11E0 7133 C7D3 024C
    Need to get a hold of me?