Hi Tanja,
>this is the code:
That's not valid C++ (ISO 14882-1998) code.
Try this instead for your hallo.cpp source...
#include <iostream>
int main()
{
std::cout << "hallo" << std::endl;
}
It appears that your C++ reference books are slightly out of date.
HTH,
--Eljay
PS: I've been using GCC on Mac OS X for several years.