News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

Assembler?

Started by Muhammed, July 24, 2008, 03:44:42 PM

Previous topic - Next topic

Muhammed

Hi!,

I don't know wether this is the correct subforum but:

Is PellesC (the Compiler) able to show me the assembler code of my (c-)source?
I mean not the debugger where (unfortunally) also is the whole "overhead" i mean for loading process, modules etc.

Can you help me?

with friendly greetings

Robert

Have a look at the /T option in the Pelle's C Help file under the Table of Contents entry "Command line Tools\POCC compiler\Command line options".

/Tx86-asm Creates an assembly text file for a X86 processor.
/Tarm-asm Creates an assembly text file for a ARM processor.
/Tamd64-asm Creates an assembly text file for a X64 processor.

Robert Wishlaw

Grincheux

I tried with "/Tamd64-asm" but I get this message :
"POLINK: fatal error: Invalid machine type in object 'D:\# Stars #\Project\MyStars\output\7 Cas.obj'.
"


CCFLAGS = -std:C11 -Tx64-coff -Zi -Ot -Ox -Ob1 -fp:precise -W1 -Gr -Ze -Zx -Tamd64-asm



czerny

Quote from: Grincheux on October 08, 2014, 10:25:20 PM
I tried with "/Tamd64-asm" but I get this message :
"POLINK: fatal error: Invalid machine type in object 'D:\# Stars #\Project\MyStars\output\7 Cas.obj'.
"


CCFLAGS = -std:C11 -Tx64-coff -Zi -Ot -Ox -Ob1 -fp:precise -W1 -Gr -Ze -Zx -Tamd64-asm
You have used two conflictive options.