Message-ID: <3E025D9D.DB9C10D@yahoo.com> From: CBFalconer 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: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 > > 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. USE worldnet address!