insQEMU.sh

Peter Garrett peter.garrett at optusnet.com.au
Mon Jul 3 16:52:49 UTC 2006


On Mon, 3 Jul 2006 15:40:51 +0100
Olivier olejniczak <ulist at gs1.ubuntuforums.org> wrote:
[snip] 

>From the script - I think on Dapper the workaround for different gcc
versions is not needed, so I expect this would break:

> echo "BEGINNING CONFIGURE !"
> # sh configure || exit 13
> export CPP=g++-3.4
> export CC=gcc-3.4
> sh ./configure --prefix=/usr --cc=gcc-3.4 --host-cc=gcc-3.4
> --kernel-path=/usr/src/linux-headers-$(uname -r)/ || exit 13
> echo
> echo
> 
> echo "BUILDING QEMU !"
> # In Ubuntu Breezy, if you just `make`, it will use GCC 4.0
> # even though we configured for GCC 3.4. So we need this workaround:
> # Change the symlink, compile, then change the symlink back
> mv /usr/bin/gcc /usr/bin/gcc.bak
> ln -sf /usr/bin/gcc-3.4 /usr/bin/gcc
> make
> EXITCODE=$?
> echo

I don't know if the script has been updated for Dapper/ 6.06

Peter




More information about the ubuntu-users mailing list