From: "Johan Venter" Newsgroups: comp.os.msdos.djgpp References: <199910271622 DOT SAA07294 AT acp3bf DOT physik DOT rwth-aachen DOT de> Subject: Re: Zlib compiling error ==> help needed Lines: 36 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: Date: Thu, 28 Oct 1999 10:58:00 +1000 NNTP-Posting-Host: 139.134.157.251 X-Trace: newsfeeds.bigpond.com 941101536 139.134.157.251 (Thu, 28 Oct 1999 19:05:36 EST) NNTP-Posting-Date: Thu, 28 Oct 1999 19:05:36 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 Hans-Bernhard Broeker wrote in message news:199910271622 DOT SAA07294 AT acp3bf DOT physik DOT rwth-aachen DOT de... > Exactly. Which leads you to the 'setup batch file' method, either in > conjunction with separate DOS boxes startable from Windows, or by > enforcing a call to a batchfile 'setrsxnt' before you work with > RSXNTDJ, and another one to switch back to DJGPP. But with current > RSXNTDJ, quite some work seems to have gone into _avoiding_ that type > of trickery, so I think it's better not to re-introduce it for this > purpose. Just to add my last thoughts on this thread. RSXNTDJ 1.5.1 certainly fixes the include directory problems, but using mingw32 and cygwin in confunction with DJGPP is another story. At the moment I do the following: DJGPP environment is ALWAYS set up (ie in my autoexec.bat). So in Windows, if I want a DJGPP/RSXNTDJ prompt, I go Start->Run->bash. I have two batch files in C:\, one called mingw32.bat, the other cygnus.bat. They just add the bin directories of either compiler to the start of the path (in the case of cygnus, the info and man paths are also set). To run either of them, I just have to go Start->Run->command.com /k C:\mingw32 or Start->Run->command.com /k c:\mingw32. This has the added effect of keeping the current directory (which doesn't happen if you just run a batch file). Also, each batch file contains an additional exit command after running bash, so in bash, I just have to type ctrl-d and the whole window disappears, instead of dropping back to command.com. -- Johan Venter ICQ 3643877 - jventer AT writeme DOT com The TPU DJGPP Interest Group - http://surf.to/djgppig The RSXNTDJ 1.5 HOWTO - http://surf.to/rsxntdj