Compiling m4-1.4.17

cd ~/compile/
wget http://ftp.gnu.org/gnu/m4/m4-1.4.17.tar.gz
tar xvzf m4-1.4.17.tar.gz
cd ~/compile/m4-1.4.17
export BUILD_FLAGS="-march=armv5te -mfloat-abi=soft -mabi=aapcs-linux -fno-stack-protector -pthread -O2 -Wall -I/ffp/include -I/ffp/opt/apache-2.2.29-worker/include"
export LDFLAGS="-L/ffp/lib"
export LDFLAGS="-L/ffp/lib -lintl -lpthread"
export CPPFLAGS="$BUILD_FLAGS"
export CXXFLAGS="$BUILD_FLAGS"
export CFLAGS="$BUILD_FLAGS"
export LC_ALL=POSIX
./configure --prefix=/ffp --enable-dependency-tracking --enable-threads=posix --with-libsigsegv-prefix=/ffp --disable-assert --enable-c++ --enable-changeword --with-syscmd-shell=/ffp/bin/sh
make
rm -r $HOME/temp/m4-1.4.17
make install DESTDIR=$HOME/temp/m4-1.4.17
cd $HOME/temp/m4-1.4.17
ls -l /tmp/m4-*
ls -l ~/ffp_0.7_armv5/packages/m4-*
makepkg m4 1.4.17 0
cp -v /tmp/m4-1.4.17-arm-0.txz ~/ffp_0.7_armv5/packages/
funpkg -i ~/ffp_0.7_armv5/packages/m4-1.4.17-arm-0.txz

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.