Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More about cross compiling



On Monday, October 25, 2004, at 08:43AM, Heath Raftery <email@hidden> wrote:

>April,
>
>On 25/10/2004, at 11:07 AM, April Gendill wrote:
>
>> Then I guess the big question is, is it safe to download the gcc 
>> package and compile it from the command line?
>> By the answers I've gotten I have to assume apple did not compile the 
>> gcc binary they distribute as cross compiler
>
>There's certainly nothing provided by Apple to do the job, but I have 
>managed to compile gcc to cross compile to i386-redhat-linux, which 
>worked well for my purposes. I could then run the results in Bochs and 
>Virtual PC (and a real PC). I can't remember the details of how I did 
>it unfortunately, and I can't find any documentation I might have made. 
>I know it is a reasonable job, but certainly possible. Probably best to 
>find a platform you'd be happy to cross-compile to, get the source for 
>gcc for that platform, and then work to port it and compile it on your 
>system.

I have built a couple of cross-compiler toolchains using GCC on Mac OS X.

They support i586-linux and win32-mingw, and include the relevant C runtime
headers, libs and Win32 interfaces.

You can download the cross-compiler set from:
<http://www.essencesw.com/CrossCompilers.zip>

--
James Milne
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >More about cross compiling (From: email@hidden)
 >Re: More about cross compiling (From: Andrew Pinski <email@hidden>)
 >Re: More about cross compiling (From: April Gendill <email@hidden>)
 >Re: More about cross compiling (From: Heath Raftery <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.