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