ivelegacy wrote:how to make it to work under Irix ?
i got a lot of errors because crt1, crtbegin, etc are missing
and things put into the wrong place)
OK, I had a look. Haven't looked at Pascal in 15 years or so, but hey ...
GNU Pascal, like Fortran, Ada and a couple of other languages is (was?) an add-on to GCC. you need(ed) the matching, and patched, GCC compiler version to build it, and to run it.
That's why there are two versions on the download page: one with the GCC version included, and one without. That's also where they screwed up
. Neither of these two packages includes the CRT files you mention, crtbegin.o and crtend.o. GCC (and GPC) will not work without.
I copied them from a GCC 3.4.6 into the correct directory for GPC (where libcgcc.a is) and then it works. At least, it works enough to compile a working hello world program.
Now, normally copying binary code around between different compiler versions is considered evil. YMMV. You may also wonder how much of your time you want to invest in a compiler where the last version is based on GCC 2.something, incomplete and nobody bothered to fix that in 13 years.