Subject: Re: cross-building userland: hints?
To: Soren S. Jorvang <soren@wheel.dk>
From: Rafal Boni <rafal.boni@eDial.com>
List: port-sgimips
Date: 04/05/2001 21:38:11
In message <20010405225436.A17577@gnyf.wheel.dk>, 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
build.
(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
----
Rafal Boni rafal.boni@eDial.com
PGP key C7D3024C, print EA49 160D F5E4 C46A 9E91 524E 11E0 7133 C7D3 024C
Need to get a hold of me? http://800.edial.com/rafal.boni@eDial.com