Hi all
I have made a native compilation of gpc-20000707 and uploaded it into:
ftp://agnes.dida.physik.uni-essen.de/home/maurice/gpc-20000707-i586-pc-msdosdjgpp-v203.zip
It needs only very minor changes to the sources to work. They are contained in the two attached diffs to apply to gpc-20000707 and gcc-2952 source directories. - the gpc-20000707.diff corrects for an already reported problem with djgpp where pwd under command.com respond c:\djgpp\ garbling ADD_RTS_PARENT_DIR in make-lang.in - the gcc-2952 - includes --enable-languages=pascal in build.djg\djbuild1.sh - comments out unneeded lines in build.djg\build.bat - puts a manifest file in installs.djg\manifest needed to automatically generate the zip
in summary, since this will have to be done several times (twp new alphas are already on agnes): supposing you have all downloaded in c:\installs
cd c:\djgpp unzip32 \installs\gcc2952s.zip cd gnu\gcc-2.952 patch -p1 < \installs\gcc-2.952.diff cd .. tar -xvzhf \installs\gpc-2000070.tar.gz #do not forget the h parameter: it dereferences the links in the diffs, giving non-zero gcc-2.95.2.diff files cd gpc-20000707 patch -p1 < \installs\gpc-20000707.diff cd .. mv gpc-20000707\p gcc-2.952\gcc cd gcc-2.952\build.djg build
It runs blindly since it outputs to several .log files. Watch a moment... when everything stops it means that gpc is asking whether you want to apply the patch. Just hit return (you can control what you are doing with an editor which looks to the file djconfig.log, but take an editor which automatically updates when the edited file is changed by an other process)
and have a coffee ...
You can then install the usual way the file gpc20bb.zip produced in installs.djg
When running the demos I have found
- gpc-in-c.h in the unit directory is not in a standard search directory for C header files, I moved it manually (in the zip) into the %DJGPP%\lib\gcc-lib\djgpp\2.952\include - intfiledemo.pas does not work. Cannot rewrite a non assigned file under djgpp
The testsuite is now still running. Failures come mostly from the same cause.
All this is made on a W98se dos box with LFN=y
Hope this helps
Maurice