How to compile for linux x86_64 using XCode ?
How to compile for linux x86_64 using XCode ?
- Subject: How to compile for linux x86_64 using XCode ?
- From: Botta Vincent <email@hidden>
- Date: Mon, 2 Feb 2009 16:45:48 +0100
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.
On the local machine (under Leopard) :
$ arch
i386
$ file TTree
TTree: Mach-O 64-bit executable x86_64
$ ./TTree
... runs perfectly
On the linux machine :
$ arch
x86_64
$ file TTree
TTree: data
$ ./TTree
-bash: ./TTree: cannot execute binary file
What does that mean ?
How can I compile, using XCode, for a LINUX X86_64 processors ?
Is it possible ?
Thank you in advance for your help.
Vince
_______________________________________________
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