Missing include “bits/c++config.h” when cross compiling 64 bit program on 32 bit in Ubuntu

I am running the 32bit version of Ubuntu 10.10 and trying to cross compile to a 64 bit target. Based on my research, I have installed the g++-multilib package. The program is a very simple hello world: #include <iostream> int main( int argc, char** argv ) { std::cout << “hello world” << std::endl; return 0; … Read more