build host-libs like the original
author"Darron Broad" <darron@kewl.org>
Tue, 12 Jan 2016 11:03:11 +0000
changeset 7 b6f31e0aa74d
parent 6 ad3e3db20aca
child 8 28c467a3dbbf
build host-libs like the original
scripts/25gmp
scripts/30gcc
--- a/scripts/25gmp	Tue Jan 12 10:10:10 2016 +0000
+++ b/scripts/25gmp	Tue Jan 12 11:03:11 2016 +0000
@@ -4,7 +4,7 @@
 rm -Rf ${BUILD}/gmp
 mkdir -p ${BUILD}/gmp
 cd ${BUILD}/gmp
-${GCCSRC}/gmp/configure --prefix=${TARGET} --libexecdir=${TARGET}/lib --enable-cxx --disable-shared --enable-static --disable-nls --with-gnu-ld --disable-debug --disable-rpath --enable-fft --enable-hash-synchronization --with-host-libstdcxx="-lm -Wl,-Bstatic,-lstdc++,-Bdynamic"
+${GCCSRC}/gmp/configure --prefix=${BUILD}/host-libs --enable-cxx --disable-shared --enable-static --disable-nls --with-gnu-ld --disable-debug --disable-rpath --enable-fft --enable-hash-synchronization --with-host-libstdcxx="-lm -Wl,-Bstatic,-lstdc++,-Bdynamic"
 make -j 8
 make install
 cd ${CWD}
--- a/scripts/30gcc	Tue Jan 12 10:10:10 2016 +0000
+++ b/scripts/30gcc	Tue Jan 12 11:03:11 2016 +0000
@@ -4,7 +4,7 @@
 rm -Rf ${BUILD}/gcc-coff
 mkdir -p ${BUILD}/gcc-coff
 cd ${BUILD}/gcc-coff
-${GCCSRC}/gcc/configure --with-gmp=${TARGET} --target=pic30-coff --disable-libgcc --disable-lto --disable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch --disable-hosted-libstdcxx --with-gnu-as --with-gnu-ld --enable-languages=c --disable-nls --disable-libgomp --without-headers --disable-libffi --disable-bootstrap --prefix=${TARGET} --libexecdir=${TARGET}/lib --program-prefix="coff-" --with-host-libstdcxx="-lm -Wl,-Bstatic,-lstdc++,-Bdynamic"
+${GCCSRC}/gcc/configure --with-gmp=${BUILD}/host-libs --target=pic30-coff --disable-libgcc --disable-lto --disable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch --disable-hosted-libstdcxx --with-gnu-as --with-gnu-ld --enable-languages=c --disable-nls --disable-libgomp --without-headers --disable-libffi --disable-bootstrap --prefix=${TARGET} --libexecdir=${TARGET}/lib --program-prefix="coff-" --with-host-libstdcxx="-lm -Wl,-Bstatic,-lstdc++,-Bdynamic"
 make -j 8
 make install
 cd ${CWD}