Subject: Re: corss-building on osx
To: NetBSD-current Discussion List <current-users@NetBSD.org>
From: Ken Hornstein <kenh@cmf.nrl.navy.mil>
List: current-users
Date: 01/26/2006 12:38:30
>Is there a general guideline for cross-building on osx?
>
>I'm trying to build i386 -current but if I say -m i386 tools, it will
>fail in "gas".  If I do tools with -m macppc, they build, but then a
>-m i386 distribution will fail.  I feel like I'm missing something
>easy, but the tools differences is confusing because I thought
>build.sh would magically know which tools it needed to build.

The key here is you need a case-sensitive filesystem (this is actually
documented in the distribution, but it's not easy to find unless you
look for it).  By default HFS is not.  I rebuilt my machine to have a
case-sensitive HFS system; once I did that, everything worked.

--Ken