This seems pretty simple, but I can't find any answers for it on the net. I have a fresh install of FC3 on an Athlon64, and I can't compile anything in 32-bit mode. Trying "Hello world" gives:
[root@area51 tmp]# gcc -m32 hello.c
hello.c: In function `main':
hello.c:7: warning: return type of 'main' is not `int'
/usr/bin/ld: crt1.o: No such file: No such file or directory
crt1.o is present in /usr/lib64 but not in /usr/lib. Is there an RPM that contains this? I have the following groups installed:
Compatibility Arch Support
x86 Compatibility Arch Development Support
Or is there some way to get a 32-bit binary to link with the 64-bit crt1.o?