Compiling diffutils

cd ~/compile
tar -xJf diffutils-3.3.tar.xz
cd diffutils-3.3
./configure --help >
export CFLAGS="-march=armv5te -mtune=xscale -mfloat-abi=soft -mfpu=vfp -mabi=aapcs-linux -mthumb -O2 -Wall"
export LDFLAGS="-L/ffp/lib -lintl"
export CPPFLAGS="-I/ffp/include -I/ffp/include/readline"
export CXXFLAGS="-I/ffp/include -I/ffp/include/readline"
./configure --prefix=/ffp --with-libiconv-prefix=/ffp --with-libintl-prefix=/ffp
nohup /ffp/bin/make V=1 &
renice -14 `pidof cc1plus` -p `pidof make` -p `pidof as`
tail -f nohup.out
mkdir -p ~/temp/diffutils
rm -r ~/temp/diffutils/*
make check
make install DESTDIR=/usr/local/zy-pkgs/ffproot/ffp/home/root/temp/diffutils/
cd ~/temp/diffutils
rm /tmp/diffutils-3.3-arm-1.txz
#makepkg diffutils version buildnumber
makepkg diffutils 3.3 1
cp /tmp/diffutils-3.3-arm-1.txz /usr/local/zy-pkgs/gui/ffp_0.7_armv5
funpkg -i /usr/local/zy-pkgs/gui/ffp_0.7_armv5/diffutils-3.3-arm-1.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.