Date: Sun, 31 Mar 1996 08:46:19 +0200 (IST) From: Eli Zaretskii To: "Mark E. Ruedy" Cc: report AT gnat DOT com, djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: problem running gnat for DOS In-Reply-To: <199603290602.WAA04352@netcom22.netcom.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 28 Mar 1996, Mark E. Ruedy wrote: > When I tried to run gcc -c hello.adb in the C:\DJGPP\GNAT303S\EXAMPLES > directory I got an error "Can't execute GO32". I tried copying the > bin\go32-v2.exe to bin\go32.exe and got a different error: > "go32/v1: cannot find v1's go32.exe". Then I tried copying bin\go32-v2.exe > but still got the same error. I'm not familiar with the GNAT distribution, but from what you report it seems that it requires DJGPP v1.x while you have DJGPP v2.0 installed. DJGPP v1.x applications need a DOS extender called go32.exe to run. Go32-v2.exe is NOT a substitute for go32.exe, it is meant to trick v1.x applications to spawn v2.0 programs, but it still needs the real go32.exe (as it dutifully tells you). So the bottom line is: find go32.exe that you lack and put it on your PATH. If you ask me, I'd expect it to be in the `djgpp-1.12m4-dos-bin.zip' archive.