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:
#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]
Try using the /Fo option to set the output file name:
Quotepocc /Ze /Tx86-asm /Fotest.asm test.c