From: peter AT agnes DOT dida DOT physik DOT uni-essen DOT de (Peter Gerwinski) Newsgroups: comp.os.msdos.djgpp Subject: Re: Turbo Pascal -> DJGPP translator Date: 26 Dec 1996 16:31:31 GMT Organization: Universitaet Essen, Germany Lines: 33 Message-ID: <59u993$9vl@sun3.uni-essen.de> References: <32c0c187 DOT 49468632 AT nntp DOT southeast DOT net> <59u1kv$rt6 AT nexp DOT crl DOT com> Reply-To: peter DOT gerwinski AT uni-essen DOT de NNTP-Posting-Host: agnes.dida.physik.uni-essen.de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Weiqi Gao (weiqigao AT crl DOT com) wrote: > murray AT southeast DOT net (Murray Stokely) wrote: > > Has the GNU Pascal Translator been ported to DOS? If you mean the p2c Pascal->C converter: It has been ported to EMX and runs on OS/2 systems; perhaps it also runs on DOS which is also supported by EMX. On a Hobbes mirror (or CD) look out for "EMX". I haven't yet seen a DJGPP version. P2c is compatible to Turbo Pascal *without* object extensions. GNU Pascal, the GNU Pascal *compiler* (which does produce executable files, no C source) *is* ported to DJGPP, and it has object extensions. However it is only ~80% Borland compatible, so you will have to modify your source - but it's portable to other platforms (e.g. Linux), so it is probably worth the effort. > The closest thing I've seen is the GNU Pascal compiler with "Turbo > Pascal extensions" (turbo??b.zip) at the > ftp://ftp.simtel.com/pub/simtelnet/gnu/djgpp/v2gnu directory. The most recent version is 2.0 and is named gpc20b.zip (binaries) or gpc20s.zip (source). If you cannot find it at your SimTel mirror, you can get it at ftp://kampi.hut.fi/jtv/gnu-pascal/. More information is at http://home.pages.de/~GNU-Pascal/. Hope this helps, Peter e-mail: peter DOT gerwinski AT uni-essen DOT de home address: D\"usseldorfer Str. 35, 45145 Essen, Germany WWW: http://agnes.dida.physik.uni-essen.de/~peter/