Re: Compiling 32bit on 64bit Fedora

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/09/11 16:52, 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:

Installing the 32 bit glibc-devel package would probably have worked better.

> Am I doing something wrong? Or is this a packaging bug? I can't think of
> any reason why I shouldn't be able to compile at least a basic C program
> with no deps as 32bit on 64bit.

Well you can, but you do need things like glibc-devel.i686 to do it...

Tom

-- 
Tom Hughes (tom@xxxxxxxxxx)
http://compton.nu/
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux