Re: Pascal app in Xcode Universal Binary?
Re: Pascal app in Xcode Universal Binary?
- Subject: Re: Pascal app in Xcode Universal Binary?
- From: Jonas Maebe <email@hidden>
- Date: Wed, 8 Jun 2005 09:17:28 +0200
On 8 jun 2005, at 05:08, Chris Espinosa wrote:
What Pascal compiler works with Carbon headers? CodeWarrior
dropped Pascal support generations ago, as did Apple in MPW.
Nonetheless, CodeWarrior Pascal is still used by several people. It's
no longer supported, but it still works (I've heard it does anyway,
I've never used CodeWarrior myself).
Anyway, one alternative may be a project I work on: the Free Pascal
Compiler. See http://www.freepascal.org. The compiler is GPL like
gcc, the run time library (which is mainly a wrapper around libc on
Darwin/Mac OS X) is LGPL (so it's no problem to develop closed source
programs with it).
We already support large parts of the Mac Pascal dialect, we support
the calling convention used by Metrowerks Pascal (pass all const
parameters by value), and can compile Carbon apps using the Universal
Interfaces. Someone also created an XCode Integration kit, available
from http://www.surtec.com/~rj/Xcode-FreePascal (I haven't checked
yet whether it still works with XCode 2.1)
Since
a) we have (among others) PowerPC and x86 code generators (we are not
gcc-based, the compiler itself is also written entirely in Pascal)
b) we support (among others) Darwin/ppc and Linux/x86
c) the Darwin/x86 abi is closely based on the System V x86 abi (which
is also used by Linux/x86)
I expect that adding Darwin/x86 support will not be too difficult.
I'm already in contact with a commercial developer (who also has a
large amount of Pascal code to migrate) who will provide me with
shell access to one of these development Frankenmacs to test/debug.
Jonas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden