Mail Archives: djgpp/1999/12/07/08:23:51
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 -