So I built a new RHEL 5 system and applied all necessary updates on it. This takes it up to version 5.5, but Tripwire’s server doesn’t want to install due to the version being too high. Though I REALLY wish 3PD’s would embrace the concept of “if $ver => 5.3″…
Anyhow, they DID put a flag in to fix this little annoyance. To fix it:
./install-server-linux-amd64.bin -DIgnoreOSVersion=true
Thank gods someone thought ahead!
So I’ve decided I wanted to build a cross compiler on x86_64 install of Linux (RHEL 5) and have run into nothing but old-arse documents except for the Fine folks at Linux From Scratch where I find they have documentation on the process, but it requires some of their patches/setup to make it happen. So I’m attempting to make it so that you can do it from scratch without any outside scripts/etc.
(Work in progress)
This will be for building 32-bit SPARC code on an x86_64 system:
Compile Binutils for Cross Compilation
tar jxvf binutils-*.tar.bz2
mkdir binutils-build
cd binutils-build
AR=ar AS=as ../binutils-2*/configure --prefix=/opt/cross-compiler --host=x86_64 --target=sparc-linux --with-lib-path=/cross-compiler/lib --disable-nls --enable-shared
make configuration-host
make
make check
make install
Build GMP as prereq for gcc
Build MPFR as prereq for gcc
Build MCP as prereq for gcc