Skip to content
Tomas Carnecky edited this page Jun 1, 2011 · 1 revision

If you are running a 64bit OS (on a amd64 CPU for example) and need to capture a 32bit app, you'll need to compile seom and yukon in 32bit mode. These two scripts will do that for you.

seom

#!/bin/sh

build() {
        touch config.make
        make mrproper

        ./configure --prefix=/usr --arch="$1" --cflags="-W -Wall"
        make CC="$2"
        sudo make install LIBDIR="$3"
}

build "x86"   "gcc -m32" "lib32"
build "amd64" "gcc -m64" "lib64"

yukon

#!/bin/sh

build() {
        make mrproper

        ./configure --prefix=/usr --libdir="$3" --arch="$1"
        make CC="$2"
        sudo make install
        sudo mkdir -p /etc/yukon/system
        sudo cp sysconf /etc/yukon/system/$1
}

build "x86"   "gcc -m32" "lib32"
build "amd64" "gcc -m64" "lib64"
Clone this wiki locally