I\'m trying to do some really simple stuff in C++, but I can\'t find any information on how to tackle this. Even the book I have just says \"Just compile and run the program
The error isn't that it's the wrong architecture, it's that std::cout (and other symbols) isn't defined.
std::cout
You should compile and link with g++ not gcc, to automatically link with correct C++ libraries.
g++
gcc