On Thu, Nov 11, 2010 at 09:47, Merrick, Thomas <thomas.merr...@tamucc.edu> wrote:
> libbackend.a(coverage.o):(.rodata+0x20): undefined reference to > `gt_ggc_mx_lang_tree_node' > libbackend.a(coverage.o):(.rodata+0x24): undefined reference to > `gt_pch_nx_lang_tree_node' > libbackend.a(dbxout.o):(.rodata+0x180): undefined reference to > `gt_ggc_mx_lang_tree_node' > libbackend.a(dbxout.o):(.rodata+0x184): undefined reference to > `gt_pch_nx_lang_tree_node' You are likely missing a function like this: /* Tree walking support. */ static enum gimple_tree_node_structure_enum gimple_tree_node_structure (union lang_tree_node *t ATTRIBUTE_UNUSED) { return TS_GIMPLE_GENERIC; } And a counterpart structure union GTY((desc ("gimple_tree_node_structure (&%h)"), chain_next ("(union lang_tree_node *)TREE_CHAIN (&%h.generic)"))) lang_tree_node { union tree_node GTY ((tag ("TS_GIMPLE_GENERIC"), desc ("tree_node_structure (&%h)"))) generic; }; I believe that Ian Taylor had some tutorial notes on writing front ends. Ian, am I dreaming again? Diego.