William Ly <wlyx540@xxxxxxxxxxxxxxx> writes: > I'm trying to build GCC 3.3.3 on Red Hat Linux 7.3 but I get the error: > > /mnt/winD/linux/gcc-3.3.3/libffi/src/x86/ffi.c -o src/x86/ffi.o >/dev/null > 2>&1 > make[4]: *** No rule to make target `src/x86/sysv.S', needed by > `src/x86/sysv.lo'. Stop. > make[4]: Leaving directory `/home/will/build/i686-pc-linux-gnu/libffi' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/will/build/i686-pc-linux-gnu/libffi' > make[2]: *** [all-recursive-am] Error 2 > make[2]: Leaving directory `/home/will/build/i686-pc-linux-gnu/libffi' > make[1]: *** [all-target-libffi] Error 2 > make[1]: Leaving directory `/home/will/build' > make: *** [bootstrap] Error 2 > > What is the problem? How can I fix it? > > ********** > My source directory is: /mnt/win/linux/gcc3.3.3 ^^^^^^^^^^^^^^^^^^^^^^^ ? I am curious as to why the make messages contain '/mnt/winD/linux/gcc-3.3.3/' instead. > My build directory is: /home/will/build > > My source directory is a FAT32 windows mounted directory. > > I issued the command > > '/mnt/win/linux/gcc3.3.3/configure' IIRC, only java uses libffi. So if you don't need java, you could try adding '--enable-languages=c,c++' to your configure line. > > followed by > > 'make bootstrap -lean' I believe it supposed to be 'make bootstrap-lean' that is, no space between 'bootstrap' and '-lean'. > > in the directory /home/will/build/ > **********