Re: How to compile for linux x86_64 using XCode ?
Re: How to compile for linux x86_64 using XCode ?
- Subject: Re: How to compile for linux x86_64 using XCode ?
- From: Peter O'Gorman <email@hidden>
- Date: Mon, 02 Feb 2009 11:19:49 -0600
Botta Vincent wrote:
> Hello,
>
> I'm trying to compile a C++ code for the x86_64 architecture under XCode
> but it doesn't work. ARCHS is set to "x86_64" and
> VALID_ARCHS too. Once a upload the built file and try to run it, it
> gives me this message : cannot execute binary file.
You need to create a cross-compiler, the cocotron project has some
information on doing this:
http://www.cocotron.org/Tools/Platform_Interface
http://www.cocotron.org/Tools/InstallCDT
If you don't wish to use that you can try with crosstool:
http://www.kegel.com/crosstool/
I have not tried either, though I'd guess that the cocotron method is
the easiest. I can tell you from experience that building a cross
compiler "by hand" is not usually a simple task.
Peter
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden