Date: Tue, 7 Dec 1999 13:14:37 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Edward cc: djgpp AT delorie DOT com Subject: Re: Installation problems? In-Reply-To: <002a01bf408b$5d21ef00$20cd4acb@flag.com.tw> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 7 Dec 1999, Edward wrote: > Error: gcc.exe: installation problen, cannot exec `stubify': No such file or > directory (ENOENT) > > Is there anything missed in my installation procedure? Yes, you are missing the program stubify.exe, like the compiler says. This is common for those who install DJGPP from a CDROM that comes with a particular book about learning C++. The installation program on that CD doesn't copy stubify.exe to your hard disk. You need to find this program on the CD and manually copy it to the same directory where gcc.exe lives on your hard disk. Perhaps if every user who purchased that particular book and bumped into this problem would send an angry message to the vendor, they will fix the problem faster. > gcc -c hello.c -o hello.exe > > the generated file (hello.exe) cann't run properly under win 98 > (it causes my DOS box hang up). This is almost certainly another consequence of the same problem. stubify.exe produces a standard DOS executable which Windows can run; without it, you are left with a file in a format that is totally alien to DOS/Windows, and DOS/Windows aren't smart enough to tell you that.