I’m trying to build the toolchain as win32 executable on Ubuntu with ABE. I’m pretty new with ABE. I followed the FAQ https://wiki.linaro.org/WorkingGroups/ToolChain/FAQ and Rob’s post. Also checked the MakeRelease.job and slave.sh. I have all packages listed in the slave.sh installed. So I assume I have all dependencies ready for the build. Here is what I have done:
Create _build subfolder beside abe
CD to _build and run: ../abe/configure --with-fileserver=148.251.136.42 --with-remote-snapshots=/snapshots-ref
First build this: ../abe/abe.sh --target aarch64-none-elf –build all
It installed the toolchain to _build/builds/destdir/x86_64-unknown-gnu-linux. I added the bin under it to my PATH
Then do 2nd round build: ../abe/abe.sh –host i686-w64-mingw32 --target aarch64-none-elf –build all
However, I’m getting config error while it building libiberty:
configure:5946: checking for library containing strerror
Configure:5978: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
My understanding is that the linker cannot find glibc or eglibc. 
What have I missed?
Any where I can find detail instruction like step by step to build Linaro toolchain for running on Windows host?
 
Sincerely,
 
Qyq