X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: Dong Soo Kim Newsgroups: comp.os.msdos.djgpp Subject: Re: GNU preprocessor problem? Date: Tue, 26 Feb 2002 21:42:56 +1100 Organization: The University of New South Wales Lines: 54 Message-ID: References: NNTP-Posting-Host: mozart.orchestra.cse.unsw.edu.au Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: tomahawk.unsw.edu.au 1014720081 25401 129.94.242.14 (26 Feb 2002 10:41:21 GMT) X-Complaints-To: abuse AT unsw DOT edu DOT au NNTP-Posting-Date: Tue, 26 Feb 2002 10:41:21 +0000 (UTC) X-X-Sender: dsk666 AT mozart DOT orchestra DOT cse DOT unsw DOT EDU DOT AU In-Reply-To: To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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 Precedence: bulk On 25 Feb 2002, Hans-Bernhard Broeker wrote: > You'll have to post more details. I think a complete environment > listing is needed to diagnose this case. You may have environment > variables from other GCC ports to Windows (Cygwin, MinGW, DevC++) > sitting around --- a bad thing that has to be avoided religiously. Nope .. I once had Cygwin, but that was deleted years ago. Anyhow, gccw32 -v reports : > Or maybe your RSXNTDJ installation is simply bodged and incompatible > with a GCC-2.95.2 based DJGPP installation. I think that's the most likely case .. but I can't think why that would be .. Environment : C:\WINDOWS>set CONFIG=common TMP=C:\WINDOWS\TEMP TEMP=C:\WINDOWS\TEMP PROMPT=$p$g winbootdir=C:\WINDOWS COMSPEC=C:\WINDOWS\COMMAND.COM CTSYN=C:\WINDOWS RSXNTDJ=D:\DJGPP\RSXNTDJ C_INCLUDE_PATH=D:\DJGPP\RSXNTDJ\include\win32\anders; PATH=C:\JDK1.3\BIN;C:\TMP\HOME;C:\ATACR;D:\DJGPP\BIN;D:\DJGPP\RSXNTDJ\BIN;C:\WIN DOWS;C:\WINDOWS\COMMAND;C:\PROGRA~1\ULTRAE~1;D:\COMP;D:\JPEG DJGPP=D:\DJGPP\DJGPP.ENV CM3_PICTURES=d:\temp\cm\Pictures windir=C:\WINDOWS BLASTER=A220 I5 D1 H5 P330 T6 .. don't see anything to do with other gcc windows ports there. Since I installed djgpp I've not downloaded any windows ports apart from the current rsxntdj (not too long ago). Would you recommend downloading it again? BTW, for anybody interested .. _GNU_H_WINDOWS_H doesn't appear ANYWHERE in the pre-processor output .. instead _WINDOWS_H appears right at the top. Which is strange, because none of the headers (including further #include's) has _WINDOWS_H anywhere in them. Really weird imo. But it seems you can check for _WINDOWS_H in order to verify that the win32 api is available. Cheers DSK