delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/03/22:39:19

From: peter AT agnes DOT dida DOT physik DOT uni-essen DOT de (Peter Gerwinski)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: djgpp pascal and dll
Date: 3 Oct 1996 23:54:19 GMT
Organization: Universitaet Essen, Germany
Lines: 29
Message-ID: <531jnb$o3d@sun3.uni-essen.de>
References: <3253540D DOT 5C4C AT netime 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

derek greene (topcoder AT netime DOT com) wrote:
> hi i need help using the djgpp port of the gnu pascal compiler (gpc) how
> do use it? what command line options can i use?

About the same as with gcc.

To compile a program "hello.pas", type

    gpc hello.pas -o hello.exe

To use full optimization and to generate debugging information, type

    gpc -g -O3 hello.pas -o hello.exe

The actual version (2.6.3) of GPC comes with a file GPC.GUI[DE] which
is the most complete documentation.  There is a beta-2.7.2 version
coming with INFO documentation.  Also check the GPC home page

    http://home.pages.de/~GNU-Pascal/

which contains on-line documentation.

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019