Can't compile a C++ source


I try to use c++ test.cpp -o test.out

it shows me that "/usr/bin/ld: /usr/lib/libSystem.dylib load command 6 unknown cmd field". I only typed like


int main()
cout << "Hello" << endl;
return 0;

Why I can't output a simple C++?
It could work when I used X 10.0x. What happens now?
Help me please and thanx~
Due to changes in the system, you will need to get the new dev. tools before you can compile. At least, that is my assumption. According to the Apple developer site the new tools will be downloadable starting tomorrow.