• 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: Xcode assembler?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Xcode assembler? (From: Dustin Robert Kick <email@hidden>)
 >Re: Xcode assembler? (From: Prachi Gauriar <email@hidden>)
 >Re: Xcode assembler? (From: Dustin Robert Kick <email@hidden>)

  • Prev by Date: Re: Xcode assembler?
  • Next by Date: API reference can't find TrackControl
  • Previous by thread: Re: Xcode assembler?
  • Next by thread: API reference can't find TrackControl
  • Index(es):
    • Date
    • Thread