Adriaan van Os wrote:
This fixes the problem, thanks.
That's what I thought -- but there still is a problem. The tree.inc created with the patched p/utils/mk-t-inc and the Darwin system-sed doesn't have any #ifdef GCC_xx conditions and this results in duplicate symbols:
Sorry, there was a part missing. Try this: --- mk-t-inc.orig Mon Apr 21 15:50:47 2008 +++ mk-t-inc Mon Apr 21 16:08:09 2008 @@ -71,6 +71,14 @@ { cat "$GCCDIR/tree.def" echo 'DEFTREECODE (LAST_AND_UNUSED_C_TREE_CODE, "unused", '"'x', 0)" - sed -e '/#ifdef EGCS/,${/#ifdef EGCS/d;/#else/,/#endif/d;}' "$GCCDIR/p/p-tree.def" -} | sed -ne ':loop;/\\$/{N;b loop};/^DEFTREECODE/{s,/\*.*\*/,,;s/["'"'"']x["'"'"'].*/'"'x', 0)/;p;};/^#/p" + sed -e '/#ifdef EGCS/,${/#ifdef EGCS/d;/#else/,/#endif/d;}' "$GCCDIR/p/p-tree.def" +} | sed -ne ':loop + /\\$/{ + N + s/\\\n// + b loop + } + /^#\(.*\)/s//{$\1}/p + /^DEFTREECODE/{s,/\*.*\*/,,;s/["'"'"']x["'"'"'].*/'"'x'"', 0)/;p;}' + } > "$2" || { rm -f "$2"; false; } Frank -- Frank Heckenbach, f.heckenbach@fh-soft.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: ACB3 79B2 7EB2 B7A7 EFDE D101 CD02 4C9D 0FE0 E5E8