From: Waldemar Schultz Newsgroups: comp.os.msdos.djgpp Subject: Re: Borland Pascal to C translator Date: Wed, 29 Sep 1999 16:14:16 +0200 Organization: [posted via] Leibniz-Rechenzentrum, Muenchen (Germany) Lines: 47 Distribution: world Message-ID: <37F21EB8.941C3EFE@ma.tum.de> References: NNTP-Posting-Host: pcritter1.mathematik.tu-muenchen.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mozilla 4.6 [de] (Win95; I) X-Accept-Language: de,en-US To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Paul Cockram schrieb: > Hello > > I can recommend gnu p2c. It is available via anonymous ftp from, > csvax.cs.caltech.edu in /pub/p2c-1.20.tar.Z. I have not tried it with > Borland Pascal but I know it does support many types of Pascal. > > Paul Eli Zaretskii schrieb: > On Tue, 28 Sep 1999, Waldemar Schultz wrote: > > > > If you really want to move from Pascal to C and need readable C > > > code, search for p2c. > > > > I have searched for hours, but I didn't find it. > > Do you happen to have the URL? > > ftp://ftp.gnu.org/p2c.README seems to have the answer to this. Hi all who were interested The source is is available via anonymous ftp from, ftp://csvax.cs.caltech.edu/pub/ in p2c-1.20.tar.Z (565KB) After some hours I succeeded in installing it under DOS/DJGPP. was a bit tricky because it is obviously designed to run under a UN*X-like environment using long file names & long extensions & multiple extensions, relying on the existance of /HOME, /BIN, CC, SH, SED and so on... But once installed it works very fine, producing highly readable C-source which is immediately accepted by GCC Thanks to all of you for your efforts in finding it -- Gruss Waldemar Schultz. ___________________________________________________________ Waldemar Schultz Technische Universität München Zentrum Mathematik M1