MymsMan
Ad detector
I have successfully compiled a C program on the Humax with gcc but I am running into problems with even a Hello World C++ program.
I get
Looking at the header-files package file list I see that it contains
From the references on StackOverflow it appears problems with bits/c++config.h are common on gcc with numerous suggested works around and a suggestion that is fixed in gcc 4.6
Has anyone succeeded in compiling c++ on a Humax?
Code:
#include <iostream>
int main( int argc, char** argv )
{
std::cout << "hello world" << std::endl;
return 0;
}
I get
Code:
Humax# gcc hworld.cpp
In file included from hworld.cpp:1:0:
/mnt/hd2/mod/bin/../lib/gcc/mipsel-unknown-linux-uclibc/4.5.2/../../../../include/c++/4.5.2/iostream:39:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
Looking at the header-files package file list I see that it contains
Code:
/mod/include/c++/4.5.2/mipsel-linux/bits/c++config.h
and
/mod/include/c++/4.5.2/iostream
From the references on StackOverflow it appears problems with bits/c++config.h are common on gcc with numerous suggested works around and a suggestion that is fixed in gcc 4.6
Has anyone succeeded in compiling c++ on a Humax?