On Monday, August 16, 2010, Florian Weimer wrote: > > I am trying to build gcc and it seems to build and install fine, but if I > > try to use g++ I get the following errors when In try to compile a > > simple "hello world" program. > > What's the exact command line you're using for compiling things? The small tests I do to verify the newly built g++ works after building gcc looks like this: for bits in 32 64; do echo "checking ${bits}bit g++" echo -e "#include <iostream>\nint main(int argc, char** argv)\n{\n\tstd::cout << \"Hello C++ (${bits}bit)\" << std::endl;\n\treturn 0; \n}" >hw.cpp ${PREFIX}/bin/g++-${GCCVERSION} -m${bits} -o hw${bits}g++ hw.cpp ./hw${bits}g++ done It used to work until gcc 4.3.1 which was the last gcc I built (now I am trying to build gcc 4.5.1) Lothar