This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
building libstdc++ fail in config
- From: Bernd Roesch <nospamname at gmx dot de>
- To: libstdc++ at gcc dot gnu dot org
- Date: Wed, 08 Oct 2008 17:01:41 +0200
- Subject: building libstdc++ fail in config
Hello
When the gcc4.3.2 makefile on cygwin with target amigos CPU 68k configure
libstdc++ then come after some config
"No support for this host/target combination."
I have add in file crossconfig.m4
---------------
;;
*-amigaos*)
AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h \
machine/endian.h machine/param.h sys/machine.h sys/types.h \
fp.h locale.h float.h inttypes.h])
SECTION_FLAGS='-ffunction-sections -fdata-sections'
AC_SUBST(SECTION_FLAGS)
GLIBCXX_CHECK_LINKER_FEATURES
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
GLIBCXX_CHECK_WCHAR_T_SUPPORT
AC_DEFINE(HAVE_COPYSIGN)
;;
*)
AC_MSG_ERROR([No support for this host/target combination.])
;;
......
---------------------------
and read the doku and create in config/os a dir amigaos which contain files
from generic OS.
But the error still come
Can somebody please help, whats go wrong.
for the atomic commands i do nothing, in config/cpu/m68k dir(is in gcc
source)
is code that is ok.
here are the last lines of the output.
.....
checking for C locale to use... generic
checking for std::allocator base class... new
configure: "C" header strategy set to c_global
checking for enabled long long specializations... yes
checking wchar.h usability... no
checking wchar.h presence... no
checking for wchar.h... no
checking for mbstate_t... no
checking wctype.h usability... no
checking wctype.h presence... no
checking for wctype.h... no
checking for enabled wchar_t specializations... no
checking for sin in -lm... no
checking for ISO C99 support in <math.h>... no
checking tgmath.h usability... yes
checking tgmath.h presence... yes
checking for tgmath.h... yes
checking complex.h usability... no
checking complex.h presence... no
checking for complex.h... no
no
checking for ISO C99 support in <stdio.h>... no
checking for ISO C99 support in <stdlib.h>... no
checking for fully enabled ISO C99 support... no
configure: Debug build flags set to -g3 -O0
checking for additional debug build... no
configure: /bernd/obj_68k_4/m68k-amigaos/libstdc++-v3/../libgomp/omp.h not
found
checking for parallel mode support... no
checking for extra compiler flags for building...
checking for thread model used by GCC... single
checking for atomic builtins... no
checking for g++ that supports -ffunction-sections -fdata-sections... no
configure: error: No support for this host/target combination.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/bernd/obj_68k_4'
make: *** [all] Error 2
Regards