delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/20/04:13:26

Date: Tue, 20 Mar 2001 11:09:35 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Aleksandar Aksentijevic <a DOT aksentijevic AT psychology DOT bbk DOT ac DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: Help
In-Reply-To: <3AB6BB91.4AA560BE@psychology.bbk.ac.uk>
Message-ID: <Pine.SUN.3.91.1010320110915.7756G-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 19 Mar 2001, Aleksandar Aksentijevic wrote:

> The major problem I'm having at the moment is that I do not seem to be
> able to compile (or-recompile) any of my programs. I used to be able to
> do it by simply entering RHIDE via the gpr file, and running e.g. BUILD
> ALL.
> 
> If I try to do the same now, I get:
> 
> c:/djgpp/include/allegro.h(31)Error: #error Allegro can only be used
> with djgpp

I don't use Allegro, but this message means that the Allegro header
thinks you are not building with DJGPP.  Lots of things will break due
to this, so you should resolve this issue first.

I'm guessing that the DJGPP environment variable is not defined
properly, or RHIDE is set up incorrectly.

I suggest first to try to build the program from the command prompt.
If that works, your problem is most probably with how RHIDE is set
up.

> Part of the problem might lie in my attempts earlier this year to use
> Borland C to compile some simple programs I'd written myself (probably
> messing up my djgpp setup in the process).

The DJGPP setup boils down to setting up PATH and DJGPP environment
variables.  From what you sent, it seems the latter is okay, and I
don't see anything immediately wrong in PATH, although there are too
many directories before C:\DJGPP\BIN.

Other than that, the only way to screw up a working DJGPP setup is to
move files and directories around, or rename/delete some crucial files
such as DJGPP.ENV or `specs'.

Could it be that Borland's directory is before the DJGPP's bin
subdirectory in your PATH, and you are picking the wrong make.exe and,
possibly, other programs (like cpp.exe)?

- Raw text -


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