• 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 pick which architecture to launch?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to pick which architecture to launch?


  • Subject: How to pick which architecture to launch?
  • From: "Sean McBride" <email@hidden>
  • Date: Fri, 15 Feb 2008 12:28:48 -0500
  • Organization: Rogue Research

Hi all,

If I have an obese binary (4 way), is there a way I can pick which
architecture to launch?

For example, with Xcode, if I build an OCUnit test, it runs the test
under as many architectures as the host machine allows.  I'd like to do
something similar with my own custom automated testing.  I build my
executable as obese, then I'd like to launch it 3 times: as i386, as
x86_64, as ppc (in Rosetta).  I am aware of LSArchitecturePriority and
similar Info.plist keys but that would mean changing my executable,
which I'd really rather not do.  I want to test the executable as is.

Thanks,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to pick which architecture to launch?
      • From: "Jordan K. Hubbard" <email@hidden>
    • Re: How to pick which architecture to launch?
      • From: Chris Sarcone <email@hidden>
  • Prev by Date: Re: shm_open and EMFILE
  • Next by Date: Re: How to pick which architecture to launch?
  • Previous by thread: Re: CFRecordAllocationEvent
  • Next by thread: Re: How to pick which architecture to launch?
  • Index(es):
    • Date
    • Thread