Re: How to write multi-arch .asm file?
Re: How to write multi-arch .asm file?
- Subject: Re: How to write multi-arch .asm file?
- From: Jonas Maebe <email@hidden>
- Date: Wed, 7 Mar 2007 13:58:47 +0100
On 7 mrt 2007, at 13:50, Alexander Klyuev wrote:
Does anyone know how to write multi-arch .asm file,
exactly how to distinguish ppc architecture from i386 one
from within .asm file?
Is there any macros to use with conditional directives?
#ifdef __ppc__
#endif
#ifdef __i386__
#endif
And then compile with "gcc -x assembler-with-cpp" (I forgot whether
that's the default for .s or .S files, just try)
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