delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/28/12:12:06

From: Rodeo Red <rodeored AT netstep DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: hello.cpp: No such file or directory
Date: Tue, 28 Sep 1999 09:12:10 -0400
Organization: Church of Evangelical Environmental Extremism
Lines: 48
Message-ID: <4444922EAD9F4DF3.F0655FD613956B47.417327D971FC01B7@lp.airnews.net>
X-Orig-Message-ID: <37F0BEA8 DOT 82F0428A AT netstep DOT net>
References: <D9BC7976AAE40D84 DOT C5602DF8447E0627 DOT 2CF1545D121CCB15 AT lp DOT airnews DOT net> <37f09d7a DOT 0 AT news DOT uni-bielefeld DOT de>
Abuse-Reports-To: support at netstep.net to report improper postings
NNTP-Proxy-Relay: library1.airnews.net
NNTP-Posting-Time: Tue Sep 28 07:55:52 1999
NNTP-Posting-Host: !`nb7-@[.Hp*M`Y (Encoded at Airnews!)
Mime-Version: 1.0
X-Mailer: Mozilla 4.5 [en] (Win98; I)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Manni Heumann wrote:

> In article <D9BC7976AAE40D84 DOT C5602DF8447E0627 DOT 2CF1545D121CCB15 AT lp DOT airnews DOT net>, Rodeo Red <rodeored AT netstep DOT net> wrote:
>
> >#3) Why else would I get this message ? I've tried different prompts and
> >saving the file to different directories so I don't think that's the
> >problem. So I'm stumpted as to why the file isn't being found.
> >
> >
> Did you ever try a "prompt" that matched the directory?
>
> --
>
> Manni

Well I really thought I had- I have that file in every concievable directory by now. But after I got your message i saved
it again to a new directory and that seems to have worked. Thanks for the help.

I compiled in RHIDE and it said there were no errors, but it made a program called hello.o when I thought it would make
hello.exe.  What is going on here ?
The faq mentions something about "no exe "  but its talking about novel programs which I do not have, so it doesn't seem to
apply.


Hello.o appears in the windows directory, I suppose because I started rhide from the window prompt. I can't seem to make
C:\myprograms\hello>

I  tried  compliling without rhide and got :

C:\WINDOWS>gcc hello.cpp -o hello.exe -lm
c:/djgpp/tmp\cccimbbe(.text+0x19):hello.cpp: undefined reference to `cout'
c:/djgpp/tmp\cccimbbe(.text+0x1e):hello.cpp: undefined reference to `ostream::o
erator<<(char const *)'

C:\WINDOWS>
What in the world does this mean ? I don't see any reference to this in the faq

Again, the reason it says  C:\WINDOWS> is that I can't controll the prompt very well. If I write prompt it gives me C:\>
but I wish I could make it go C:\myprograms\hello>

How do I do that ?




Red
'

- Raw text -


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