Mercurial > gub
changeset 5813:16524f1c9e4d
guile.py: yet another Let's run i386 on 64 bit hardware build fix.
The nice thing is, that I could reproduce this on karmic x86_64 by doing
debootstrap --arch=i386 --exclude=grub,lilo jaunty jaunty.i386 http://nl.archive.ubuntu.com/ubuntu/
set -ex
chroot jaunty.i386 apt-get --force-yes -y install python gcc libc6-dev # minimal
chroot jaunty.i386 apt-get --force-yes -y install g++ # pkg-config
chroot jaunty.i386 apt-get --force-yes -y install file # ugh, configure 2.63 hardcodes: /usr/bin/file
wget -O gub.tar.gz http://github.com/janneke/gub/tarball/master
mkdir -p jaunty.i386/root/vc/gub
tar -C jaunty.i386/root/vc/gub --strip-components=1 -xzf gub.tar.gz
mount -t proc /proc jaunty.i386/proc # for librestrict
mkdir -p jaunty.i386/root/bin
bash -c 'echo "PATH=~/bin:$PATH" >> jaunty.i386/root/.bash_profile'
cp -pv jaunty.i386/root/vc/gub/sourcefiles/gub.sh jaunty.i386/root/bin/gub
chroot jaunty.i386 bash -lc 'cd root/vc/gub && gub linux-x86::guile'
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Fri, 16 Oct 2009 11:10:17 +0200 |
parents | 9ea2f4804106 |
children | 9889b8fb083d |
files | gub/specs/guile.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/guile.py Thu Oct 15 13:03:08 2009 +0200 +++ b/gub/specs/guile.py Fri Oct 16 11:10:17 2009 +0200 @@ -43,7 +43,8 @@ # FIXME: guile runs gen_scmconfig [when not x-building also guile] # without setting the proper LD_LIBRARY_PATH. compile_flags_native = (' LD_PRELOAD= ' - + ' LD_LIBRARY_PATH=%(tools_prefix)s/lib:${LD_LIBRARY_PATH-/foe} ') + + ' LD_LIBRARY_PATH=%(tools_prefix)s/lib:${LD_LIBRARY_PATH-/foe} ' + + ' cross_compiling=yes ') # FIXME: guile runs gen_scmconfig [when not x-building also guile] # without setting the proper LD_LIBRARY_PATH. configure_command = ('GUILE_FOR_BUILD=%(tools_prefix)s/bin/guile '