delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/19/20:16:18

Message-ID: <3E025D9D.DB9C10D@yahoo.com>
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: compiling gnu pascal under djgpp
References: <ohlM9.35$T5 DOT 65150 AT news DOT alltel DOT net>
Lines: 40
Date: Fri, 20 Dec 2002 01:01:38 GMT
NNTP-Posting-Host: 12.90.173.236
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1040346098 12.90.173.236 (Fri, 20 Dec 2002 01:01:38 GMT)
NNTP-Posting-Date: Fri, 20 Dec 2002 01:01:38 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

James Whitmire wrote:
> 
> I installed gpc on a Win2K PC with DJGPP.
> 
> 1) It will compile a Hello.c =>
> 
>    #include <stdio.h>
> 
>    int main(void) {
>      printf("Hello World\n");
>      return 0;
>    }
> 
>  using "gcc -o hello.exe hello.c";
> 
>  But not
>    program hello(input, output);
>    begin
>      Writeln('Hello World');
>    end.
> 
>  using "gpc hello.pas"

... snip ...

I suggest you get gpc321.zip from:

  http://www.gnu-pascal.de/contrib/maurice

and install it AFTER you have installed gcc321b.zip from the usual
simtel locations.  GPC is dependant on having the right gcc
version available.  Installation is simply unzipping from the
DJGPP base directory.

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!


- Raw text -


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