Re: Xcode assembler?
Re: Xcode assembler?
- Subject: Re: Xcode assembler?
- From: Prachi Gauriar <email@hidden>
- Date: Sat, 9 Apr 2005 12:25:52 -0400
On Apr 9, 2005, at 5:16 AM, Dustin Robert Kick wrote:
Does Xcode have an assembler to make object code out of assembly
code?
Actually producing just object files requires the use of the
command-line, I think. Either of these will work:
gcc -c MyAssemblySource.s -o MyObjectFile.o
as MyAssemblySource.s -o MyObjectFile.o
Xcode can compile assembly code into programs. Name your assembler
source file with a .s extension and add it to your project. I have
to use the Deployment style in order for the build to succeed with a
simple Hello World program. I figure it has to do with Zero-link.
I'm not sure if this is always the case though.
Thanks for the tips. Do you know if this is documented in the Xcode
documentation anywhere?
The command-line information is available in the GCC manual
<http://developer.apple.com/documentation/DeveloperTools/gcc-3.3/gcc/>
and the Mac OS X Assembler Guide
<http://developer.apple.com/documentation/DeveloperTools/Reference/
Assembler/>, both of which you can find in the Xcode documentation
window. Also the manpages are helpful.
As far as getting Xcode to use assembly code, I just tried it out.
There are multiple mentions of Xcode's ability to handle assembly
source in the documentation though.
-Prachi
_______________________________________________
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