Mail Archives: djgpp/2000/01/05/10:43:08
leon <Leon AT caresystems DOT com DOT au> wrote:
> XezxV wrote:
>> HI there, i just started to learn how to use Djgpp and I'm trying to do the
>> Hello world program in c++,the problem is that i get a message :
>> STUBIFY, NO SUCH FILE OR DIRECTORY FOUND
That's not the exact message text (it certainly isn't in upper case,
originally), but luckily it's close enough to be recognizable...
>> THIS is the command I'm usin : gxx hello.cpp or gxx -c -Wall hello.cpp
The latter command should not display that message (in '-c' mode,
stubify is not used).
> from my simple experience: gxx tries to call a program called
> stubify but it is not aware of its exact location on your
> computer. so something like setting path in your autoexec should
> help.
This almost certainly is not the problem. Other warnings and errors
would have occured, first, if the PATH setting wasn't correct. This
particular error of stubify.exe not being found has only crept up
since some book company made a CD for one of those 'learn C++' books
where stubify.exe is simply not expanded at all. Unpack it by hand
(from the djdev202.zip or whatever version there is), and all should
be well.
To test if this is your problem: in the same directory (mentioned in
your PATH environment variable) where 'gxx.exe' and 'gcc.exe' are,
there has to be a 'stubify.exe'. If it isn't there, you have a broken
installation.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -