This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: whethe can I specify the suffix of assembler file?


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]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]