Hello, I tried to port GPC on Darwin PPC / Mac OS X with some unresolved problems. All steps are described on my Web site : http://perso.wanadoo.fr/Blady. And I have sollicited many mail lists without success for the moment. I will glad to talk about that with other candidates for this port.
Regards, Pascal Pignard.
Is this project still alive?
I'd like to know if anybody has tried porting gpc to Darwin PPC. Mac OS X has a very large and extensive pascal library called Carbon. It's written in C but all functions are extern pascal. Currently pascal programmers wanting to write applications for OS X have to use an old version of Code Warrior in MacOS and compile a PEF executable. This situation isn't very convenient to say the least. C/C++ programmers can use gcc to compile Mach-O executables, the native binary format for OS X.
(pascal used to be the native programming language for MacOS, but has fallen in favor of C using extern pascal functions and pascal strings. Carbon is a huge library consisting of nearly all APIs accumulated over the decades, and some which were not included have 3rd party implementations like QD3D. Quite possibly this is the largest and most complete set of APIs with pascal interfaces)
As an added benefit it should be possible to adapt Project Builder, the free OS X IDE, for compiling pascal applications. It's already been adapted to compile C++, Java and AppleScript. It already uses gdb for ObjC/C/C++ debugging. Perhaps the old MacApp Object Pascal framework can be revived, if gpc was ported. There is certainly potential for a pascal renaissance given a free compiler coupled with this extensive pascal-based API.
I'm not an expert in gcc internals so I'm not sure if I could do it myself.