--- a/scripts/30gcc Tue Jan 12 09:30:41 2016 +0000
+++ b/scripts/30gcc Tue Jan 12 10:05:31 2016 +0000
@@ -4,7 +4,7 @@
rm -Rf ${BUILD}/gcc-coff
mkdir -p ${BUILD}/gcc-coff
cd ${BUILD}/gcc-coff
-${GCCSRC}/gcc/configure --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=${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"
make -j 8
make install
cd ${CWD}
@@ -12,7 +12,7 @@
#rm -Rf ${BUILD}/gcc-elf
#mkdir -p ${BUILD}/gcc-elf
#cd ${BUILD}/gcc-elf
-#${GCCSRC}/gcc/configure --target=pic30-elf --with-dwarf2 --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="elf-" --with-host-libstdcxx="-lm -Wl,-Bstatic,-lstdc++,-Bdynamic"
+#${GCCSRC}/gcc/configure --with-gmp=${TARGET} --target=pic30-elf --with-dwarf2 --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="elf-" --with-host-libstdcxx="-lm -Wl,-Bstatic,-lstdc++,-Bdynamic"
#make -j 8
#make install
#cd ${CWD}
--- a/scripts/include Tue Jan 12 09:30:41 2016 +0000
+++ b/scripts/include Tue Jan 12 10:05:31 2016 +0000
@@ -27,9 +27,10 @@
export DEVICE_INFO=${NONFREE}/bin/c30_device.info
export CC="gcc"
-export CFLAGS="-DMCHP_VERSION=v1.22 -D_BUILD_C30_ -D_BUILD_MCHP_ -DRESOURCE_MISMATCH_OK -DDEVICE_INFO=${DEVICE_INFO} -I${C30_RESOURCE_DIR}"
+export CFLAGS="-DMCHP_VERSION=v1.25 -D_BUILD_C30_ -D_BUILD_MCHP_ -DRESOURCE_MISMATCH_OK -DDEVICE_INFO=${DEVICE_INFO} -I${C30_RESOURCE_DIR}"
export CXX="g++"
export CXXFLAGS="${CFLAGS} -fpermissive"
+export MAKEINFO=/bin/true
export GCC_FOR_TARGET="gcc"
export CC_FOR_TARGET="gcc"