delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/05/10:43:08

From: Hans-Bernhard Broeker <broeker AT acp3bf DOT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: HELP NEWBIE
Date: 5 Jan 2000 11:15:29 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 35
Message-ID: <84v94h$mhu$1@nets3.rz.RWTH-Aachen.DE>
References: <20000104201740 DOT 26293 DOT 00000567 AT ng-fn1 DOT aol DOT com> <3872AFD0 DOT 2852D65C AT caresystems DOT com DOT au>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 947070929 23102 137.226.32.75 (5 Jan 2000 11:15:29 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 5 Jan 2000 11:15:29 GMT
User-Agent: tin/1.4-19991113 ("No Labels") (UNIX) (Linux/2.0.0 (i586))
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


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