From: "Johan Venter" Newsgroups: comp.os.msdos.djgpp References: Subject: Re: Persistent problem with environment variable Lines: 44 X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Message-ID: Date: Wed, 23 Jun 1999 17:42:58 +1000 NNTP-Posting-Host: 203.40.82.115 X-Trace: newsfeeds.bigpond.com 930124968 203.40.82.115 (Wed, 23 Jun 1999 18:02:48 EST) NNTP-Posting-Date: Wed, 23 Jun 1999 18:02:48 EST Organization: Telstra BigPond Internet Services (http://www.bigpond.com) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >TMP=C:\WINDOWS\TEMP >TEMP=C:\WINDOWS\TEMP >PROMPT=$p$g >winbootdir=C:\WINDOWS >COMSPEC=C:\WINDOWS\COMMAND.COM >DJGPP=c:/djgpp/djgpp.env >RSXNTDJ=C:\DJGPP\RSXNTDJ >PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\MIKTEX\MIKTEX\BIN;C:\DJGPP\BIN;C:\DJGPP\RS >XNTDJ\BIN >LIBRARY_PATH=C:\DJGPP\RSXNTDJ\LIB;C:\DJGPP\LIB >C_INCLUDE_PATH= C:\DJGPP\RSXNTDJ\INCLUDE;C:\DJGPP\INCLUDE >windir=C:\WINDOWS >BLASTER=A220 I5 D1 H5 P330 T6 E620 >CMDLINE=make You have contridicted yourself. In later posts you claim that the search starts at c:\djgpp\include for your include files, but this is simply not try because of the following line: >C_INCLUDE_PATH=C:\DJGPP\RSXNTDJ\INCLUDE;C:\DJGPP\INCLUDE This will look in the rsxntdj library for includes first, meaning your problem could be conflicting allegro.h headers. Furthermore, you have contridicted yourself further by this line: >LIBRARY_PATH=C:\DJGPP\RSXNTDJ\LIB;C:\DJGPP\LIB GCC will NOT find the djgpp\lib specs file (as it says in later posts) if the rsxntdj one is found first. What I suggest you do is get rid of both of those lines (they are set in djgpp.env anyway, so no use setting them in autoexec.bat) and download the new rsxntdj version (1.5), which does NOT require you to set any paths, it does it itself when you run gccw32. -- Johan Venter ICQ 3643877 Visit The TPU DJGPP Interest Group: http://surf.to/djgppig