Gentoo Archives: gentoo-amd64

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: Build a 32-bit app?
Date: Mon, 09 Feb 2009 00:41:21
Message-Id: gmnu2v$4fd$1@ger.gmane.org
In Reply to: Re: [gentoo-amd64] Re: Build a 32-bit app? by Mark Knecht
1 Mark Knecht wrote:
2 > On Sun, Feb 8, 2009 at 3:53 PM, Nikos Chantziaras <realnc@×××××.de> wrote:
3 >> Mark Knecht wrote:
4 >>> Hi all,
5 >>> I'm trying to run the Chuck programming language on my 64-bit
6 >>> machine but it's segfaulting. An individual more experienced with
7 >>> Chuck suggested that maybe it needs to be built as a 32-bit app. I'm
8 >>> looking for instructions on how to do that.
9 >> Try putting "-m32" in CFLAGS/CXXFLAGS temporarily for this build.
10 >
11 > Thanks Nikos. I wish it was that simple. The build fails with lots of
12 > 'undefined reference ' messages.
13 >
14 > I'm wondering what happens if I build it on a 32-bit Gentoo box and
15 > then just move it over? (Or in a 32-bit VM in a vmware session.)
16 > "equery files chuck" seems to say there is nothing other than the
17 > chuck.alsa and chuck.jack binaries. Will they run on my system if I
18 > just drag them over from a 32-bit machine? Would I need to do anything
19 > to tell them to use the emulation libraries?
20
21 That won't work.
22
23 Your only hope befor going the chroot way, is to build manually (good
24 ol' untar;configure;make) with -m32. If that fails, you need a 32-bit
25 chroot.

Replies

Subject Author
Re: [gentoo-amd64] Re: Build a 32-bit app? Mark Knecht <markknecht@×××××.com>
Re: [gentoo-amd64] Re: Build a 32-bit app? Mark Knecht <markknecht@×××××.com>