Hi everyone;
Just recently I tried to compile and install the latest revision of gpc on our Solaris 9 systems. When I follow the instructions, all seems to go well, but I suspect it doesn't. No gpc executable is produced at all, instead it seems that the "configure" script is not properly acting on the --enable-languages=pascal directive, and produces just the default compilers. Does anyone have experiences with this type of glitch?
Thanks in advance, Hartmut
------------------------------------- | Hartmut Schmider | | Scientific Computing Specialist | | HPCVL, Queen's University | | Kingston, Ontario, CANADA K7L 3N6 | | hs7@post.queensu.ca | | phone (613) 533 6000 ext 78252 | | FAX (613) 533 2015 | -------------------------------------
Hi everyone;
Just recently I tried to compile and install the latest revision of gpc on our Solaris 9 systems. When I follow the instructions, all seems to go well, but I suspect it doesn't. No gpc executable is produced at all, instead it seems that the "configure" script is not properly acting on the --enable-languages=pascal directive, and produces just the default compilers. Does anyone have experiences with this type of glitch?
Have you looked carefully at point 2 in: http://www.gnu-pascal.de/gpc/Compiling-GPC.html
You need to move (or symlink) gpc sources into gcc source tree.
If you follow instructions you will be asked in step 3 (by configure) if you want to patch gcc sources -- patching in necessary to build gpc. If there was no question then you did not follow the instruction (it is possible to apply the patch manually, to avoid the question). Most probably you did not move the sources to the corect place -- gpc source should be in the `p' subdirectory of the gcc-3.2.2/gcc directory (assuming you build gpc based on gcc-3.2.2), paralel to subdirectories for other languages (`ada', `cp', `f', `java', `objc'). If Pascal configuration was sucessfull you should see file `gcc-version.h' in the `gcc' subdirectory of the directory from which you run `configure'
If that does not help you should give more details: -- version of gcc sources -- exact commands you used to unpack the sources (and move gpc sources to correct place) -- exact `configure' commands line.
Thanks again for the help. I figured out what went wrong; I had copied the Pascal source into the wrong sub-directory. I redid it and it installed OK.
Regards, Hartmut