I'm running a 64-bit RHEL5 with g++-version 3.4.3
My main.cpp file is nothing more than a main() as follows ...
Code:
#include <iostream>
using namespace std;
int main()
{
return 0;
}
and when I try to compile as:
g++ -m32 main.cpp
it gives me an ld error as follows...
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
any idea why this might be happening, and how to compile as a 32 bit ...
any help is greatly appreciated... thanks for looking