-------------------------------------
Hi;
I'm attempting to set up Zaurus X-gcc on my Powerbook G4 running 10.3.3 and the latest version of Apple's X11 SDK and XCode tools. The pkg file installs without complaint, but attempting to compile the following program:
- Code: Select all
#include <iostream.h>
main()
{
cout << "Hello World!";
return 0;
}
gives this error:
- Code: Select all
/var/tmp/ccrbA9wX.o: In function `main':
/var/tmp/ccrbA9wX.o(.text+0x14): undefined reference to `ostream::operator<<(char const *)'
/var/tmp/ccrbA9wX.o(.text+0x28): undefined reference to `cout'
collect2: ld returned 1 exit status
Do you know what could be causing this error? I'd really like to get started developing for the SL-6000, but my inability to cross-compile is holding me back. Thanks.
