delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/04/11:00:14

From: "James Whitmire" <jwhitmir AT netscape DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: installing gpc under djgpp
Lines: 39
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <qypH9.657$bH.70595@news.alltel.net>
Date: Wed, 04 Dec 2002 15:53:58 GMT
NNTP-Posting-Host: 162.40.203.15
X-Complaints-To: abuse AT alltel DOT net
X-Trace: news.alltel.net 1039017238 162.40.203.15 (Wed, 04 Dec 2002 09:53:58 CST)
NNTP-Posting-Date: Wed, 04 Dec 2002 09:53:58 CST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 Hello.pp =>

   Program Hello;
   begin
     Writeln('Hello World');
   end.

 using "gpc -o hello.exe hello.pas"

   I get this =>
     "gpcpp.exe: djgpp.ver: No such file or directory (ENOENT)"

2) Copied djgpp.ver from C:\DJGPP\lib\gcc-lib\djgpp\3.2 to current dir
  and got this =>
     "c:/djgpp/bin/ld.exe: cannot find -lgcc"

  Appears to be some sort of path problem in the gpc installation.
  "libgcc.a" is in same dir as "djgpp.ver".

I've read the FAQ's.  Have correct path "DJGPP => c:\djgpp\djgpp.env".
Copied [gcc] contents to [gpc]in djgpp.env.  Can you give me a possible
next step to investigate?

Jim.


- Raw text -


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