Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Mar 2005 02:32:32 +1030
From:      Martin Minkus <diskiller@diskiller.net>
To:        Peter Schultz <pmes@bis.midco.net>, <freebsd-ppc@freebsd.org>
Subject:   Re: cross compile libc
Message-ID:  <BE5410C0.2AC77%diskiller@diskiller.net>
In-Reply-To: <3ac28bfe17b83875b0d7fa80464448c7@bis.midco.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/3/05 2:06 AM, "Peter Schultz" <pmes@bis.midco.net> wrote:

> On Mar 7, 2005, at 8:51 PM, Peter Grehan wrote:
> 
>>> hi someone could help me cross compile libc from /usr/src ??
>>> I mus download the source from CURRENT ??
>> 
>>  Yes.
>> 
>>> someone could help me to create a toolchain and cross compilate
>>> freebsd
>>> to powerPC ???
>> 
>>  Once you've downloaded the source, then apply the diff at:
>> 
>>    http://people.freebsd.org/~grehan/sysv4.h.diff
>> 
>>  and then:
>> 
>>    # make TARGET_ARCH=powerpc buildworld
>> 
> 
> Is it possible to do cross-builds of FreeBSD under OS X?
> 
> Thanks,
> Pete...

Um. Doubtful.

You need the entire freebsd src tree. And it will expect to be in a FreeBSD
environment to build. You could probably hack away at it to get it to work,
but it will probably be a lot of work... Something to consider trying
though.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BE5410C0.2AC77%diskiller>