whethe can I specify the suffix of assembler file?

LLeweLLyn Reese llewelly@lifesupport.shutdown.com
Mon Jun 2 03:49:00 GMT 2003


qinfeng.zhang@philips.com writes:

> When compiling a C source file, and terminate the compiler with option '-S',
> for example :
>       gcc -S foo.c

gcc -S foo.c -o foo.t

-o is for specifying the name of the output file, see:
gcc.gnu.org/onlinedocs/gcc-3.3/gcc/Overall-Options.html#Overall%20Options

and search for '-o'.

> then the assembler file name is foo.s. If I want to use another suffix instead ".t",
> what can I do? Is it useful to modify the CC1_SPEC and ASM_SPEC?

It isn't necessary. I don't know if it is useful.

> I have tried, but
> no effect.
[snip]



More information about the Gcc-help mailing list