Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AMD64:32-bit; A Noob's SUQ "Still Unanswered Questions"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
clytle374
Apprentice
Apprentice


Joined: 01 Aug 2006
Posts: 221

PostPosted: Fri Aug 04, 2006 4:13 am    Post subject: AMD64:32-bit; A Noob's SUQ "Still Unanswered Questions& Reply with quote

I'm try to condense some info, please inform of errors.
This thread is started after 2 days (almost 48Hrs in these fourm). Searching fourms tend to give outdated or as the saying goes "can't see the forrest for all the tree's"

The AMD64 will run 32-bit apps (minus binary only kernel drivers) with compat libs:
Code:
[ebuild  N    ]  app-emulation/emul-linux-x86-sdl-2.3
[ebuild  N    ]  app-emulation/emul-linux-x86-gtklibs-2.8.8
[ebuild  N    ]   app-emulation/emul-linux-x86-qtlibs-3.4.4
[ebuild  N    ]   app-emulation/emul-linux-x86-xlibs-7.0-r1
[ebuild  N    ]  app-emulation/emul-linux-x86-medialibs-1.2
[ebuild  N    ]   app-emulation/emul-linux-x86-soundlibs-2.3
[ebuild  N    ]    app-emulation/emul-linux-x86-baselibs-2.5.1
[ebuild  N    ]     app-emulation/emul-linux-x86-compat-1.0-r1

are installed and 32-bit emumation is on in the kernel

A chroot32 allows user to build and run 32-bit apps. http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=2

I can get this to work, but i haven't tried to install 3D drivers yet. Can a entire desktop be built and ran inside chroot32? Can the nvidia glx be installed there. Or at least make xhost run 3D apps?

A cross-compile will allow building 32-bit apps. http://arcanux.org/guidexml/cross-development.html
eselect refrences the above.

I read that there are several ways to build 32-bit apps with out the chroot or cross compile.(both break, looking for info)
CFLAGS="$CFLAGS -m32"
or
CTARGET="i686-pc-linux-gnu"
Any others.
Is there a way to pass these to emerge? or do you use ebuild? Or other, or not.

If you read the fourms you will find refrences to using firefox32, it seems to be gone and replaced with firefox-bin!
It takes a while to find out firefox-bin is really 32-bit. Same thing with mplayer32, it is mplayer-bin (why not mplayer32-bin?)
And mplayerplug-in-bin, mplayer32plugin, or mplayer32plug-in-bin is gone all together?

Say i want to build the above 32-bit mplayerplug-in to match my 32-bit firefox and mplayer
Mplayer Plugin:http://sh.nu/download/ebuilds/mplayer/
Note: the cd $PORTDIR_OVERLAY is not literial, ie don't type it: cd /to/actual/dir


Is there a browser/player/plugin combo that run java,flash,32-bit codecs???
MediaPlayerConnectivity, firefox-bin, netscape-flash, mplayer-bin.
General info on this topic, in this thread.https://forums.gentoo.org/viewtopic-t-447949-postdays-0-postorder-asc-highlight-mplayerplugin-start-0.html






I find refrences to:
Code:
revdep-rebuild

But i can't find it.

My intent here is to try and unload the fourms with some sort of FAQ to answer these questions, as many of the posts are redundant. I am sure these questions are all answered elsewhere, yet searcing these answers take forever.

I'm not new to linux started on RH6, this is my first Gentoo. :D I've learned alot, and learned what i don't know 8O
Links to DOC's ,FAQ's, HOWTO's would be great. I'll turn it into a FAQ if answers are provided, and people want it.
Cory
Ignorance is !Bliss


Last edited by clytle374 on Sat Aug 05, 2006 9:05 pm; edited 4 times in total
Back to top
View user's profile Send private message
dr_strange
Guru
Guru


Joined: 16 Apr 2002
Posts: 480
Location: Cambridge, UK

PostPosted: Fri Aug 04, 2006 11:39 am    Post subject: Reply with quote

to get revdep-rebuild you will have to emerge gentoolkit
_________________
shine on,

dr_strange

Set the Controls for the Heart of Gentoo
http://magenta.linuxforum.hu
Back to top
View user's profile Send private message
clytle374
Apprentice
Apprentice


Joined: 01 Aug 2006
Posts: 221

PostPosted: Fri Aug 04, 2006 6:59 pm    Post subject: Reply with quote

MODERATOR:Can we start a fourm on 32-bit under AMD64?? I'm not the only one confused!!!!

This seems to have no effect.
Code:

CTARGET="i686-pc-linux-gnu" emerge -av (whatever)


Nor does this:
Code:
. /etc/make.conf && CFLAGS="$CFLAGS -m32" emerge quake2-icculus


I also tried
Code:

CTARGET="-m32" emerge -av (whatever)

That ain't it. Returns errors.
Isn't somthing needed to point to lib32 for libs?

Quote:

But the problem is that the instructions for installing the plugin(s) have you shut down the
broser after downloading and run the installer. The installer is either a 32 bit binary or
a shell script. It is the installer that bails out because it detects a 64 bit system.


Will linux32 ( DOCS??, no man page) correct the above. what does linux32 do exactly.
Back to top
View user's profile Send private message
bakaohki
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2005
Posts: 129
Location: Hungary

PostPosted: Sat Aug 19, 2006 7:22 pm    Post subject: Reply with quote

linux32 IS setarch, it will fool an existing chroot to think it is run on an x86 architecture. Nothing more, it's not magic (I'm saying this just because I have seen ubuntu people use it as a magical toy).

if you chroot into an x86 gentoo "uname -a" would still say it is an amd64 distro,
but if you do "linux32 chroot" it will say i686.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum