www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/05/17:00:10

From: "James Whitmire" <jwhitmir AT netscape DOT net>
Newsgroups: comp.os.msdos.djgpp
References: <qypH9.657$bH DOT 70595 AT news DOT alltel DOT net> <3DEE8C90 DOT DADB8AFC AT yahoo DOT com>
Subject: Re: installing gpc under djgpp
Lines: 49
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: <1RPH9.10$iT6.33092@news.alltel.net>
Date: Thu, 05 Dec 2002 21:48:45 GMT
NNTP-Posting-Host: 162.40.203.15
X-Complaints-To: abuse AT alltel DOT net
X-Trace: news.alltel.net 1039124925 162.40.203.15 (Thu, 05 Dec 2002 15:48:45 CST)
NNTP-Posting-Date: Thu, 05 Dec 2002 15:48:45 CST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

My REAL problem concerns configuring DJGPP to find the paths to the the
djgpp.ver
file and the libraries. The code in 'hello.pas' was simply a short program
for illustration
purposes.  I added the changes anyway and instead compiled with:

=> gpc hello.pas

and got: 'gpcpp.exe: djgpp.ver: No such file or directory (ENOENT)'

I then copied djgpp from C:\DJGPP\lib\gcc-lib\djgpp\3.2 to the current
directory and
ran
=> gpc hello.pas

and got: 'c:/djgpp/bin/ld.exe: cannot find -lgcc'

Has anyone had this problem with compiling under DJGPP?

"CBFalconer" <cbfalconer AT yahoo DOT com> wrote in message
news:3DEE8C90 DOT DADB8AFC AT yahoo DOT com...
> James Whitmire wrote:
> >
> ... snip ...
> >
> >  But not Hello.pp =>
>                  ^^----- THIS doesn't
> >
> >    Program Hello;
> >    begin
> >      Writeln('Hello World');
> >    end.
> >
> >  using "gpc -o hello.exe hello.pas"
>                                  ^^^ quite match THIS
> >
> >    I get this =>
> >      "gpcpp.exe: djgpp.ver: No such file or directory (ENOENT)"
>
> and you also SHOULD start with "program hello(input, output);
>
> --
> 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