www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/09/19:15:24

From: Peter Gerwinski <peter AT gerwinski DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Comping Pascal with GCC
Date: 9 Apr 1999 00:28:30 GMT
Organization: (_G-N-U_) GmbH
Lines: 22
Message-ID: <7ejhje$mjk$4@tim.gerwinski.de>
References: <19990408115204 DOT 02717 DOT 00000060 AT ng03 DOT aol DOT com>
NNTP-Posting-Host: esmeralda.gerwinski.de
X-Server-Date: 9 Apr 1999 00:28:30 GMT
User-Agent: tin/pre-1.4-980618 (UNIX) (Linux/2.2.5 (i586))
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eclwarcl <eclwarcl AT aol DOT com> wrote:
> I have heard that gcc can compile pascal code as well as c and c++. I wrote a
> small pascal program and tried to compile it but it just said bad command or
> file name. Can anyone help?

You need to download and install the GNU Pascal compiler, GPC.
Please get v2gnu/egcs/gpce112b.zip from your favourite DJGPP
mirror.

Anyway I recommend to invoke the Pascal compiler through `gpc'
and not `gcc' because it can handle some special features of
Pascal such as automatic `make'.

Hope this helps,

    Peter

-- 
Peter Gerwinski, Essen, Germany, http://home.pages.de/~Peter.Gerwinski/
Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-19990118
  PGP key on request - 6C 94 45 BE 28 A4 96 - 0E CC E9 12 47 25 82 75
*** Vote against SPAM! ********* http://www.politik-digital.de/spam/ ***

- Raw text -


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