• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode-users Digest, Vol 2, Issue 249
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode-users Digest, Vol 2, Issue 249


  • Subject: Re: Xcode-users Digest, Vol 2, Issue 249
  • From: Grant Jacobs <email@hidden>
  • Date: Thu, 09 Jun 2005 10:26:20 +1200

Title: Re: Xcode-users Digest, Vol 2, Issue 249

There is also GNU Pascal at: http://www2.gnu-pascal.de/gpc/h-index.html

There is a Mac OS X version and I believe there are Carbon headers, but you're best to ask on their list as my knowledge of this is fuzzy. I use this compiler, but only to support a very old command-line application on Linux.

This compiler is gcc-based and is (very) actively maintained.

Grant Jacobs

------------------------------

Message: 11
Date: Wed, 8 Jun 2005 09:17:28 +0200
From: Jonas Maebe <email@hidden>
Subject: Re: Pascal app in Xcode Universal Binary?
To: XCode Users <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed


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

--
-------------------------------------------------------------------
Grant Jacobs Ph.D.                                     BioinfoTools
ph. +64 3 478 0095  (office, after 10am)               PO Box 6129,
or  +64 27 601 5917 (mobile)                               Dunedin,
email@hidden                               NEW ZEALAND.
   Bioinformatics tools: deriving knowledge from biological data
Bioinformatics tools - software development - consulting - training
Check out the website for more details: http://www.bioinfotools.com

The information contained in this mail message is  confidential and
may be legally privileged.  Readers of this message who are not the
intended recipient are hereby notified that any use, dissemination,
distribution or reproduction of this message is prohibited.  If you
have received this message in error please notify the sender immed-
iately and destroy the original message.  This applies also to  any
attached documents.
 _______________________________________________
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

  • Prev by Date: Re: Const qualifier conversion warnings
  • Next by Date: Re: NSInstallLinkEditErrorHandlers() does not work in Tiger.
  • Previous by thread: Re: Xcode 2.1 debugger grief
  • Next by thread: Re: NSInstallLinkEditErrorHandlers() does not work in Tiger.
  • Index(es):
    • Date
    • Thread