NO

Author Topic: /Tx86-asm is building .obj file instead of .asm!  (Read 3229 times)

Freddy

  • Guest
/Tx86-asm is building .obj file instead of .asm!
« on: October 07, 2006, 08:31:12 PM »
I'm using this:
Quote

pocc /Ze /Tx86-asm test.c

to build .asm, so I can learn from it.
But it's building a .obj instead!
Can you help me?

Thanks!

EDIT: It is building asm output, but with .obj extension. I had to rename from .obj to .asm and read in notepad to notice this. Should be easy to fix!

To reproduce the bug, just type:
Code: [Select]

#include <stdio.h>

int main()
{
printf("Hello world!");
return 0;
}

and go to command line:
Quote

povars32
pocc /Ze /Tx86-asm test.c

And you should get test.asm, but you get test.obj with asm source-code inside![/code]

Synfire

  • Guest
/Tx86-asm is building .obj file instead of .asm!
« Reply #1 on: October 08, 2006, 02:56:00 AM »
Try using the /Fo option to set the output file name:
Quote
pocc /Ze /Tx86-asm /Fotest.asm test.c