@knc1 - do you have any reasons to doubt what I am saying?
Code:
arm-mingw_kpw2-linux-gnueabi
Code:
arm-mingw_kpw2-linux-gnueabi-gcc.exe: error: /dev/null: No such file or directory
Using built-in specs.
COLLECT_GCC=D:\gotools\armkpw2\bin\arm-mingw_kpw2-linux-gnueabi-gcc.exe
COLLECT_LTO_WRAPPER=d:/gotools/armkpw2/bin/../libexec/gcc/arm-mingw_kpw2-linux-gnueabi/4.8.4/lto-wrapper.exe
Target: arm-mingw_kpw2-linux-gnueabi
Configured with: /home/rupor/crosstool-ng/.build/src/gcc-linaro-4.8-2014.08/configure --build=x86_64-build_pc-cygwin --host=x86_64-host_w64-mingw32 --target=arm-mingw_kpw2-linux-gnueabi --prefix=/home/rupor/x-tools/arm-mingw_kpw2-linux-gnueabi --with-sysroot=/home/rupor/x-tools/arm-mingw_kpw2-linux-gnueabi/arm-mingw_kpw2-linux-gnueabi/sysroot --enable-languages=c,c++ --with-arch=armv7-a --with-cpu=cortex-a9 --with-tune=cortex-a9 --with-fpu=neon --with-float=softfp --with-pkgversion='crosstool-NG git+-dirty - rupor' --with-bugurl=http://i1.kym-cdn.com/entries/icons/original/000/002/869/last-page-of-the-internet.jpg --disable-sjlj-exceptions --enable-__cxa_atexit --disable-libmudflap --disable-libgomp --disable-libssp --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --with-gmp=/home/rupor/crosstool-ng/.build/arm-mingw_kpw2-linux-gnueabi/buildtools/complibs-host --with-mpfr=/home/rupor/crosstool-ng/.build/arm-mingw_kpw2-linux-gnueabi/buildtools/complibs-host --with-mpc=/home/rupor/crosstool-ng/.build/arm-mingw_kpw2-linux-gnueabi/buildtools/complibs-host --with-isl=/home/rupor/crosstool-ng/.build/arm-mingw_kpw2-linux-gnueabi/buildtools/complibs-host --with-cloog=/home/rupor/crosstool-ng/.build/arm-mingw_kpw2-linux-gnueabi/buildtools/complibs-host --with-libelf=/home/rupor/crosstool-ng/.build/arm-mingw_kpw2-linux-gnueabi/buildtools/complibs-host --enable-lto --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --enable-threads=posix --disable-libstdcxx-pch --without-long-double-128 --enable-linker-build-id --with-linker-hash-style=gnu --enable-gold --disable-nls --disable-multilib --with-local-prefix=/home/rupor/x-tools/arm-mingw_kpw2-linux-gnueabi/arm-mingw_kpw2-linux-gnueabi/sysroot --enable-c99 --enable-long-long
Thread model: posix
gcc version 4.8.4 20140811 (prerelease) (crosstool-NG git+-dirty - rupor)
I am aware that targeting PW2 requires more, than specifying compiler name. I used configuration settings and versions of the eglibc2 library, kernel and compiler (to the best of my abilities, of course) from Amazon's sources and my kindle dumps - freely available last I checked. I also took a look at
NiLuJe's toolchain - but did not follow his example.
The only sources of interest here are configuration settings for
crosstool-ng. Those are always included with the toolchain itself as the result of the build (bin\arm-mingw_kpw2-linux-gnueabi-ct-ng.config) and in the full build.log (also available with toolchain). Patches to croostool-ng tool itself (if somebody wants to repeat torture of canadian-cross rebuilding GCC toolchain under cygwin with mingw on Windows 64) are now in github (reluctant fork) and patch to Go 1.3.1 which is submitted to Go community (
https://code.google.com/p/go/issues/detail?id=8723). Everything is available on my github.
I verified the results by re-writing small part of
barsanuphe librarysync in Go and running it on my device.
I am not aware of any other work of "Kindle Go" on this site - but will appreciate pointers.