jan.ruzicka@comcast.net wrote:
This time the gpc 3.3.2d1 finished the test suite 20041218. The --longjmp-all-nonlocal-labels helped.
The make for tests crashes fairly soon (about 10 tests). I did not try the gpc-20030830 test suite.
I am trying to compile the gpc-20041218 on OSX and update the fink package.
You are entirely free to do so, but may want to wait a little until I update the compiler sources and binaries at my website (that the current fink package is based on). This will include some additional patches.
configuration was throwing an error: configure: error: The following requested languages were not found: pascal The following languages were available: c treelang Configure in /Users/janruzicka/Desktop/downloads/gpc-build/gcc failed, exiting.
The config did not see the config-lang.in for pascal.
find . -name "config-lang.in" in the gcc source directory did not show anything for gcc/p. the p directory had to be copied to gcc.
Can anybody add a note to compilation instructions (http://www.gnu-pascal.de/gpc/Compiling-GPC.html)? the note should say any think like: find . -name "config-lang.in" | xargs grep language= should return a line with pascal: ./gcc/p/config-lang.in:language="pascal" (this would save me fair amount of time of searching around all different manuals)
http://www.microbizz.nl/gpc332d1.src.tar.bz2 includes detailed building instructions.
Now the GPC configures and starts to compile. Next obstacle is bison error in parse.c (USE_ASSERT_RATHER_THAN_ABORT).
You need a special version of bison. Frank Heckenbach can tell you which one.
Lets see the bison package will be updated. (bison-2.0 was released on 04-Jan-2005)
That's it for tonight (this morning).
Jan
Can you give me some more tips for compiling GPC?
Yes, because of differences between fsf-gcc and apple-gcc, it is recommended that you bootstrap the compiler (or install an fsf-gcc first). See the instructions that come with http://www.microbizz.nl/gpc332d1.src.tar.bz2.
Regards,
Adriaan van Os