[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gm2] gm2 on a debian linaro firefly
From: |
Gaius Mulley |
Subject: |
[Gm2] gm2 on a debian linaro firefly |
Date: |
Thu, 26 Apr 2018 13:02:28 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hello,
just a small note to say that gm2 based on gcc-6.4.0 builds on a linary
firefly debian stretch using the following configure and build script:
#!/bin/bash
GRAFT=6.4.0
GCC=6.4.0
DIR=${HOME}/GM2/graft-${GRAFT}
PROFILE=
LANGUAGES=c,c++
LANGUAGES=c,c++,gm2
if [ -d $DIR ] ; then
# if ! ./rebuild-autofiles ; then
# echo "failed to reconfigure"
# exit 1
# fi
cd $DIR
rm -rf build-${GRAFT}
mkdir build-${GRAFT}
cd build-${GRAFT}
CFLAGS="-g $PROFILE" ../gm2/gcc-versionno/configure \
--prefix=$HOME/opt \
--libexecdir=$HOME/opt/lib \
--enable-threads=posix \
--enable-clocale=gnu --enable-languages=${LANGUAGES} \
--disable-multilib --disable-bootstrap --enable-checking \
--program-suffix=-6 --program-prefix=arm-linux-gnueabihf-
--disable-bootstrap \
--build=arm-linux-gnueabihf --host=arm-linux-gnueabihf
--target=arm-linux-gnueabihf --with-arch-directory=arm \
--disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16
--with-float=hard
# --disable-shared
# removed ,fortran from languages list
if ! time make CFLAGS='-g' CXXFLAGS='-g' ; then
echo "make failed"
exit 1
fi
make CFLAGS='-g' CXXFLAGS='-g' install
export LD_LIBRARY_PATH=$HOME/opt/lib64
make check-gm2
# make install
# cd $DIR/build-${GCC}/gcc ; make stage2/gm2/cc1gm2 ; cp stage2/gm2/cc1gm2 .
# cd $DIR/build-${GCC}/gcc ; make gm2.paranoid
else
echo "cannot find directory $DIR"
exit 1
fi
# --libexecdir=$HOME/opt/lib \
# --libexecdir=/usr/lib \
regards,
Gaius
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gm2] gm2 on a debian linaro firefly,
Gaius Mulley <=