ASM Listing from C compiler

Started by Grincheux, March 21, 2012, 12:44:15 PM

Previous topic - Next topic

Grincheux

When compiling a program, which is the option that permits me to have the asm source file (*.lst) ?

czerny

I would look in the help file under 'Command line tools' and 'POCC compiler'.
Is this not what you are looking for?

czerny

Grincheux

I already read this help file and did not found any information.
I expected a "/Fl:xxxx.lst", but it seems this option does not exist.

Bitbeisser

Quote from: Grincheux on March 21, 2012, 05:30:32 PM
I already read this help file and did not found any information.
I expected a "/Fl:xxxx.lst", but it seems this option does not exist.
Look again, specially paying attention to the /Tx86-asm command line option for POCC as already mentioned...

Ralf

CommonTater

#4
Quote from: Grincheux on March 21, 2012, 05:30:32 PM
I already read this help file and did not found any information.
I expected a "/Fl:xxxx.lst", but it seems this option does not exist.

Follow the help path, starting at the main menu...
Help -> Contents -> Contents -> Command line tools -> POCC Compiler -> Command line options -> /T 

/Tx86-coffCreates a COFF (Common Object File Format) object file for a X86 processor.
/Tx86-asmCreates an assembly text file for a X86 processor.
/Tarm-coffCreates a COFF (Common Object File Format) object file for a ARM processor.
/Tarm-asmCreates an assembly text file for a ARM processor.
/Tamd64-coffCreates a COFF (Common Object File Format) object file for a X64 processor.
/Tamd64-asmCreates an assembly text file for a X64 processor.

The resulting file is named after your source file... eg.  main.c gets you main.asm