From: sct@dcs.ed.ac.uk (Stephen Tweedie) Subject: Re: Pascal on Linux ? Date: 1 Feb 1993 15:56:17 GMT
> Michael Tiede (a2tiede@rzdspc24.informatik.uni-hamburg.de) wrote on 26 Jan 93 12:07:28 GMT in comp.os.linux:
> : Hi folks !
> : Some weeks ago I read something about a GNU Pascal.
> : Has anyone heard anything about it or is there any kind
> : of Pascal running under Linux ?
I don't know of a direct Pascal compiler, but there is a Gnu
pascal-to-C translator which you should be able to get from just about
any gnu ftp archive. It's called "p2c", and is pretty comprehensive;
it understands various dialects (such as Turbo and Vax/VMS pascal, and
Modula-2), including module management.
It's a while since I compiled it myself, but I can't remember having
any trouble - it was pretty much OK just out-of-the-box. It also
produces very pretty output; it formats the C sensibly and preserves
comments. There are a large number of configuration options
available, so it should be sufficient for most purposes.
Cheers,
Stephen Tweedie.