delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/12/05:17:56

From: Fabrice ILPONSE <fabrice AT trash DOT lip6 DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: [Q] DJGPP setting...
Date: Fri, 12 Dec 1997 10:08:13 +0100
Organization: Universites Paris VI/Paris VII - France
Lines: 30
Message-ID: <3490FEFD.7745@trash.lip6.fr>
References: <3490B080 DOT 3B6F AT internet-zahav DOT net>
NNTP-Posting-Host: asim.lip6.fr
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Arie Ori wrote:
> 
> For some reason, the DJGPP is not defined in my computer even though I
> wrote "set djgpp=c:/djgpp/djgpp.env" in my autoexec.
> (Every time there's a #ifdef DJGPP sentence the result is false).
> Anyway, I can't make the allegro library file bcoz of this.
> Can anybody help me???
> 

	Hum!! I think #ifdef DJGPP is in an C file. If so this DJGPP has
nothing to do with the set djgpp. #ifdef is a pre-processor directive.
For the condition to be true, you must use #define somewhere in the C
file before #ifdef.
	Most of the time, people uses the gcc option -DDJGPP so the compiler
can take it in care!

> It would b best if u mail a copy of this answer 2
> "oriarie AT internet-zahav DOT net".
> 
> 10x,
>   Arie Ori.

-- 
	^ ^ ^
	| | |
	+-+-+	Fabrice ILPONSE
	  |	<fabrice AT asim DOT lip6 DOT fr>
	  |
	  |
	  -

- Raw text -


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