This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-5.3.0 libstdc++-v3: configure: error: No support for this host/target combination for arm-none-eabi
- From: Kyrill Tkachov <kyrylo dot tkachov at foss dot arm dot com>
- To: "onkel dot jack at t-online dot de" <onkel dot jack at t-online dot de>, "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Wed, 30 Mar 2016 14:32:26 +0100
- Subject: Re: gcc-5.3.0 libstdc++-v3: configure: error: No support for this host/target combination for arm-none-eabi
- Authentication-results: sourceware.org; auth=none
- References: <1459342340242 dot 909508 dot 3fb8ceeaf05f65d7b223e142969681ed18c43fd4 at spica dot telekom dot de>
Hi,
On 30/03/16 13:52, onkel.jack@t-online.de 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.