I've been trying to compile a test c++ program (test.cpp) in the terminal, but I can't get g++ to run. I keep getting an error, and I have no idea what it means, could any of you guys help me out?
Code:
x-134-84-96-216:~ aaeyers$ g++ test.cpp -o test
/usr/bin/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/libstdc++.dylib load command 5 unknown cmd field
/usr/bin/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib unknown flags (type) of section 6 (__TEXT,__literal16) in load command 0
/usr/bin/ld: /usr/lib/libSystem.B.dylib unknown flags (type) of section 6 (__TEXT,__literal16) in load command 0
collect2: ld returned 1 exit status
x-134-84-96-216:~ aaeyers$