This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
about the interfaces of a front end
- From: "daizisheng" <daizi at ustc dot edu>
- To: "gcc" <gcc at gcc dot gnu dot org>
- Date: Wed, 28 Jan 2004 14:49:51 CST 0008
- Subject: about the interfaces of a front end
- Reply-to: daizi at ustc dot edu
i have finished my demo front end.
i found that a front end has to offer other things besides the
lang_hooks.
E.g:
convert(),
builtin_function(),
tree_code_type[],
tree_code_length[],
tree_code_name[].
but why not put these datas in the lang_hooks structure?
then the interface will be much more simply.
btw,when i built my front end,it ended with error
:no reference to gt_ggc_mx_lang_tree_node and gt_ggc_mx_language_function.
after i wrote them myself,i succeded.
what does that two functions mean??
--
USTC Alumni Email System