• 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
Re: Curiosity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Curiosity


  • Subject: Re: Curiosity
  • From: Chris Espinosa <email@hidden>
  • Date: Wed, 21 Dec 2005 15:01:26 -0800


On Dec 21, 2005, at 2:28 PM, email@hidden wrote:

Ok... The other day I was testing a theory. I am on a G5 right now, but

using the newest XCode. I set it up to build for intel and not ppc. I

then built a bsd commandline tool. 


main()

{

      print("Test successful");

}


When compiled it runs perfectly on my G5. Odd since it was compiled for

intel.

The theory though was that a clu independant of the api's for

linux/windows/mac etc. would run on Redhat or other similar oses. but in

RH i get the unable to execute binary. So why, if I compile for intel

does it work on the ppc machine and not the intel box. or at least

attempt to run on the intel box?


My guess is that you set the Architecture build setting either at the wrong level of the project or for a different configuration than the one you are building and testing.

Choose "Edit Active Configuration" from the Project menu and look at the Architecture setting there.

Chris
 _______________________________________________
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

References: 
 >Curiosity (From: <email@hidden>)

  • Prev by Date: Re: Curiosity
  • Next by Date: Re: SDKROOT, -isysroot and -syslibroot
  • Previous by thread: Re: Curiosity
  • Next by thread: can't locate framework
  • Index(es):
    • Date
    • Thread