I wrote:
Maurice Lombardi wrote:
same problem with gmp. The new gmp 3 is incompatible with the gmp 2.2 used by gpc for a stupid reason: all names in the library have been prepended by a g. It is probably only necessary to update accordingly the interface gmp.pas
I'm aware of this problem, and working on it. It's a little tricky to do it in such a way that GMP 2.x will still work, but Peter and I have found a way how to do it.
Should be fixed now. Patch will be uploaded soon.
Frank
Frank Heckenbach a écrit :
I wrote:
Maurice Lombardi wrote:
same problem with gmp. The new gmp 3 is incompatible with the gmp 2.2 used by gpc for a stupid reason: all names in the library have been prepended by a g. It is probably only necessary to update accordingly the interface gmp.pas
I'm aware of this problem, and working on it. It's a little tricky to do it in such a way that GMP 2.x will still work, but Peter and I have found a way how to do it.
Should be fixed now. Patch will be uploaded soon.
OK I have downloaded gpc-20000719. Everythings (demos and test suite) works now both with gmp 2.2 and gmp 3.01 downloaded from djgpp site. fjf119 and fjf120 also work now.
There is a problem to run the test suite on djgpp. It is the same that forced djgpp maintainers to split the build process with a build.bat. For a too large number of compilations, program stops or crashes do to lost dpmi handles. This is fortunately reset when going back to dos (even within a bat file). The solution is thus to split the running of tests in chunks (of 250 files). The attached files dostest.bat which calls dodostst.sh and makefile.dos, to be put in the test directory do that automatically. type dostest the result are concatenated into a file test_sum.out and typed at end. Previously I had done this splitting by hand !!
Furthermore I have uploaded to the directory ftp://agnes.dida.physik.uni-essen.de/home/maurice
the files gpc-20000719.i586-pc-msdosdjgpp.zip, a slightly updated build_gpc_djgpp.diff (includes gmpc.c, the old one still works because the content of the units directory is updated during the build) and a file buildgpc.bat, to be putted into the same drive as the djgpp tree, to automate the compilation of snapshots.
Hope this helps
Maurice