cross compile libc
Martin Minkus
diskiller at diskiller.net
Tue Mar 8 16:02:43 GMT 2005
On 9/3/05 2:06 AM, "Peter Schultz" <pmes at 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.
More information about the freebsd-ppc
mailing list