Date: Thu, 26 Oct 1995 09:00:15 +0200 (IST) From: Eli Zaretskii To: Krzysztof Nowinski Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: djgpp under os/2 On 25 Oct 1995, Krzysztof Nowinski wrote: > I have tried to use djgpp 2.0 in a DOS window under OS/2 (my MS Windows > occasionally hang when coming back from a full screen DOS graphic session). > When compiling a relatively short (5kB, 300 lines of code) program I started to > see messages abt. insufficient virtual memory even with DOS protected > mode memory set to 32 MB, plenty of djgpp temp space etc. > The graphic programs compiled > with GRX 2.0 run just fine, so... :-( > Any ideas? The DJGPP FAQ list (available as faq102.zip at the same place you get DJGPP) explains that DJGPP programs under OS/2 cannot spawn other DJGPP programs, and gcc.exe tries to do just that when it spawns the pre-processor, the compiler, the assembler and the linker passes. You will have to use real-mode gcc.exe (get the file gcc263rm.zip from the DJGPP distribution) and real-mode Make program under OS/2. The above is true unless you run OS/2 Warp, because in Warp these problems were reportedly corrected. If you use Warp, please post more details about the crashes (stack traces would be nice) so that this problem could be investigated further.