[Cialug] Cross Compiling
Zachary Kotlarek
zach at kotlarek.com
Sun Dec 6 14:31:42 CST 2009
On Dec 6, 2009, at 2:12 PM, Zachary Kotlarek wrote:
>
> On Dec 6, 2009, at 1:23 PM, Dave Weis wrote:
>
>>
>> Can anyone give me some pointers on building an intel to ppc cross
>> compiler on a Fedora system? I've found some directions but most of them
>> are wrong/out of date.
>>
>> I was going to resurrect an old blue and white mac but it seems to not
>> power on. I'm sure my dell core2 would burn through source a bit faster
>> anyway.
>
>
> http://www.linuxfromscratch.org/clfs/view/1.0.0/
I see those are also a little out-of-date (at least if you want to use newer GCC), so I should mention that modern mainline LFS also does cross-compiling -- the instructions assume that the host and target are the same architecture, but it's cross-compiling anyway, and with very minor adjustments to the stage2 target string the same system should work for a different host and target.
I haven't recently tried an x86 to PPC build, but I build LFS all the time, and I've tried a couple of 64-bit -> 32-bit cross-compiles, so if you need help let me know.
Zach
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2746 bytes
Desc: not available
Url : http://cialug.org/pipermail/cialug/attachments/20091206/3d12e88a/attachment.bin
More information about the Cialug
mailing list