Compiling 32bit on 64bit Fedora

Ricky Zhou ricky at fedoraproject.org
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.

Thanks,
Ricky
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20110907/37324d89/attachment.bin 


More information about the devel mailing list