Constantine 'Gus' Fantanas wrote:
Mike Marion wrote:
On Tue, Mar 07, 2006 at 08:59:36AM +0100, Dittmann, Werner wrote:
Just an idea: put a linux32 in front of the configure call. linux32 switches the system identify to a 32-bit 686 system for the commands.
linux32 ./configure
This in addition to set the CFLAGS and LDFLAGS to the -m32 architecture.
I found sometimes that it was just easier to set CC to 'gcc -m32' as there were sometimes calls to CC without the flags.
And if there are any direct calls to ld, either add a -32 flag, or replace the ld calls with 'gcc -m32' and it'll call ld with the right flags.
My steps to building 32bit package are usually: linux32 /bin/bash # Easier to just use a shell vim <spec> # Add 32bit to pkg name so you get a <pkg>-32bit-<ver> rpm CC='gcc -m32' rpmbuild -bb <spec>
--Thanks everybody for this lively discussion about 32-bit installs. I have two questions regarding 32-bit programs under a 64-bit kernel:
(1) In my '/usr/src/packages/RMPS/x86_64' directory I see a file named 'w32codec-all-20050412-0.pm.0.x86_64.rpm', whose name suggests it is a a 64-bit file handling windows codecs. I downloaded it (I think in src.rpm format) some time ago. Are this 64-bit Linux codecs which can handle the 32-bit Windows codecs, so, say a 64-bit Xine can play, say, wmv files?
(2) I tried to install transcode from the apt-get 64-bit repositories via synaptic. Synaptic, among other things, complains that MPlayer, which is 32-bits, needs to be uninstalled (I installed the 32-bit rpm version from Packman). Why so if MPlayer is 32 bits and transcode is 64 bits? Can't rpm tell the difference between 64-bit and 32-bit packages? The dependency libraries for 32-bit software are installed in '/lib', while the ones for 64-bit programs in '/lib/64'. Is it possible to have a 32-bit MPlayer and a 64-bit transcode and also 64-bit kino installed?
CF
-- Running 64-bit Linux on AMD64
Hi, for your first question: I installed this package and can now play wmv-files in Mplayer and Xine, both 64bit. for the second: I have installed all those apps in 64bit, I think you had to install the 32bit version of transcode to get it running. Michael