Below is the error I get when I run a build from eclipse with the latest version of IDE on my Ubuntu 10.10, 64-bit version.
make all
g++ -o HelloWorld2 main.o
/usr/bin/ld: i386 architecture of input file `main.o' is incompatible with i386:x86-64 output
/usr/bin/ld: final link failed: Invalid operation
collect2: ld returned 1 exit status
make: *** [HelloWorld2] Error 1
Can anyone tell me how to get Eclipse to launch the 64-bit version or how to make Eclipse compile 32-bit binaries?