Gentoo Archives: gentoo-amd64

From: Beso <givemesugarr@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] 32bit and 64bit applications on the same system
Date: Wed, 27 Jun 2007 18:24:57
Message-Id: d257c3560706271123j7cccec20i59807d3befd5a547@mail.gmail.com
In Reply to: [gentoo-amd64] 32bit and 64bit applications on the same system by Jean-Marc Hengen
1 2007/6/27, Jean-Marc Hengen <hengenj@×××××××××××.de>:
2 >
3 > Hi,
4 >
5 > does anyone know, if there has been any progress, getting any package
6 > manager (portage/paludis/pkgcore) to compile any applications in the
7 > same root as 64bit and/or 32bit e.g. if I want my firefox as 32bit
8 > application, then firefox and all it's dependencies get compiled as 32
9 > bit, but the rest as 64bit. (This would naturally means, that some
10 > libraries exists as 32bit and 64bit on the same system.)
11
12
13 for firefox 32 bit install firefox-bin with the x86 keyword in the package
14 keywords.... it is compiled for x86 arch.... if you need x86 plugins to work
15 on them then just install ndiswrapper and have the x64 firefox..... on
16 http://gentoo-wiki.com/ you'll find a howto on how to install the 32 bit
17 plugins for firefox, and on how to install the 32 bit media codecs.....
18
19 I searched on the internet and the only thing I found was from paludis:
20 > "A whole different configuration system, making it far easier to
21 > maintain multiple systems, some in chroots, with entirely separate
22 > configuration files." I could mean, that paludis could do it or in some
23 > future, it could do it, but I found no details about that, so I can't
24 > say, if this is, what I'm searching for.
25 >
26 > If I was simply too dump, to find any documentation/information about
27 > this topic by myself on the net, it would be kind to point me to those.
28 >
29 > The merit of this, would be a) getting rid of the emul-packages b)
30 > getting any application to work, which only is available for 32bit,
31 > without needing to maintain a 32bit chroot with all it's drawback. I'm
32 > especially thinking of older windows games, which run with wine and from
33 > which I can't separate myself. The only problem is, that wine has itself
34 > to be 32bit and all it's dependencies. (I'm aware, that wine runs with
35 > the emul packages. As there exists windows for 64bit, I guess, there
36 > will be also in the future a 64bit wine for 64bit windows-applications,
37 > so the current situation won't be permanent.) Just one example, where
38 > such a future from the package manager would be cool.
39
40
41 for wine: compile it with the x86 keyword, as i did, and you'll use it as a
42 win32 emulator.... i use all the native packages on x64 with the emuls
43 installed and with wine 32bit, nspluginwrapper for flash 9 and realmedia,
44 and with mplayer's win32codecs for wmv.... these are the only apps that
45 don't run natively on 64bit....
46
47 The only thing, I've know about it, was that portage dependencies
48 > implementation isn't designed for such purpose and it would need major
49 > changes in there, to get portage to do it. I never read something about,
50 > how file collision are handled, which would be certain, if the same
51 > package is installed as 32bit and 64bit (e.g. docs).
52 >
53 > Greetings,
54 > Jean-Marc
55 > --
56 > gentoo-amd64@g.o mailing list
57
58
59 i would not suggest you to install a x86 chroot cause it is useful and makes
60 you compile a lot of crap.... install all the apps for 64bit and then follow
61 the gentoo-wiki's how-tos to install the 32bit only apps (realmedia, wmv,
62 flash, wine).... all other apps, for what i know have a 64bit version....
63
64
65
66
67 --
68 beso
69
70 d-_-b