Message-ID: From: "Andris Pavenis" To: eclwarcl AT aol DOT com (Eclwarcl), djgpp AT delorie DOT com Date: Fri, 9 Apr 1999 18:55:12 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Comping Pascal with GCC In-reply-to: <19990408115204.02717.00000060@ng03.aol.com> X-mailer: Pegasus Mail for Win32 (v3.02b14) Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 8 Apr 99, at 15:52, Eclwarcl wrote: > Hello. > > 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? > There is separate executable gpc.exe for compiling Pascal code. There are 2 versions available for DJGPP: v2gnu/gpc20b.zip - old version usable with gcc-2.7.2.1 (some time ago it was said it is for masochists and archeologists only) v2gnu/egcs/gpce112b.zip - version usable with egcs-1.1.2 (don't try it with gcc-2.8.1). So if You wan to use it You should upgrade to egcs-1.1.2. But note that this is beta version and for some included units additional packages are needed. See readme files for more info. You will need also to install v2gnu/egcs/gcce112b.zip (and also other files if You want other languages) Andris