having trouble compiling 32 bit ffmpeg on 64 bit FC11

view full story

http://forums.fedoraforum.org – Hey guys, its been a long time since i was last on here, (2006) but I am a little stuck, I am trying to compile ffmpeg (and libraries) but im stuck. I am running x86_64 FC11 and want to compile 32 bit binaries so i can post them online for people to download, and mine is different then the ones hosted by the yum repo's. here is what the output is Code: [rbehera@roflmao ffmpeglinux]$ ./configure --cpu=pentium3 --arch=x86 --enable-cross-compile [rbehera@roflmao ffmpeglinux]$ ./configure --cpu=pentium3 --arch=i686 --enable-cross-compile gcc is unable to create an executable file. C compiler test failed. If you think configure made a mistake, make sure you are using the latest version from SVN.  If the latest version fails, report the problem to the ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.err" produced by configure as this will help solving the problem. and i figured out gcc is not able to compile a 32 bit program by compiling a simple hello world program: Code: #include <iostream> using namespace std; int main() {   cout<<"HEY, you, I'm alive! Oh, and Hello World!\n";   cin.get(); } and this is what happend when i tried to compile Code: [rbehera@roflmao Desktop]$ gcc a.cpp -m32 In file included from /usr/include/features.h:376,                 from /usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../include/c++/4.4.1/x86_64-redhat-linux/32/bits/os_defines.h:39,                 from /usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../include/c++/4.4.1/x86_64-redhat-linux/32/bits/c++config.h:243,                 from /usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../include/c++/4.4.1/iostream:39,                 from a.cpp:1: /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory so my guess is that i dont have the 32 bit gcc. how do i get this for fedora? i tried searching on yum and i didnt find it, and the guides online are not working for me... (HowTos)