This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
I can't understand the file, "lang-specs.h".
- From: 김건우 <gunwoo_kim at tmax dot co dot kr>
- To: <gcc-help at gcc dot gnu dot org>
- Cc: 양동희 <donghee_yang at tmax dot co dot kr>
- Date: Fri, 16 Nov 2007 16:06:00 +0900
- Subject: I can't understand the file, "lang-specs.h".
I am writing to request any documents about the file “lang-specs.h”. I
can’t understand the contents of this file that will be included into
array default_compilers[] in “gcc.c”. Could you please send me any
documents that can explain following options on gcc driver? I cannot modify
“lang-specs.h” to integrate preprocessor with compiler for my own
language and I cannot find some documentation as to it.
{".c", "@c", 0, 1, 1},
{"@c",
/* cc1 has an integrated ISO C preprocessor. We should invoke the
external preprocessor if -save-temps is given. */
"%{E|M|MM:%(trad_capable_cpp) %(cpp_options) %(cpp_debug_options)}\
%{!E:%{!M:%{!MM:\
%{traditional|ftraditional:\
%eGNU C no longer supports -traditional without -E}\
%{!combine:\
%{save-temps|traditional-cpp|no-integrated-cpp:%(trad_capable_cpp) \
%(cpp_options) -o %{save-temps:%b.i} %{!save-temps:%g.i} \n\
cc1 -fpreprocessed %{save-temps:%b.i} %{!save-temps:%g.i} \
%(cc1_options)}\
%{!save-temps:%{!traditional-cpp:%{!no-integrated-cpp:\
cc1 %(cpp_unique_options) %(cc1_options)}}}\
%{!fsyntax-only:%(invoke_as)}} \
%{combine:\
%{save-temps|traditional-cpp|no-integrated-cpp:%(trad_capable_cpp) \
%(cpp_options) -o %{save-temps:%b.i} %{!save-temps:%g.i}}\
%{!save-temps:%{!traditional-cpp:%{!no-integrated-cpp:\
cc1 %(cpp_unique_options) %(cc1_options)}}\
%{!fsyntax-only:%(invoke_as)}}}}}}", 0, 1, 1},
I am look forward to your fast reply.
Best Regards,
Gun-Woo, Kim
Researcher Gun-Woo, Kim
Core, Compiler
TmaxSoft
Tel. 031-7797-362
Mobile. 017-398-1245
E-mail. gunwoo_kim@tmax.co.kr