Pelles C forum

Pelles C => Bug reports => Topic started by: Freddy on October 07, 2006, 08:31:12 PM

Title: /Tx86-asm is building .obj file instead of .asm!
Post by: Freddy 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:

#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]
Title: /Tx86-asm is building .obj file instead of .asm!
Post by: Synfire on October 08, 2006, 02:56:00 AM
Try using the /Fo option to set the output file name:
Quotepocc /Ze /Tx86-asm /Fotest.asm test.c