|||||||||| Free Pascal Compiler? ||||||||||_(re)

Mon, 23 Sep 1996 12:57:19 +0200 (MET DST)


According to Louis Cappitelli:
> 
> On 22 Sep 1996 12:02:40 GMT, in comp.lang.pascal.misc you wrote:
> 
> >Louis Cappitelli (lcappite@sprynet.com) wrote:
> >> Does anybody know if there is one for DOS or win95? I am taking a
> >> course in High School that uses Turbo pascal, but because it's illegal
> >> to copy software, I can't work on my program projects at home and test
> >> them. Is there something like djgpp c++ compiler or something better?
> >
> >Get GNU Pascal.  It runs on the DJGPP platform for DOS and Win95,
> >on the EMX platform for DOS and OS/2 and on any other platform
> >supported by the GNU compiler family (e.g. Linux, FreeBSD).
> 
> I got a question. Does it require DJGPP?

Yes, you need at least the assembler (as), the linker (ld) and some
libraries (libc.a, libm.a, crt0.o, ...) to run the DJGPP version
(for DOS) of the GNU Pascal compiler.  The C compiler is - of course 
- not needed.  However, djgpp is not really a big packet.

You do *not* need DJGPP to run a program *compiled with* GPC.

With EMX, you need the EMX development tools (except, again, the C
compiler) to compile programs; to run a compiled program you also
need the EMX run time system, either an extender program (for DOS)
or a DLL (for OS/2).  But that's not a problem since the EMX license
allows you to distribute the EMX runtime system along with your
program.

By the way, programs compiled with Borland Pascal also need Borland's
runtime system (files RTM.EXE and DPMI16BI.OVL) to run in protected
mode.  Fortunately, Borland allows its licensed users to distribute
them along with their programs.

(Also posted to the GPC mailing list.)

    Peter

      e-mail:  peter.gerwinski@uni-essen.de
home address:  D\"usseldorfer Str. 35, 45145 Essen, Germany
         WWW:  http://agnes.dida.physik.uni-essen.de/~peter/


Peter Gerwinski (peter@agnes.dida.physik.uni-essen.de)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es