Hi All, Just a quick note to say that I have just checked into CVS the last JEDI-SDL ( http://sourceforge.net/projects/jedi-sdl/ ) changes ( for now ) that has added compatability for the Gnu Pascal and TMT Pascal compilers.
Thanks to Alexey "Clootie" Barkovoy for his help with TMT support. Thanks to Prof. Abimbola "The Chief" Olowofoyeku and Eike Lange for their help with Gnu Pascal support. Thanks to Mr "Que Pasha Pepe" Kroket for his help with better FreePascal support.
These latest changes have been tested under Windows and the newly modified JEDISDL Aliens demo ( the benchmark for cross-compiler compatability ) has also been checked into CVS.
These Pascal bindings and the demo now compile flawlessly under Delphi, FreePascal ( FPC ) 1.0.4, Gnu Pascal ( GPC ) Latest Alpha & TMT Pascal.
The Aliens Demo runs flawlessly with Music and FX under Delphi, FPC and TMT. The GPC version has a screen refresh problem, while sound collision detection etc work flawlessly. The GPC issue, may be due to the Alpha status of the compiler or my lack of familiarity with the GPC compiler, as all compilers are essentially compiling the same code.
Looking ahead, testing and bug fixing is under way to make sure the headers support Gnu Pascal on Linux and MacOS X ( yes MacOS, woo hoo ) and FreePascal under Linux.
I hope this widens the appeal of JEDI-SDL.
Dominique http://www.DelphiGamer.com := go on, write a game instead;
Dominique Louis wrote:
Just a quick note to say that I have just checked into CVS the last JEDI-SDL ( http://sourceforge.net/projects/jedi-sdl/ ) changes ( for now ) that has added compatability for the Gnu Pascal and TMT Pascal compilers.
You might consider adding a note to your announcement about what this thing is. I have no idea whether or not I am interested.
Copied from Apple's ProjectBuilder forum.
Perhaps Adriaan or someone else could help this guy out. I'd be curious in the answer myself.
Grant
Message: 5 Date: Thu, 24 Apr 2003 20:12:30 +0200 From: Alain RAZAKARIVONY razakar2@etu.unige.ch Subject: Pascal and Project Builder To: projectbuilder-users@lists.apple.com
Hi !
I wish to use Project builder to run pascal. I have GNU Pascal for os X.
I know that GNU pascal has ino integration with Project Builder and Interface Builder.
I wonder if it is possible to build a new project (let say mypascal) and tell builder that to Build it, it should use gpc .
So I wish to use gpc in builder, instead of using terminal.
Thanks .
Alain
Grant Jacobs wrote:
Copied from Apple's ProjectBuilder forum.
Perhaps Adriaan or someone else could help this guy out. I'd be curious in the answer myself.
It is possible to use gpc with ProjectBuilder, but I am still working on it. However, if you or someone else wants to take over, I can concentrate on the CodeWarrior gpc compiler plug-in, that is also on my todo list.
This is what I found so far:
* ProjectBuilder uses a modified version of jam for building. This implies adding rules for .pas files in the scripts found in /Developer/MakeFiles and /Developer/ProjectBuilder Extras and edit some of the stuff found in /System/Library/PrivateFrameworks/PBXCore.framework/Versions/A/ Resources.
* The simpler way is to forget about Apple modified jam and use GNU Makefiles instead. Try this.
1. Create a new Project (menu File) 2. Add a new target (menu Project) and choose the option "Legacy Makefile" (what a word) 3. Choose the Targets tab in the PB main window and edit General Settings and Custom Build Command, adding a GNU Makefile. 4. A starting point for the Makefile is the one included with the GPC Pinterfaces installer for the SillyBalls example, but I have improved it since (it is still evolving).
Once we have added template files for GPC, this will be even simpler.
* A major problem is that source level debugging doesn't work. A have to look into this further, but the cause may be that the GDB files for GPC are incomplete and/or incorrect.
* Apple has let me know that "the integration possibilities with Project Builder will be improving over the next few releases".
Please feel free to pass this information on to the ProjectBuilder mailing list.
Regards,
Adriaan van Os