Randy Barlow написа:
On Fri, 2006-12-22 at 00:44 +1030, Raymond Lewis Rebbeck wrote:You need gcc 3.x to compile Qemu.So how does one go about this? Would emerge gcc-3.4.4 (or whatever the version you want to use) do the trick? Is there anything else that would need to be done? As in, would one need to tell the portage to use the old compiler to build qemu, or would it just do it automatically? Shouldn't the e-build depend on gcc 3.x? Sorry for so many questions, just trying to gain better understanding! Randy Barlow http://www.electronsweatshop.com Aliens DO indeed exist. They just know better than to visit a planet that Chuck Norris is on.
Hi, GCC is SLOTed, you could have more than one/two versions at once. Managed with 'gcc-config ...'. Check the options. Check with "eix ^gcc$" to see all available versions, then run: emerge =sys-devel/gcc-3.4.6-rX (depending on your arch/~arch).Then play with 'gcc-config' to go back&forth (do "source /etc/profile" afterwards). IIRC the ebuild (qemu-softmmu) gives out a warning if build with 4.X, check the ebuild.
HTH. Rumen
smime.p7s
Description: S/MIME Cryptographic Signature