Russell Whitaker wrote:
One last (small) problem: --automake seems to be "semi-broken". Had to import the module/unit source into the current directory otherwise got "module/unit ... could not be compiled" when compiling something with a uses clause.
AFAIKS `--automake' just can not find units. gcc-3.4 uses different directory layout, with default prefix gpc1 goes into
/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/3.4.0/
but units go into
/usr/local/lib/gcc/x86_64-unknown-linux-gnu/3.4.0/units
gpc is searching for units in
/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/3.4.0/units
quick fix is to give '--unit-path=' option (or copy the units directory), but in long them we must teach gpc about new location.