Hi, On 30/03/16 13:52, onkel.jack@xxxxxxxxxxx wrote:
Trying to build a cross tool chain under mingw64 or cygwin64 I run into the problem: configure: error: No support for this host/target combination. at building libstdc++-v3. configure options are: binutils 2.4 : --target=arm-none-eabi --prefix=/opt/arm-none-eabi-5.3.0 --disable-nls --disable-werror gcc-boot 5.3.0 : --target0arm-none-eabi --prefix=/opt/arm-none-eabi-5.3.0 \ --with-newlib=../$(NEWLIB) --with-gnu-as --with-gnu-ld --disable-nls --disable-libssp \ --disable-gomp --disable-libstcxx-pch --enable-multilib --enable-threads --disable-shared --enable-static \ --disable-libmudflap --enable-interwork --enable-languages=c,c++ additional stuff for gcc was fetched with ./contrib/download_prerequisites in gcc source dir
I don't have experience with building arm-none-eabi cross toolchains on mingw64, but if what you pasted is the verbatim configure line then you have a typo at "--target0arm-none-eabi". You meant "--target=arm-none-eabi"? Kyrill
newlib git-master Mar 29 2016 : --target=arm-none-eabi --prefix=/opt/arm-none-eabi-5.3.0 \ --enable-multilib \ --enable-shared=no --enable-static=yes \ --enable-newlib-nano-malloc --enable-newlib-nano-formatted-io --enable-target-optspace\ --enable-lite-exit --enable-newlib-global-atexit --enable-newlib-reent-small \ --disable-newlib-fvwrite-in-streamio\ gcc 5.3.0 build all w/o new configure (as configured by gcc-boot) in libstdc++-v3/configure is called with : /gcc-5.3.0/libstdc++-v3/configure --srcdir=../../../gcc-5.3.0/libstdc++-v3 --cache-file=./config.cache --with-cross-host=x86_64-unknown-cygwin --prefix=/opt/arm-none-eabi-5.3.0 --with-newlib=../newlib-cygwin --with-gnu-as --with-gnu-ld --disable-nls --disable-libssp --disable-gomp --disable-libstcxx-pch --enable-multilib --enable-threads --disable-shared --enable-static --disable-libmudflap --enable-interwork --enable-languages=c,c++,lto --program-transform-name=s&^&arm-none-eabi-& --disable-option-checking --with-target-subdir=arm-none-eabi --build=x86_64-unknown-cygwin --host=arm-none-eabi --target=arm-none-eabi (from libstdc++-v3/config.log) Do I do something wrong ? I use the build configuration I successfully had used with gcc4.7 in the past.