- RedHat EDK 1.1 for i386

RedHat EDK for i386


The RedHat EDK 1.1 source distribution contains all the bits you need to recompile the entire EDK. In order to produce binaries targetted at i386 rather than newer Intel CPU variants, it is necessary to specify a bunch of command line arguments to 'configure' and rebuild glibc. For those of you not that aren't excited by this prospect I have bundled a binary distribution below.

How-To Compile


attach link to any patches that were required.

Compile-Time Options

describe/attach build_cmd here

if [ "`pwd`" != "/opt/redhat/edk-000221/src-redist/glibc-build/~ ]
    echo "please go into the glibc-build directory and try again"
    exit 1

CFLAGS="-mcpu=i386 -DCPU=386"
export CFLAGS

../glibc-2.1.2/configure --prefix=/opt/redhat/edk-000221/H-i686-pc-linux-gnulibc2.1/i386-elix-linux-gnu \
--build=i386-elix-linux-gnu --host=i686-elix-linux-gnu --with-headers=/home/martin/edk/kernels/linux-2.2.14-5/include/ \
--enable-add-ons --disable-sanity-checks

echo "Now go and change the config.make file from:


(i.e. remove all the i486 and above sysdeps crap... guess I could awk it...)

to read:

config-sysdirs =  sysdeps/i386/elf linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread \
linuxthreads/sysdeps/unix/sysv linuxthreads/sysdeps/unix linuxthreads/sysdeps/i386 \
sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common \
sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 \
sysdeps/unix sysdeps/posix sysdeps/i386/fpu sysdeps/libm-i387 sysdeps/i386 sysdeps/wordsize-32 \
sysdeps/ieee754 sysdeps/libm-ieee754 sysdeps/generic/elf sysdeps/generic sysdeps/i386/sys

and press return when you are done

read junk

make install