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.
update: MacApp, an application framework with Object Pascal interfaces, has been updated for Carbon.
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.
At 9:22 PM +0200 10/7/01, pascal.pignard wrote:
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.
That URL didn't work
Sorry for the misspelling of the URL. Right one is : http://perso.wanadoo.fr/blady.
Do you think that some problems may come from the source differences between Apple GCC and GNU GCC or the use of "DYLD" by Darwin ?
Why "Non-Darwin" developers don't want to merge the differences from Apple, as they do for many other systems ?
Have you some detailed explanations for the following terms : DYLD, ELF, AFAIK.
Thank's for your reply.
Regards, Pascal Pignard.
At 9:22 PM +0200 10/7/01, pascal.pignard wrote:
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.
That URL didn't work
At 8:44 PM +0200 10/13/01, pascal.pignard wrote:
Sorry for the misspelling of the URL. Right one is : http://perso.wanadoo.fr/blady.
Do you think that some problems may come from the source differences between Apple GCC and GNU GCC or the use of "DYLD" by Darwin ?
With respect to GNU Pascal, I have no idea.
Why "Non-Darwin" developers don't want to merge the differences from Apple, as they do for many other systems ?
Because the changes only effect the Darwin platform, not ELF-based platforms.
Have you some detailed explanations for the following terms : DYLD, ELF, AFAIK.
DYLD is the dynamic link editor
ELF stands for Executable and Linking Format and is the executable layout used by SVR4
AFAIK means as far as I know