delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/18/07:46:01

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Programming
Date: 18 Oct 2000 11:34:54 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 39
Message-ID: <8sk1su$jai$1@nets3.rz.RWTH-Aachen.DE>
References: <001b01c03860$e5469d40$2813ddcc AT default> <001101c03865$c3743880$2813ddcc AT default>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 971868894 19794 137.226.32.75 (18 Oct 2000 11:34:54 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 18 Oct 2000 11:34:54 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Josh Haglund <lhaglund AT wiktel DOT com> wrote:
> I'm tring to compile my chess program with djgpp, of course.

> and this is what I have so far... I can compile some other things, but it's
> been awhile... somethings just slip my mine...

> I have a .bat file..

> DJGPP=c:\djgpp\djgpp.env
> PATH=c:\djgpp\bin

If *that* is actually the content of that batch file, that's the
reason for your problem. I just wonder how you could not have noticed
the error message you should have got when executing that batch file.

Make that

	set DJGPP=c:\djgpp\djgpp.env
	set PATH=c:\djgpp\bin;%PATH%

and be sure this really got executed, by typing 'set' to check the
values of variables, before you try to call 'make'.

> c.o:
>  $(CC) $(CFLAGS) $(opts) -c $*.c

I take it that this probably is not what's really in your makefile,
but rather your mailer removing leading '.'s from your message text.

> Fatal:  Error in DJGPP instalation
>           Environment variable DJGPP in not defined

You copied that manually, rather than copy-pasting, right? Otherwise,
it'd be hard to understand where that typo comes from ('is' not
defined it should read).

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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