Compiling 32bit on 64bit Fedora

Ricky Zhou ricky at
Wed Sep 7 15:56:19 UTC 2011

On 2011-09-07 11:52:58 AM, Nathaniel McCallum wrote:
> "gcc -m32 -o foo foo.c" gives me:
> /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file
> or directory
> If I copy the gnu/stubs-32.h file from the 32bit glibc-devel package
> into the right place and run the command above again I get:
I don't think you should need to copy files manually like that - just
install glibc-devel.i686 and libgcc.i686.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
Url : 

More information about the devel mailing list