From: Scott M. <us...@ar...> - 2008-06-08 18:15:13
|
Now that I can finally compile with gcc 3.4.5, I want to move on to my real goal, which is to compile with 4.3 alpha. After extracting gcc-part-c++-4.3.0-20080502-2-mingw32-alpha-bin.tar.gz and gcc-part-core-4.3.0-20080502-2-mingw32-alpha-bin.tar.gz on top of my mingw installation, I can compile this, int main() { } but not this: #include <iostream> int main() { std::cout << "Hello\n"; } The latter elicits a zillion diagnostics, beginning with these: > D:\Temp>gcc hello.cpp > In file included from d:\apps\mingw4.3alpha\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/char_traits.h:46, > from d:\apps\mingw4.3alpha\bin\../lib/gcc/mingw32/4.3.0/include/c++/ios:46, > from d:\apps\mingw4.3alpha\bin\../lib/gcc/mingw32/4.3.0/include/c++/ostream:45, > from d:\apps\mingw4.3alpha\bin\../lib/gcc/mingw32/4.3.0/include/c++/iostream:45, > from hello.cpp:1: > d:\apps\mingw4.3alpha\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/stl_algobase.h:69:29: error: ext/type_traits.h: No such file or > directory > d:\apps\mingw4.3alpha\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/stl_algobase.h:70:32: error: ext/numeric_traits.h: No such file > or directory > In file included from d:\apps\mingw4.3alpha\bin\../lib/gcc/mingw32/4.3.0/include/c++/ios:48, > from d:\apps\mingw4.3alpha\bin\../lib/gcc/mingw32/4.3.0/include/c++/ostream:45, > from d:\apps\mingw4.3alpha\bin\../lib/gcc/mingw32/4.3.0/include/c++/iostream:45, > from hello.cpp:1: > d:\apps\mingw4.3alpha\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/ios_base.h:46:27: error: ext/atomicity.h: No such file or direct > ory Clearly things are not configured correctly for finding library headers, but I see no mention in the installation instructions of what I need to do to address this. Help? Thanks, Scott |