Re: universal binaries
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