| delorie.com/archives/browse.cgi | search |
| From: | "James Whitmire" <jwhitmir AT netscape DOT net> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Installation problem under DJGPP |
| Lines: | 38 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 6.00.2800.1106 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
| Message-ID: | <WzO1a.11653$u12.3569423@news.alltel.net> |
| Date: | Mon, 10 Feb 2003 14:21:42 GMT |
| NNTP-Posting-Host: | 162.40.236.202 |
| X-Complaints-To: | abuse AT alltel DOT net |
| X-Trace: | news.alltel.net 1044886902 162.40.236.202 (Mon, 10 Feb 2003 08:21:42 CST) |
| NNTP-Posting-Date: | Mon, 10 Feb 2003 08:21:42 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 hello.c";
But not
Program Hello;
begin
Writeln('Hello World');
end.
using "gpc 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 Whitmire.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |