Frank Heckenbach a écrit:
I have uploaded a new beta version of GPC to http://www.gnu-pascal.de/beta/.
To run the tests I changed from running in the source gcc/p/test directory to running in the build/gcc directory (with make pascal.check) there was a makefile problem because the standard units are in the source tree, not in the build tree. Applying the following patch
---------------------------------------------------------
--- Make-lang.in.orig 2003-08-28 01:12:52.000000000 +0000 +++ Make-lang.in 2004-02-07 19:25:44.000000000 +0000 @@ -1104,7 +1104,7 @@ echo ""; \ sed -e "s,^srcdir *=.*,srcdir=`cd $(srcdir)/p/test && pwd`,; \ s,^PC *=.*,PC=`pwd`/xgpc -B`pwd`/,; \ - s,^TEST_PATHS *=.*,TEST_PATHS=-I ../rts --unit-path=`pwd`/p/units," \ + s,^TEST_PATHS *=.*,TEST_PATHS=-I ../rts --unit-path=$(srcdir)/p/units," \ $(srcdir)/p/test/Makefile; \ } > p/test/Makefile || { rm -f p/test/Makefile; false; } $(STAMP) "$@"
----------------------------------------------------------------
solves the problem
Maurice