[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] C++ standard includes for MMU gcc toolchain



Hi,

I cannot build C++ applications using the MMU glibc toolchain, the
compiler is complaining about missing standard include files. For
example for the following program:
-----------------------------
#include <iostream>
using namespace std;

int main()
{
    cout << "Test" << endl;
    return 0;
}
--------------------------------
I get:

$ mb-linux-g++ test.cc -o test
test.cc:1:20: error: iostream: No such file or directory
test.cc: In function 'int main()':
test.cc:6: error: 'cout' was not declared in this scope
test.cc:6: error: 'endl' was not declared in this scope

Marius
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/