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

Re: universal binaries


  • Subject: Re: universal binaries
  • From: Jonas Maebe <email@hidden>
  • Date: Tue, 11 Jul 2006 09:02:42 +0200


On 11 Jul 2006, at 05:57, Eric Albert wrote:

If it's the latter, macros should work too. If, for example, your .s file is entirely x86 assembly, wrap it in
#if __i386__
...code here...
#endif


Xcode compiles .s files with the -x assembler-with-cpp flag, which runs the C preprocessor on the file before handing it off to the assembler.

Make also sure you no longer have the "Xcode 1.1 Assembly Rule" installed (from 18 December 2003), or Xcode will not do this. This update is not uninstalled by even the uninstall-devtools.pl script, so it may still be lingering around from a distant past (December 2003, like it was on my system).


To solve this problem, delete "/Library/Application Support/Apple/ Developer Tools/Specifications/AssemblerSource.pbfilespec" (the engineer who fixed Xcode to pass -x assembler-with-cpp flag knows about this)


Jonas


_______________________________________________ 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: 
 >universal binaries (From: David A Rowland <email@hidden>)
 >Re: universal binaries (From: Syd Polk <email@hidden>)
 >Re: universal binaries (From: Eric Albert <email@hidden>)

  • Prev by Date: Re: Question about MD5
  • Next by Date: Re: Beginning XCode
  • Previous by thread: Re: universal binaries
  • Next by thread: Universal Binary KEXT building problem
  • Index(es):
    • Date
    • Thread