This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: whethe can I specify the suffix of assembler file?
- From: qinfeng dot zhang at philips dot com
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 2 Jun 2003 15:19:03 +0800
- Subject: Re: whethe can I specify the suffix of assembler file?
I know how to generate object file with special file name throug command line,
but I want to replace the default suffix ".s" with ".t" by modifying GCC target macro .
Regards
To: Qinfeng Zhang/SHA/RESEARCH/PHILIPS@APAC
cc: gcc-help@gcc.gnu.org
Subject: Re: whethe can I specify the suffix of assembler file?
LLeweLLyn Reese Classification:
<llewelly@lifesupport.shutdown.
com>
Sent by:
gcc-help-owner@gcc.gnu.org
2003-06-02 11:46
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]