Updated 3/23/2008 Thanks to RP for cleaning up the gcc recipies. Now oe builds its own gcc3.4 if qemu is needed to generate binary locales. The following is not needed anymore.
It is a known oe bug 2157 that qemu does not work with gcc 4. To use an older gcc 3 version in debian lenny (which default to gcc 4)
apt-get install gcc-3.4 cpp-3.4 g++-3.4
and manually symbolic link the following:
ln -s /usr/bin/gcc-3.4 /usr/bin/gcc
ln -s /usr/bin/g++-3.4 /usr/bin/g++
ln -s /usr/bin/cpp-3.4 /usr/bin/cpp