Re: file.asm for PPC not Intel
Re: file.asm for PPC not Intel
- Subject: Re: file.asm for PPC not Intel
- From: Eric Albert <email@hidden>
- Date: Tue, 28 Feb 2006 23:02:15 -0800
On Feb 28, 2006, at 9:49 PM, Ken Turkowski wrote:
I have an assembly language file which I would like to include in an
xcode project for a PowerPC target, not an Intel target. I will use
the C code version only for Intel. How do I specify this in xcode?
This is currently a command-line application.
I have "added" a "new file" to the project. When I compile, it
complains that certain instructions are not understood, obviously
because they were not meant for that platform. The PowerPC version
seems to compile just fine.
How do I specify that the assembly code should only be assembled for
the PowerPC?
There's no way to do that in Xcode today. Instead, add
#if __ppc__
to the start of the file and the corresponding
#endif
to the end.
Hope this helps,
Eric
_______________________________________________
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