delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/09/23:15:17

From: "George Kinney" <gkinney AT bright 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> <1RPH9.10$iT6 DOT 33092 AT news DOT alltel DOT net>
Subject: Re: installing gpc under djgpp
Lines: 77
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Message-ID: <ALdJ9.2574$37.295719@cletus.bright.net>
Date: Mon, 9 Dec 2002 23:07:26 -0500
NNTP-Posting-Host: 216.255.34.99
X-Complaints-To: abuse AT bright DOT net
X-Trace: cletus.bright.net 1039493216 216.255.34.99 (Mon, 09 Dec 2002 23:06:56 EST)
NNTP-Posting-Date: Mon, 09 Dec 2002 23:06:56 EST
Organization: bright.net Ohio
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

You need to follow the instructions in readme.1st precisely.

Let's assume you installed DJGPP in C:\DJGPP, you should have added two
environment variables:
DJGPP = C:\DJGPP\DJGPP.ENV
PATH  = C:\DJGPP\BIN;%PATH%

(or maybe you just tacked the DJGPP part onto your existing path statement.)

If you did these things, it should work correctly.

(FWIW, if you are using win2k/XP,  right click 'My Computer', 'Properties',
'Advanced', 'Environment Variables', and in the 'System Settings' list (the
bottom one) add the DJGPP variable, and modify your path. Reboot your
machine and give it another try. In win3.1/95/98 you edit your autoexec.bat
file.)

Not doing these things correctly is the #1 all time reason new users can't
get DJGPP to work for them.  And don't worry, as long as you got the latest
files from either the simtel site or the clio site,  they should work with
all flavors of windows.

Good luck.

"James Whitmire" <jwhitmir AT netscape DOT net> wrote in message
news:1RPH9.10$iT6 DOT 33092 AT news DOT alltel DOT net...
> 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