NO

Author Topic: ASM Listing from C compiler  (Read 4137 times)

Grincheux

  • Guest
ASM Listing from C compiler
« on: March 21, 2012, 12:44:15 PM »
When compiling a program, which is the option that permits me to have the asm source file (*.lst) ?

czerny

  • Guest
Re: ASM Listing from C compiler
« Reply #1 on: March 21, 2012, 02:37:25 PM »
I would look in the help file under 'Command line tools' and 'POCC compiler'.
Is this not what you are looking for?

czerny

Grincheux

  • Guest
Re: ASM Listing from C compiler
« Reply #2 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.

Offline Bitbeisser

  • Global Moderator
  • Member
  • *****
  • Posts: 772
Re: ASM Listing from C compiler
« Reply #3 on: March 21, 2012, 05:58:01 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

  • Guest
Re: ASM Listing from C compiler
« Reply #4 on: March 22, 2012, 02:30:11 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


 
 
 
« Last Edit: March 22, 2012, 02:32:29 PM by CommonTater »