gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] 3 builds of 4.7.3: c) Raspberry Pi


From: Gaius Mulley
Subject: Re: [Gm2] 3 builds of 4.7.3: c) Raspberry Pi
Date: Tue, 28 Jan 2014 22:02:30 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Hi,

here is a script I use for building gm2 on the Raspberry Pi.  It didn't
build completely - but did get further than the error you reported.  It
also took a very long time, 9 days !

Maybe I could have optimised the build, but anyway hope it is useful:

regards,
Gaius


#!/bin/bash

export PATH=/usr/bin:$PATH
echo path set to ${PATH}

echo "press enter to continue if the path is correct"
read ans

LANGUAGES=c,c++,gm2
cd $HOME/GM2
GCC=4.7.3

rm -rf build-${GCC}
mkdir build-${GCC}
cd build-${GCC}

echo -n "checking for multiarch headers:"
gcc -print-multiarch


LIBRARY_PATH=/usr/lib/$(gcc -print-multiarch)
CPATH=/usr/include/$(gcc -print-multiarch)
export LIBRARY_PATH CPATH

CFLAGS="-g" CBOOTFLAGS="-g" \
../gcc-${GCC}+gm2-cvs-latest/configure --prefix=$HOME/opt \
    --enable-languages=${LANGUAGES} \
    --libexecdir=$HOME/opt/lib --enable-shared \
    --enable-threads=posix --enable-__cxa_atexit \
    --enable-clocale=gnu \
    --disable-multilib --disable-bootstrap \
    --enable-checking=all --enable-libgm2 \
    --with-bugurl=mailto://address@hidden \
    --enable-shared --enable-linker-build-id --with-system-zlib \
    --without-included-gettext --enable-threads=posix \
    --enable-nls --with-sysroot=/ --enable-clocale=gnu \
    --enable-libstdcxx-debug --enable-libstdcxx-time=yes \
    --enable-gnu-unique-object --enable-plugin \
    --enable-objc-gc --disable-sjlj-exceptions \
    --with-arch=armv6 --with-fpu=vfp --with-float=hard \
    --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf 
--target=arm-linux-gnueabihf

time ( ( make "SHELL=/bin/bash" && cd gcc && make check-gm2 ) >& build-log ) < 
/dev/null &
sleep 5
tail -f build-log



reply via email to

[Prev in Thread] Current Thread [Next in Thread]