I need gcc-3.4 to compile some softwares on my Ubuntu 11.10 (32-bit). So I downloaded:
cpp-3.4_3.4.6-6ubuntu5_i386.deb
gcc-3.4-base_3.4.6-6ubuntu5_i386.deb
gcc-3.4_3.4.6-6ubuntu5_i386.deb
and installed them using sudo dpkg -i *.deb. Then I tried to compile a "Hello World" program using gcc-3.4 hello.c, but it told me:
In file included from /usr/include/features.h:388,
from /usr/include/stdio.h:28,
from test.c:1:
/usr/include/gnu/stubs.h:7:27: gnu/stubs-32.h: No such file or directory
I've did the same thing on Ubuntu 10.10 and I successed. So what should I do on Ubuntu 11.10?