Mail Archives: djgpp/1996/07/23/22:45:32
Xref: | news2.mv.net comp.os.msdos.djgpp:6335
|
From: | pengzh AT ix DOT netcom DOT com (PENG ZHOU)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: another "cant find the file" problem
|
Date: | 23 Jul 1996 22:01:59 GMT
|
Organization: | Netcom
|
Lines: | 103
|
Message-ID: | <4t3i4n$ft4@sjx-ixn4.ix.netcom.com>
|
References: | <31F544C0 DOT 7735 AT fix DOT net>
|
NNTP-Posting-Host: | pas-ca6-18.ix.netcom.com
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
In <31F544C0 DOT 7735 AT fix DOT net> john miller <jmiller AT fix DOT net> writes:
>
>Ok Its another one of these ninnies that can't set up DJGPP. here
goes:
>
>cmdline: c:\DJGPP>gcc -v hello.cpp
>
>contence of hello.cpp:
>#include <iostream.h>
>
>void main()
>{
>cout<<"hello world";
>return;
>}
>
>output of gcc:
>gcc version 2.7.2
> cpp -lang-c++ -v -undef -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR_
> _=7 -Dunix -Di386 -DMSDOS -D__unix__ -D__GO32_ -D__msdos__ -D
> __unix -d__i386 -D__GO32 -D__MSDOS -Asystem(unix) -Asystem(msdos)
>-Acpu(i386) -A
> Machine(i386) hello.cpp C:\WINDOWS\TEMP\ccbaaaaa
>GNU CPP version 2.7.2 (80386, BSD syntax)
>#include "..." search starts here:
>#include <...> search starts here:
> /usr/local/lib/g++-include
> /usr/local/include
> /usr/local/go32/include
> /usr/local/lib/gcc-lib/go32/2.7.2/include
> /usr/include
>End of search list.
>hello.cpp:1: iostream: no shuc file or directory (ENOENT)
>
>set:
>
>TMP=C:\WINDOWS\TEMP
>TEMP=C:\WINDOWS\TEMP
>PROMPT=$p$g
>winbootdir=C:\WINDOWS
>COMSPEC=C:\WINDOWS\COMMAND.COM
>DJGPP=c:\djgpp\djgpp.env
>PATH=C:WINDOWS;C:\WINDOWS\COMMAND;C:\DJGPP;C:\DJGPP\BIN
>
>path:
>
>PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DJGPP;C:\DJGPP\BIN
>
>AUTOEXEC.BAT
>
>@ECHO OFF
>SET DJGPP=c:\djgpp\djgpp.env
>path=c:\windows;c:\windows\command;c:\djgpp;c:\djgpp\bin
>
>config.sys
>
>rem ('rem' lines left out to save space)
>
>[common]
>buffers=40
>device=c:\windows\himem.sys /testmem:off
>dos=high,umb
>
>DEVICEHIGH/L:0=C:\WINDOWS\COMMAND\DRVSPACE.SYS /MOVE
>
>SYSTEM:
>p75 w/ 8MB ram Os=win95 (I used dos mode i.e. "restart in MS-DOS")
>
>DJGPP installes with c++ files in directory "DJGPP" with
subdirectories
>I use the default setup for everything and I have not edited the
DJGPP.ENV
>file.
>
>Please help!!
>
>John Milller
><jmiller AT fix DOT net>
I think it's a problem in your djgpp.env file.
check this:
(1) Did you put all your djgpp stuff in the C:\DJGPP\ directory?
(2) Have you have all the files in the readme.1st file? Iostream
library is in a different zip file from which G++ is included.
(3) Have you unziped all the files in the djgpp directory and with the
-d switch if you are using pkunzip? Or have you mkdir the directories
your self?
(4) Did you modify your djgpp.env file? If yes, posted here and let
me see.
If all these are done, check for iostream.h, it should(and must) be in
your c:\djgpp\lang\cxx directory. Else, download and unzip the g++
library zip file in the /djgpp/v2/gnus/ directory.
----
pengzh AT ix DOT netcom DOT com
- Raw text -