www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/07/08:23:51

Date: Tue, 7 Dec 1999 13:14:37 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Edward <openmind AT hello DOT com DOT tw>
cc: djgpp AT delorie DOT com
Subject: Re: Installation problems?
In-Reply-To: <002a01bf408b$5d21ef00$20cd4acb@flag.com.tw>
Message-ID: <Pine.SUN.3.91.991207130914.29997C-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019