Subject: Re: having troubles cross-compiling for sparc
To: Matthias Scheler <>
From: Hisashi T Fujinaka <>
List: current-users
Date: 07/05/2005 13:23:01
On Tue, 5 Jul 2005, Matthias Scheler wrote:

> In article <>,
> 	Hisashi T Fujinaka <> writes:
>> On an i386-current box trying to compile sparc-current (using
>> #   install  /usr/src/obj.sparc/destdir.sparc/lib/
>> STRIP=/usr/cross/sparc/bin/sparc--netbsdelf-strip /usr/cross/sparc/bin/nbinstall -U -M /usr/src/obj.sparc/destdir.sparc/METALOG -D /usr/src/obj.sparc/destdir.sparc -h sha1 -N /usr/src/etc -c -p -r -o root -g wheel -m 444 /usr/src/obj.sparc/destdir.sparc/lib/
>> STRIP=/usr/cross/sparc/bin/sparc--netbsdelf-strip /usr/cross/sparc/bin/nbinstall -U -M /usr/src/obj.sparc/destdir.sparc/METALOG -D /usr/src/obj.sparc/destdir.sparc -h sha1 -N /usr/src/etc -l s -r   -l r /usr/src/obj.sparc/destdir.sparc/lib/  /usr/src/obj.sparc/destdir.sparc/usr/lib/
>> nbinstall: /usr/src/obj.sparc/destdir.sparc/lib/ realpath: Not a directory
> The build tries for some reason unknown to me to install "libc" into the
> location where it was build. Could you please supply the command line you
> used to invoke "./"?

It's also broken in a non-cross build so let me try to see if something
else is broken. I tried:
./ -U distribution
/usr/src/ -x -m sparc -T /usr/cross/sparc -U distribution

Hisashi T Fujinaka -
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte