Building GCC (7.3.0) on Raspbian
Place untarred and latest isl
, mpc
, mpfr
and gmp
products in the gcc-X.Y.Z
directory (without their version numbers) and the GCC build will include them automatically.
Get an extra 10G of swap from somewhere.
#!/bin/sh exec ./configure \ -v \ --enable-languages=c,c++ \ --prefix=/usr/local/gcc-7.3.0 \ --with-arch=armv6 \ --with-fpu=vfp \ --with-float=hard \ --build=arm-linux-gnueabihf \ --host=arm-linux-gnueabihf \ --target=arm-linux-gnueabihf exit
make -j 2