• 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 00:25:24 -0400


On Apr 8, 2005, at 11:19 PM, 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.

-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


  • Follow-Ups:
    • Re: Xcode assembler?
      • From: Dustin Robert Kick <email@hidden>
References: 
 >Xcode assembler? (From: Dustin Robert Kick <email@hidden>)

  • Prev by Date: Xcode assembler?
  • Next by Date: Re: Xcode assembler?
  • Previous by thread: Xcode assembler?
  • Next by thread: Re: Xcode assembler?
  • Index(es):
    • Date
    • Thread