Hi
I have been trying Waldek's gcc-3.4.x patches and update* diffs under Mingw. There are problems when it comes to "pascal.bindist" and "pascal.install".
With "pascal.install", I get an error that there is no command called "- ranlib". As a quick fix, I copied "ranlib.exe" to "-ranlib.exe", and that was fine. I believe that the cause of this is the "-$(RANLIB)" that appears in a few places in update27h.diff. The Mingw version of ranlib is "GNU ranlib 2.15.90 20040222".
As far as "pascal.bindist" is concerned, I am not sure whether this has anything to do with Waldek's patches. I get an error when it is dealing with gpcpp.exe. Here is an extract from the error log:
tmp_base=`pwd`/tmp && \ tmp_prefix=$tmp_base//mingw && \ rm -rf $tmp_base && \ ../../gcc/p/script/mkdir-p -m a+rx $tmp_prefix && \ make pascal.install "exeext=.exe" "version=3.4.1" "target_alias=" "program_transform_name=s,y,y," "program_transform_cross_name=" "SYMLINK=ln -s" "GCC_FOR_TARGET= ./xgcc -B./ -B/mingw/mingw32/bin/ - isystem /mingw/mingw32/include -isystem /mingw/mingw32/sys-include - L/src/mingw/gcc-3.4.1-20040711-1/build/gcc/../ld" "GPC_FOR_TARGET=./xgpc -B./" "GPCSOLIBSHORTNAME=libgpc.so" "GPCSOLIBDIR=lib" "GPC_EXTRA_INSTALL_LIBS=" "WITH_SHARED=@with_shared@" "FLOAT_H=" "EXTRA_PARTS=crtbegin.o crtend.o" "real_prefix=/mingw" prefix=$tmp_prefix && \ version=`sed -ne 's/"[^"]*$//;s/^#define GPC_VERSION_STRING *"//p' ../../gcc/p/version.h` && (cd $tmp_base && tar czf ../gpc-$version.i386- pc-mingw32.tar.gz *) && \ cd ../../gcc && rm -rf $tmp_base make[1]: Entering directory `/src/mingw/gcc-3.4.1-20040711-1/build/gcc' ../../gcc/p/Make-lang.in:725: warning: overriding commands for target `p/version.o' ../../gcc/p/Make-lang.in:719: warning: ignoring old commands for target `p/version.o' for directory in /src/mingw/gcc-3.4.1-20040711-1/build/gcc/tmp//mingw /src/mingw/gcc-3.4.1-20040711-1/build/gcc/tmp//mingw/bin /src/mingw/gcc- 3.4.1-20040711-1/build/gcc/tmp//mingw/lib/gcc/mingw32/3.4.1/units /src/mingw/gcc-3.4.1-20040711- 1/build/gcc/tmp//mingw/lib/gcc/mingw32/3.4.1/include \ /src/mingw/gcc-3.4.1-20040711- 1/build/gcc/tmp//mingw/info /src/mingw/gcc-3.4.1-20040711- 1/build/gcc/tmp//mingw/doc/gpc /src/mingw/gcc-3.4.1-20040711- 1/build/gcc/tmp//mingw/doc/gpc/demos /src/mingw/gcc-3.4.1-20040711- 1/build/gcc/tmp//mingw/doc/gpc/docdemos /src/mingw/gcc-3.4.1-20040711- 1/build/gcc/tmp//mingw/man/man1; do \ ../../gcc/p/script/mkdir-p -m a+rx $directory || exit 1; \ done if [ -f gpc-cross.exe ]; then \ rm -f /src/mingw/gcc-3.4.1-20040711- 1/build/gcc/tmp//mingw/bin/mingw32`t='s,y,y,'; echo gpc | sed $t`.exe; \ /usr/local/bin/install -c gpc-cross.exe /src/mingw/gcc-3.4.1-20040711- 1/build/gcc/tmp//mingw/bin/mingw32`t='s,y,y,'; echo gpc | sed $t`.exe && \ chmod a+x /src/mingw/gcc-3.4.1-20040711- 1/build/gcc/tmp//mingw/bin/mingw32`t='s,y,y,'; echo gpc | sed $t`.exe; \ else \ rm -f /src/mingw/gcc-3.4.1-20040711- 1/build/gcc/tmp//mingw/bin/`t='s,y,y,'; echo gpc | sed $t`.exe; \ /usr/local/bin/install -c xgpc.exe /src/mingw/gcc-3.4.1-20040711- 1/build/gcc/tmp//mingw/bin/`t='s,y,y,'; echo gpc | sed $t`.exe && \ chmod a+x /src/mingw/gcc-3.4.1-20040711- 1/build/gcc/tmp//mingw/bin/`t='s,y,y,'; echo gpc | sed $t`.exe; \ fi rm -f /src/mingw/gcc-3.4.1-20040711-1/build/gcc/tmp//mingw/bin/gpc-run /usr/local/bin/install -c gpc-run /src/mingw/gcc-3.4.1-20040711- 1/build/gcc/tmp//mingw/bin/gpc-run chmod a+x /src/mingw/gcc-3.4.1-20040711-1/build/gcc/tmp//mingw/bin/gpc- run rm -f /src/mingw/gcc-3.4.1-20040711- 1/build/gcc/tmp//mingw/libexec/gcc/mingw32/3.4.1/gpcpp.exe /usr/local/bin/install -c gpcpp.exe /src/mingw/gcc-3.4.1-20040711- 1/build/gcc/tmp//mingw/libexec/gcc/mingw32/3.4.1/gpcpp.exe /usr/local/bin/install: cannot create regular file `/src/mingw/gcc- 3.4.1-20040711- 1/build/gcc/tmp//mingw/libexec/gcc/mingw32/3.4.1/gpcpp.exe': No such file or directory make[1]: *** [install-gpcpp34] Error 1 make[1]: Leaving directory `/src/mingw/gcc-3.4.1-20040711-1/build/gcc' make: *** [pascal.bindist] Error 2
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/