Re: pascal for linux
On Thu, 2 Sep 1999, Johann Spies wrote: > I have a program called PTOC which I have downloaded more than a year ago. > The README provides an email address: [EMAIL PROTECTED] I did > not use it a lot, but it was a lot better than a program called p2c which > was available as a debian package long ago. Thanks for the lead. After a quick AltaVista search, I found Knizhnik's home page at the address below. If you scroll most of the way down, there's a "ANSI/Turbo Pascal to C/C++ converter" section with links to the source in .tar.gz http://www.ispras.ru/~knizhnik/ Hope this helps, Patrick
Re: pascal for linux
On Wed, 1 Sep 1999, Patrick Olson wrote: > > On Wed, 1 Sep 1999, Kenneth Scharf wrote: > > > I was looking at porting a pascal program from dos to linux. Besides > > having to write a device driver (as it twiddles the printer port > > directly) I would have to fix all references to the Borland runtime lib > > stuff. I don't think that dosemu would fix all this (does dosemu allow > > direct access to hw?). I think I might just re-write the thing into C > > and have an easier time. (Wasn't there a Pascal-to-C converter package > > somewhere? Thought I saw it in Bo or Hamm) > > I kind of doubt dosemu would be happy about your program trying to access > the hardware directly, but I don't know for sure. There is f2c, a > Fortran-to-C converter, but I am not aware of one for Pascal-to-C. If > you're feeling ambitious, I'm sure no one would mind if you wrote a > converter. Wish I could help, but I don't really know programming. I have a program called PTOC which I have downloaded more than a year ago. The README provides an email address: [EMAIL PROTECTED] I did not use it a lot, but it was a lot better than a program called p2c which was available as a debian package long ago. Johann -- | Johann Spies Windsorlaan 19 | | [EMAIL PROTECTED]3201 Pietermaritzburg | | Tel/Faks Nr. +27 331-46-1310 Suid-Afrika (South Africa) | -- "But God said to him, You fool! This very night your soul is required of you; and now who will own what you have prepared? So is the man who lays up treasure for himself, and is not rich toward God." Luke 12:20,21
Re: pascal for linux
On Wed, 1 Sep 1999, Kenneth Scharf wrote: > I was looking at porting a pascal program from dos to linux. Besides > having to write a device driver (as it twiddles the printer port > directly) I would have to fix all references to the Borland runtime lib > stuff. I don't think that dosemu would fix all this (does dosemu allow > direct access to hw?). I think I might just re-write the thing into C > and have an easier time. (Wasn't there a Pascal-to-C converter package > somewhere? Thought I saw it in Bo or Hamm) I kind of doubt dosemu would be happy about your program trying to access the hardware directly, but I don't know for sure. There is f2c, a Fortran-to-C converter, but I am not aware of one for Pascal-to-C. If you're feeling ambitious, I'm sure no one would mind if you wrote a converter. Wish I could help, but I don't really know programming.
Re: pascal for linux
Wednesday, September 01, 1999, 12:42:19 PM, Kenneth wrote: > I was looking at porting a pascal program from dos to linux. Besides > having to write a device driver (as it twiddles the printer port > directly) I would have to fix all references to the Borland runtime lib > stuff. Take a look at FPC then. http://www.brain.uni-freiburg.de/~klaus/fpc/fpc.html Of the two, GPC and FPC, I much prefer FPC as it is written in Pascal and tries to comply as much as possible with Borland's implementation. > Debian Gnu Linux, Live Free or . I did see a New Hampshire license plate today. Laughed my butt off remembering the Carlin skit surrounding it. -- Steve C. Lamb | I'm your priest, I'm your shrink, I'm your ICQ: 5107343 | main connection to the switchboard of souls. ---+-
Re: pascal for linux
>> I have Pascal for Dos, but my OS (Sistema >>Operacional) is Linux, and >>I >> like how install in linux. >Debian has a Pascal compiler. Look for the package >gpc (and gpc-doc >for >the doc's). > >Alternatively, if you really want to run your DOS >Pascal, you might try >dosemu. I was looking at porting a pascal program from dos to linux. Besides having to write a device driver (as it twiddles the printer port directly) I would have to fix all references to the Borland runtime lib stuff. I don't think that dosemu would fix all this (does dosemu allow direct access to hw?). I think I might just re-write the thing into C and have an easier time. (Wasn't there a Pascal-to-C converter package somewhere? Thought I saw it in Bo or Hamm) === Amateur Radio, when all else fails! http://www.qsl.net/wa2mze Debian Gnu Linux, Live Free or . __ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com
Re: pascal for linux
Wednesday, September 01, 1999, 10:19:35 AM, Patrick wrote: > Debian has a Pascal compiler. Look for the package gpc (and gpc-doc for > the doc's). There's also fpc which is my preference since it is built from itself while gpc uses, IIRC, parts of gcc. > Alternatively, if you really want to run your DOS Pascal, you might try > dosemu. Speaking of dosemu, has anyone ever gotte lredir to work on a directory? -- Steve C. Lamb | I'm your priest, I'm your shrink, I'm your ICQ: 5107343 | main connection to the switchboard of souls. ---+-
Re: pascal for linux
> I have Pascal for Dos, but my OS (Sistema Operacional) is Linux, and I > like how install in linux. Debian has a Pascal compiler. Look for the package gpc (and gpc-doc for the doc's). Alternatively, if you really want to run your DOS Pascal, you might try dosemu. Hope this helps, Patrick
pascal for linux
I have Pascal for Dos, but my OS (Sistema Operacional) is Linux, and I like how install in linux.
Re: Thanks: Pascal for Linux?
On Wed, Nov 25, 1998 at 07:52:48PM -0600, Alexander Kushnirenko wrote: > Free Pascal has RPM, but no DEB package I think we may want to have > it... By Jeff Shilt ([EMAIL PROTECTED]): (223 Days in Creation) FPK Pascal -- Steve C. Lamb | Opinions expressed by me are not my http://www.calweb.com/~morpheus| employer's. They hired me for my ICQ: 5107343 | skills and labor, not my opinions! ---+- pgp1Cocj8hK6w.pgp Description: PGP signature
Thanks: Pascal for Linux?
Hi, Thanks for the info. I just tried both. IMHO Free Pascal is better, it knows Borland procedures from CRT unit for example, GNU does not (well that was not their goal, as they say). Compatibility with Borland Turbo Pascal is imprortant to me, so I would prefer Free Pascal. Free Pascal has RPM, but no DEB package I think we may want to have it... Sasha. > Alexander Kushnirenko wrote: > > > Just wondering is there Pascal compiler for Linux? preferable free? close to > > Turbo Pascal 6? > > There are a couple of compilers out there... GNU has one, but I think > this is a little better... > > (it's syntactically compatible with turbo pascal 7). > > http://www.brain.uni-freiburg.de/~klaus/fpc/ > > I don't know if there is a deb package for this or not... I haven't > looked. > > > Happy hacking, > > Nate
Re: Pascal for Linux?
On Wed, Nov 25, 1998 at 05:18:54PM -0600, Alexander Kushnirenko wrote: > Just wondering is there Pascal compiler for Linux? preferable free? close to > Turbo Pascal 6? http://gd.tuwien.ac.at/languages/pascal/fpc/www/fpc.html -- Steve C. Lamb | Opinions expressed by me are not my http://www.calweb.com/~morpheus| employer's. They hired me for my ICQ: 5107343 | skills and labor, not my opinions! ---+- pgpviMIV7s45g.pgp Description: PGP signature
Re: Pascal for Linux?
On Wed, Nov 25, 1998 at 05:18:54PM -0600, Alexander Kushnirenko wrote: > Hi, > > Just wondering is there Pascal compiler for Linux? preferable free? close to > Turbo Pascal 6? Don't know if there are alternatives. [EMAIL PROTECTED]:~/debian/glibc/libc$ dpkg --print-avail gpc Package: gpc Priority: optional Section: devel Installed-Size: 2440 Maintainer: Galen Hazelwood <[EMAIL PROTECTED]> Architecture: i386 Source: egcs (1.1.0.91.58-3) Version: 2.91.58-3 Replaces: gpc-ss (<< 2.91.59) Provides: pascal-compiler Depends: libc6 (>= 2.0.7u), g++ (>= 2.91.58), g++ (<< 2.91.59) Suggests: egcs-docs (>= 2.91.58) Filename: dists/unstable/main/binary-i386/devel/gpc_2.91.58-3.deb Size: 1179986 MD5sum: 8531095aec2c09c5d124707937fdf1f8 Description: The GNU (egcs) Pascal compiler. This is the egcs version of the Pascal compiler, which compiles Pascal on platforms supported by the gcc compiler. It uses the gcc backend to generate optimized code. . The current release 2.1 implements Standard Pascal (ISO 7185, level 1), a large subset of Extended Pascal (ISO 10206), and Borland Pascal. -- "Rhubarb is no Egyptian god."Debian GNU/Linuxfinger brinkmd@ Marcus Brinkmann http://www.debian.orgmaster.debian.org [EMAIL PROTECTED]for public PGP Key http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/ PGP Key ID 36E7CD09
Pascal for Linux?
Hi, Just wondering is there Pascal compiler for Linux? preferable free? close to Turbo Pascal 6? Thanks, Sasha.
Re: PASCAL for Linux
On Wed, 28 May 1997, Leandro Asnaghi-Nicastro wrote: > I've been trying to download a PASCAL compiler for Linux and I've been > unsuccesful. Every site I've gone to either has the wrong link on their The two major FREE Pascal compilers available are GNU and FPK Pascal. I've tried them both, and IMHO GNU works much more reliable. See for yourself. Their respective web pages lists FTP-sites and mirrors. (btw, did you actually web search for this?? that is a very effecient method which should not be underestimated) GNU Pascal web page: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/ FPK Pascal web page: http://tfdec1.fys.kuleuven.ac.be/~michael/fpk.html // Jonas <[EMAIL PROTECTED]> [2:201/262.37] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: PASCAL for Linux
>You want gpc and gpc-doc, about 1.5 mb total. If you can't get them by ftp >from ftp.debian.org or a mirror site, tell me what does actually work on a >WinNT server (http?) and I will see what I can do to help. I absolutely >hate pascal, but I'm compassionate :) Thank you for your quick and kind answer =) I'll try again today FTPing them. Even our mail server (NTMail) yesterday was having rather unusual (yet common) problems. We have several Dual Pentium Pros with 128 megs of RAM and they can barely run the applications we tell them to. One P166 is running everything by itself and has lots of processing time left. It is embarassing. I want to convert myself from a Win95 to a Linux user. As for Pascal, I would like to learn some programming for myself, but I am not ready to go into C or C++ yet.. so I'll start from little =) Leandro+ ___ Leandro Asnaghi-Nicastro (LA672) Assistant to the Editor and Localization, GAMESMANIA Internet Frontier Email: [EMAIL PROTECTED] Tel: (416) 656-2659 Fax: (416) 656-0863 Swedish Chef Song Yorn desh born, der ritt de gitt der gue, Orn desh, dee born desh, de umn bork! bork! bork! ZimID 46B98555 1993/12/15 0D 6E 96 68 D6 B3 9A 96 20 ED 1F AF 11 46 13 79 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: PASCAL for Linux
On Wed, 28 May 1997, Leandro Asnaghi-Nicastro wrote: > Sorry for my previous request which apparently was sent to the wrong > distribution list (many apologies to Pete Templin who kindly pointed it > out to me). > I've been trying to download a PASCAL compiler for Linux and I've been > unsuccesful. Every site I've gone to either has the wrong link on their > html or I am denied the FTP transfer. I am assuming that this is a > problem with our WinNT server. Anyone has ideas of where I could > download this program? I've tried linux.org with their software map > engine which failed, and I also went on sunsite. > > Thank you all for your patience and help. You want gpc and gpc-doc, about 1.5 mb total. If you can't get them by ftp from ftp.debian.org or a mirror site, tell me what does actually work on a WinNT server (http?) and I will see what I can do to help. I absolutely hate pascal, but I'm compassionate :) +--+ + Paul Wade Greenbush Technologies Corporation + + mailto:[EMAIL PROTECTED] http://www.greenbush.com/ + +--+ + http://www.greenbush.com/cds.html Special Linux CD offer + +--+ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: PASCAL for Linux
On Wed, 28 May 1997, Leandro Asnaghi-Nicastro wrote: > I've been trying to download a PASCAL compiler for Linux and I've been > unsuccesful. Um, I'm assuming you're using Debian, since you're asking in debian-user. (grin) Did you try the p2c package, which is a Pascal-to-C translator? Not exactly a Pascal compiler, however it may suit your needs. You don't mention it, so just in case you don't know about it, here's a pointer. . . . G'luck, Kendall -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
PASCAL for Linux
Sorry for my previous request which apparently was sent to the wrong distribution list (many apologies to Pete Templin who kindly pointed it out to me). I've been trying to download a PASCAL compiler for Linux and I've been unsuccesful. Every site I've gone to either has the wrong link on their html or I am denied the FTP transfer. I am assuming that this is a problem with our WinNT server. Anyone has ideas of where I could download this program? I've tried linux.org with their software map engine which failed, and I also went on sunsite. Thank you all for your patience and help. Leandro+ ___ Leandro Asnaghi-Nicastro (LA672) Assistant to the Editor and Localization, GamesMania Internet Frontier, Toronto, Canada Email: [EMAIL PROTECTED] Tel: (416) 656-2659 ext. 425 Fax: (416) 656-0863 Time is an illusion perpetrated by the manufacturers of space. -- graffiti ZimID 46B98555 1993/12/15 0D 6E 96 68 D6 B3 9A 96 20 ED 1F AF 11 46 13 79 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .