18.2.2011 4:03, [p e r c e p t i c o n] kirjoitti:
I have this error: /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crt1.o: In function `_start In my case I'm trying to build a 32bit shared object. I have -shared and -fPIC set even -m32 Can someone share with me how to tell gcc to use my lib32 directory instead of lib64 which it seems to default to?
The 32-bit startups (like 'crt1.o'), libraries and headers aren't usually installed as default with the "program tools", one must install these specifically. This happens with "System/Administration" and there "Add/remove applications" or something in the GUI of an uptodate Red Hat system...