0

I was wondering if there's a way to get the Xcode toolchain to compile with -S (i.e. gcc -S) to get the compilation as assembly (not binary)

I've tried adding it as extra flags and it doesn't seem to like it.

I'm ideally looking for an assy listing of my current code.

i.e. wind up with

main.S
AppDelegate.S
AppComtroller.S
OtherClassFile.S
etc.S

all containing assy.

Cheers,

A

Adrian Sluyters
  • 2,136
  • 1
  • 15
  • 21
  • possible duplicate of [How can I examine assembly in Xcode 4?](http://stackoverflow.com/questions/5433935/how-can-i-examine-assembly-in-xcode-4) – Jester Jun 13 '14 at 14:02
  • Thanks. That was more or less what I was looking for... Reason why I asked was because I've seen that iOS frameworks, when you decompile them, you get: ASSY("CALL") ASSY("CALL") ASSY("CALL") and I was interested in recompiling native Obj-C in that format... it looks like Swift has already covered that! Thanks though! – Adrian Sluyters Aug 06 '14 at 08:55

0 Answers0