Pelles C forum

C language => Expert questions => Topic started by: Muhammed on July 24, 2008, 03:44:42 PM

Title: Assembler?
Post by: Muhammed on July 24, 2008, 03:44:42 PM
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
Title: Re: Assembler?
Post by: Robert on July 26, 2008, 10:22:28 PM
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
Title: Re: Assembler?
Post by: 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
 
 
 
Title: Re: Assembler?
Post by: czerny on October 09, 2014, 08:18:01 AM
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.