On 8 Apr 2001, at 12:45, Maurice Lombardi wrote:
pavenis@lanet.lv wrote:
Can You update this Pascal compiler (gpc2953b.zip) and documentation and inform me (download site), too?
Mmm. There is something broken in gpc under gcc-2.9.5.3. It compiles with snapshot gpc-20010315, but it gives lots of errors when running the test suite. As a comparison I have compiled the same snapshot under gcc-2.9.5.2 (the result is on agnes) and it gives zero error for the test suite.
You need to add one define in gpc.c
#define MKTEMP_EACH_FILE
(see gcc.c for example) It's becoming evident if You run gpc -v --automake .... and view what it spits out.
OK. With this change and the previous replacements of cpp by cpp0, I am able to do a native djgpp build of gpc-20010331. It gives zero error when running the whole test suite, the gpc demos programs and the grx24 pascal demo programs.
I did build build of gcc-2.95.3 together with gpc-20010409 (after fixing some small source problems, see gcc2953s2.zip for details) for DJGPP under Linux. Seems that it works Ok.
Compiler binaries for DJGPP (built under Linux): http://www.ltn.lv/~pavenis/gpc2953s.zip Output of tests http://www.ltn.lv/~pavenis/make.out
Updated version of gcc2953s2.zip http://www.ltn.lv/~pavenis/gcc2953s2.zip (native building is not really tested)
Andris