• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to compile for linux x86_64 using XCode ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How to compile for linux x86_64 using XCode ?
      • From: Peter O'Gorman <email@hidden>
    • Re: How to compile for linux x86_64 using XCode ?
      • From: "Glenn L. Austin" <email@hidden>
  • Prev by Date: Re: project file appears as folder
  • Next by Date: Re: How to compile for linux x86_64 using XCode ?
  • Previous by thread: Re: project file appears as folder
  • Next by thread: Re: How to compile for linux x86_64 using XCode ?
  • Index(es):
    • Date
    • Thread