Mail Archives: djgpp/1997/10/21/21:52:34
At 05:49 10/21/1997 -0400, Chris Thompson wrote:
>Hi,
>
>I have down loaded djgpp, and installed it (correctly I assume),
>but when I try to run it, I get the following:
>
>C:\DATA\UNI\SFT_IMP1>gcc -Wall -v -g -c ex_1_01.cpp -o ex_1_01.obj
>gcc version 2.7.2
> cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus
-D__GNUC_MINOR__=7 -Dunix -Di386 -DGO32 -DMSDOS -D__unix__ -D__i386__
-D__GO32__ -D__MSDOS__ -D__unix -D__i386 -D__GO32 -D__MSDOS -Asystem(unix)
-Asystem(msdos) -Acpu(i386) -Amachine(i386) -g -Wall ex_1_01.cpp C:\TMP\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.
>ex_1_01.cpp:1: iostream.h: No such file or directory (ENOENT)
Do the following:
Make sure you have the C++ libraries installed.
Complile with "gxx" instead of "gcc".
Check that your DJGPP environment variable is set correctly, see README.1ST.
Name your object files with a `.o' extension to avoid confusion with
standard DOS object files.
HTH
Nate Eldredge
eldredge AT ap DOT net
- Raw text -