X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Message-ID: <7a71c30f0901161847y3bfbbdc3t388e0e71b5f8aa69@mail.gmail.com> Date: Fri, 16 Jan 2009 21:47:16 -0500 From: "Matt Gregory" To: djgpp AT delorie DOT com Subject: gpp cannot find c++ headers MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Reply-To: djgpp AT delorie DOT com I can't compile a c++ program on my desktop computer. It works fine on my notebook, though. I copied the DJGPP folder from the notebook to my desktop. All the relevant folders are the same on both machines. The only thing I can think of is maybe it's clashing with cygwin somehow. Maybe gpp is calling the cygwin preprocessor or something, I don't know. Make output follows. Thanks! Matt C:\Document\NMU\CS222\program1>make gpp -O3 -Wall -c div.cpp In file included from div.cpp:5: c:/progapp/djgpp/lang/cxx/3.23/cstdlib:49:28: bits/c++config.h: No such file or directory (ENOENT) In file included from div.cpp:6: c:/progapp/djgpp/lang/cxx/3.23/iostream:44:28: bits/c++config.h: No such file or directory (ENOENT) In file included from c:/progapp/djgpp/lang/cxx/3.23/ios:44, from c:/progapp/djgpp/lang/cxx/3.23/ostream:45, from c:/progapp/djgpp/lang/cxx/3.23/iostream:45, from div.cpp:6: c:/progapp/djgpp/lang/cxx/3.23/iosfwd:44:28: bits/c++config.h: No such file or d irectory (ENOENT) c:/progapp/djgpp/lang/cxx/3.23/iosfwd:45:64: bits/stringfwd.h: No such file or d irectory (ENOENT) In file included from c:/progapp/djgpp/lang/cxx/3.23/djgpp/bits/cxxio.h:35, from c:/progapp/djgpp/lang/cxx/3.23/bits/fpos.h:44, from c:/progapp/djgpp/lang/cxx/3.23/iosfwd:46, from c:/progapp/djgpp/lang/cxx/3.23/ios:44, from c:/progapp/djgpp/lang/cxx/3.23/ostream:45, from c:/progapp/djgpp/lang/cxx/3.23/iostream:45, from div.cpp:6: c:/progapp/djgpp/lang/cxx/3.23/cstdio:49:28: bits/c++config.h: No such file or d irectory (ENOENT) In file included from c:/progapp/djgpp/lang/cxx/3.23/djgpp/bits/cxxio.h:37, from c:/progapp/djgpp/lang/cxx/3.23/bits/fpos.h:44, from c:/progapp/djgpp/lang/cxx/3.23/iosfwd:46, from c:/progapp/djgpp/lang/cxx/3.23/ios:44, from c:/progapp/djgpp/lang/cxx/3.23/ostream:45, from c:/progapp/djgpp/lang/cxx/3.23/iostream:45, from div.cpp:6: c:/progapp/djgpp/lang/cxx/3.23/djgpp/bits/gthr.h:102:30: bits/gthr-single.h: No such file or directory (ENOENT) In file included from c:/progapp/djgpp/lang/cxx/3.23/bits/fpos.h:44, from c:/progapp/djgpp/lang/cxx/3.23/iosfwd:46, from c:/progapp/djgpp/lang/cxx/3.23/ios:44, from c:/progapp/djgpp/lang/cxx/3.23/ostream:45, from c:/progapp/djgpp/lang/cxx/3.23/iostream:45, from div.cpp:6: c:/progapp/djgpp/lang/cxx/3.23/djgpp/bits/cxxio.h:49: syntax error before `;' token In file included from c:/progapp/djgpp/lang/cxx/3.23/bits/fpos.h:45, from c:/progapp/djgpp/lang/cxx/3.23/iosfwd:46, from c:/progapp/djgpp/lang/cxx/3.23/ios:44, from c:/progapp/djgpp/lang/cxx/3.23/ostream:45, from c:/progapp/djgpp/lang/cxx/3.23/iostream:45, from div.cpp:6: c:/progapp/djgpp/lang/cxx/3.23/cwchar:49:28: bits/c++config.h: No such file or d irectory (ENOENT) In file included from c:/progapp/djgpp/lang/cxx/3.23/ios:44, from c:/progapp/djgpp/lang/cxx/3.23/ostream:45, from c:/progapp/djgpp/lang/cxx/3.23/iostream:45, from div.cpp:6: c:/progapp/djgpp/lang/cxx/3.23/iosfwd:47:30: bits/functexcept.h: No such file or directory (ENOENT) In file included from c:/progapp/djgpp/lang/cxx/3.23/ios:44, from c:/progapp/djgpp/lang/cxx/3.23/ostream:45, from c:/progapp/djgpp/lang/cxx/3.23/iostream:45, from div.cpp:6: c:/progapp/djgpp/lang/cxx/3.23/iosfwd:51: syntax error before `<' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:54: syntax error before `<' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:57: syntax error before `<' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:60: syntax error before `<' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:63: syntax error before `<' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:66: syntax error before `<' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:70: syntax error before `<' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:74: syntax error before `<' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:78: syntax error before `<' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:82: syntax error before `<' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:85: syntax error before `<' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:88: syntax error before `<' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:91: syntax error before `<' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:94: syntax error before `<' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:97: syntax error before `<' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:105: syntax error before `;' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:106: syntax error before `;' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:107: syntax error before `;' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:108: syntax error before `;' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:109: syntax error before `;' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:110: syntax error before `;' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:111: syntax error before `;' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:112: syntax error before `;' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:113: syntax error before `;' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:114: syntax error before `;' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:115: syntax error before `;' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:116: syntax error before `;' token c:/progapp/djgpp/lang/cxx/3.23/iosfwd:117: syntax error before `;' token In file included from c:/progapp/djgpp/lang/cxx/3.23/ostream:45, from c:/progapp/djgpp/lang/cxx/3.23/iostream:45, from div.cpp:6: c:/progapp/djgpp/lang/cxx/3.23/ios:45:57: exception: No such file or directory ( ENOENT) c:/progapp/djgpp/lang/cxx/3.23/ios:46:80: bits/char_traits.h: No such file or di rectory (ENOENT) c:/progapp/djgpp/lang/cxx/3.23/ios:48:52: bits/localefwd.h: No such file or dire ctory (ENOENT) In file included from c:/progapp/djgpp/lang/cxx/3.23/ios:49, from c:/progapp/djgpp/lang/cxx/3.23/ostream:45, from c:/progapp/djgpp/lang/cxx/3.23/iostream:45, from div.cpp:6: c:/progapp/djgpp/lang/cxx/3.23/bits/ios_base.h:45:28: bits/atomicity.h: No such file or directory (ENOENT) c:/progapp/djgpp/lang/cxx/3.23/bits/ios_base.h:48: confused by earlier errors, b ailing out make.exe: *** [div.o] Error 1