qemu not happy with gcc4

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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: