This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem building libstdc++


Hi All - I'm having trouble building libstdc++; any help much appreciated !

Background:
- target is bare-metal MIPS core
- I have a C cross-compiler that I can build OK, based on gcc 3.4.4 with minimal mods
- I rebuilt it OK adding language C++, and trivial C++ code functions AOK on target
- Now, I'm trying to add the C++ library to support real C++
- Its a "simple" cross-compiler (not Canadian)
- I downloaded libstdc++-v3 3.4.4 from a GNU mirror and placed it at top level of source tree
- the toplevel config.sub is updated to recognize the name xxx-mfg-os and set os to "elf"
- Per the libstdc++ porting instructions, I added directories for the target and OS in config:
--- libstdc++-v3/config/cpu/xxx is a copy of "mips"
--- libstdc++-v3/config/os/elf is a copy of "generic"


When I run the top-level make, it correctly descends into libstdc++ but eventually fails:
configure:7660: result: no
configure:7663: checking for enabled ISO C99 support
configure:7671: result: no
configure:7720: checking for thread model used by GCC
configure:7723: result: single
configure:7779: Debug build flags set to -g3 -O0
configure:7783: checking for additional debug build
configure:7800: result: no
configure:7804: checking for extra compiler flags for building
configure:7837: result:
configure:93509: error: No support for this host/target combination.


I'm not sure what happened between lines 7837 and 93509 !!

Any ideas or help much appreciated !
Thanks,
Best Regards, Dave

PS: tail of config.log output follows...
## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_archive_cmds_needs_lc=yes
ac_cv_build=i686-pc-cygwin
ac_cv_build_alias=i686-pc-cygwin
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-g1 -Os -G0 -fno-optimize-sibling-calls'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-pc-cygwin
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=pic32mx
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_inttypes_h=no
ac_cv_header_memory_h=no
ac_cv_header_stdc=no
ac_cv_header_stdint_h=no
ac_cv_header_stdlib_h=no
ac_cv_header_string_h=no
ac_cv_header_strings_h=no
ac_cv_header_sys_stat_h=no
ac_cv_header_sys_types_h=no
ac_cv_header_unistd_h=no
ac_cv_host=pic32mx-mchp-elf
ac_cv_host_alias=pic32mx
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AR=/cygdrive/d/gcc_pic32/work/binutils/ar
ac_cv_prog_AS=/cygdrive/d/gcc_pic32/work/gas/as-new
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=' /cygdrive/d/gcc_pic32/work/gcc/xgcc -B/cygdrive/d/gcc_pic32/work/gcc/ -B/cygdrive/d/GCC_pic32/work/release/pic32mx/bin/ -B/cygdrive/d/GCC_pic32/work/release/pic32mx/lib/ -isystem /cygdrive/d/GCC_pic32/work/release/pic32mx/include -isystem /cygdrive/d/GCC_pic32/work/release/pic32mx/sys-include -L/cygdrive/d/gcc_pic32/work/ld'
ac_cv_prog_CPP=' /cygdrive/d/gcc_pic32/work/gcc/xgcc -B/cygdrive/d/gcc_pic32/work/gcc/ -B/cygdrive/d/GCC_pic32/work/release/pic32mx/bin/ -B/cygdrive/d/GCC_pic32/work/release/pic32mx/lib/ -isystem /cygdrive/d/GCC_pic32/work/release/pic32mx/include -isystem /cygdrive/d/GCC_pic32/work/release/pic32mx/sys-include -L/cygdrive/d/gcc_pic32/work/ld -E'
ac_cv_prog_CXXCPP=' /cygdrive/d/gcc_pic32/work/gcc/xgcc -shared-libgcc -B/cygdrive/d/gcc_pic32/work/gcc/ -nostdinc++ -L/cygdrive/d/gcc_pic32/work/pic32mx/libstdc++-v3/src -L/cygdrive/d/gcc_pic32/work/pic32mx/libstdc++-v3/src/.libs -B/cygdrive/d/GCC_pic32/work/release/pic32mx/bin/ -B/cygdrive/d/GCC_pic32/work/release/pic32mx/lib/ -isystem /cygdrive/d/GCC_pic32/work/release/pic32mx/include -isystem /cygdrive/d/GCC_pic32/work/release/pic32mx/sys-include -L/cygdrive/d/gcc_pic32/work/ld -E'
ac_cv_prog_RANLIB=/cygdrive/d/gcc_pic32/work/binutils/ranlib
ac_cv_prog_STRIP=strip
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_can_build_shared=yes
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_no_builtin=
ac_cv_prog_cc_pic=' -fPIC -DPIC'
ac_cv_prog_cc_pic_works=yes
ac_cv_prog_cc_shlib=
ac_cv_prog_cc_static=
ac_cv_prog_cc_static_works=no
ac_cv_prog_cc_stdc=no
ac_cv_prog_cc_wl=-Wl,
ac_cv_prog_cxx_g=yes
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes
ac_cv_target=pic32mx-mchp-elf
ac_cv_target_alias=pic32mx
glibcxx_cv_prog_CXX=' /cygdrive/d/gcc_pic32/work/gcc/xgcc -shared-libgcc -B/cygdrive/d/gcc_pic32/work/gcc/ -nostdinc++ -L/cygdrive/d/gcc_pic32/work/pic32mx/libstdc++-v3/src -L/cygdrive/d/gcc_pic32/work/pic32mx/libstdc++-v3/src/.libs -B/cygdrive/d/GCC_pic32/work/release/pic32mx/bin/ -B/cygdrive/d/GCC_pic32/work/release/pic32mx/lib/ -isystem /cygdrive/d/GCC_pic32/work/release/pic32mx/include -isystem /cygdrive/d/GCC_pic32/work/release/pic32mx/sys-include -L/cygdrive/d/gcc_pic32/work/ld'
glibcxx_cv_prog_CXX_pch=no
lt_cv_compiler_c_o=yes
lt_cv_deplibs_check_method=unknown
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_path_LD=/cygdrive/d/gcc_pic32/work/ld/ld-new
lt_cv_path_NM=/cygdrive/d/gcc_pic32/work/binutils/nm-new
lt_cv_prog_gnu_ld=yes
lt_cv_sys_max_cmd_len=393217


## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /cygdrive/d/gcc_pic32/104src/missing --run aclocal-1.7'
ALLOCATOR_H='config/allocator/new_allocator_base.h'
ALLOCATOR_NAME='__gnu_cxx::new_allocator'
AMTAR='${SHELL} /cygdrive/d/gcc_pic32/104src/missing --run tar'
AR='/cygdrive/d/gcc_pic32/work/binutils/ar'
AS='/cygdrive/d/gcc_pic32/work/gas/as-new'
ATOMICITY_SRCDIR=''
ATOMIC_WORD_SRCDIR=''
AUTOCONF='${SHELL} /cygdrive/d/gcc_pic32/104src/missing --run autoconf'
AUTOHEADER='${SHELL} /cygdrive/d/gcc_pic32/104src/missing --run autoheader'
AUTOMAKE='${SHELL} /cygdrive/d/gcc_pic32/104src/missing --run automake-1.7'
AWK='gawk'
BASIC_FILE_CC='config/io/basic_file_stdio.cc'
BASIC_FILE_H='config/io/basic_file_stdio.h'
CC=' /cygdrive/d/gcc_pic32/work/gcc/xgcc -B/cygdrive/d/gcc_pic32/work/gcc/ -B/cygdrive/d/GCC_pic32/work/release/pic32mx/bin/ -B/cygdrive/d/GCC_pic32/work/release/pic32mx/lib/ -isystem /cygdrive/d/GCC_pic32/work/release/pic32mx/include -isystem /cygdrive/d/GCC_pic32/work/release/pic32mx/sys-include -L/cygdrive/d/gcc_pic32/work/ld'
CCODECVT_CC='config/locale/generic/codecvt_members.cc'
CCODECVT_H='config/locale/generic/codecvt_specializations.h'
CCOLLATE_CC='config/locale/generic/collate_members.cc'
CCTYPE_CC='config/locale/generic/ctype_members.cc'
CFLAGS='-g1 -Os -G0 -fno-optimize-sibling-calls'
CLOCALE_CC='config/locale/generic/c_locale.cc'
CLOCALE_H='config/locale/generic/c_locale.h'
CLOCALE_INTERNAL_H='config/locale/generic/c++locale_internal.h'
CMESSAGES_CC='config/locale/generic/messages_members.cc'
CMESSAGES_H='config/locale/generic/messages_members.h'
CMONEY_CC='config/locale/generic/monetary_members.cc'
CNUMERIC_CC='config/locale/generic/numeric_members.cc'
CPP=' /cygdrive/d/gcc_pic32/work/gcc/xgcc -B/cygdrive/d/gcc_pic32/work/gcc/ -B/cygdrive/d/GCC_pic32/work/release/pic32mx/bin/ -B/cygdrive/d/GCC_pic32/work/release/pic32mx/lib/ -isystem /cygdrive/d/GCC_pic32/work/release/pic32mx/include -isystem /cygdrive/d/GCC_pic32/work/release/pic32mx/sys-include -L/cygdrive/d/gcc_pic32/work/ld -E'
CPPFLAGS='-g1 -Os -G0 -fno-optimize-sibling-calls'
CSTDIO_H='config/io/c_io_stdio.h'
CTIME_CC='config/locale/generic/time_members.cc'
CTIME_H='config/locale/generic/time_members.h'
CXX=' /cygdrive/d/gcc_pic32/work/gcc/xgcc -shared-libgcc -B/cygdrive/d/gcc_pic32/work/gcc/ -nostdinc++ -L/cygdrive/d/gcc_pic32/work/pic32mx/libstdc++-v3/src -L/cygdrive/d/gcc_pic32/work/pic32mx/libstdc++-v3/src/.libs -B/cygdrive/d/GCC_pic32/work/release/pic32mx/bin/ -B/cygdrive/d/GCC_pic32/work/release/pic32mx/lib/ -isystem /cygdrive/d/GCC_pic32/work/release/pic32mx/include -isystem /cygdrive/d/GCC_pic32/work/release/pic32mx/sys-include -L/cygdrive/d/gcc_pic32/work/ld'
CXXCPP=' /cygdrive/d/gcc_pic32/work/gcc/xgcc -shared-libgcc -B/cygdrive/d/gcc_pic32/work/gcc/ -nostdinc++ -L/cygdrive/d/gcc_pic32/work/pic32mx/libstdc++-v3/src -L/cygdrive/d/gcc_pic32/work/pic32mx/libstdc++-v3/src/.libs -B/cygdrive/d/GCC_pic32/work/release/pic32mx/bin/ -B/cygdrive/d/GCC_pic32/work/release/pic32mx/lib/ -isystem /cygdrive/d/GCC_pic32/work/release/pic32mx/include -isystem /cygdrive/d/GCC_pic32/work/release/pic32mx/sys-include -L/cygdrive/d/gcc_pic32/work/ld -E'
CXXFLAGS='-g1 -Os -G0 -fno-optimize-sibling-calls'
CYGPATH_W='cygpath -w'
C_INCLUDE_DIR='${glibcxx_srcdir}/include/c_std'
DEBUG_FLAGS='-g3 -O0'
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
EXTRA_CXX_FLAGS=''
GLIBCXX_BUILD_DEBUG_FALSE=''
GLIBCXX_BUILD_DEBUG_TRUE=''
GLIBCXX_BUILD_PCH_FALSE=''
GLIBCXX_BUILD_PCH_TRUE=''
GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=''
GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=''
GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=''
GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=''
GLIBCXX_C_HEADERS_C_FALSE=''
GLIBCXX_C_HEADERS_C_STD_FALSE=''
GLIBCXX_C_HEADERS_C_STD_TRUE=''
GLIBCXX_C_HEADERS_C_TRUE=''
GLIBCXX_HOSTED_FALSE=''
GLIBCXX_HOSTED_TRUE=''
GLIBCXX_INCLUDES=''
GLIBCXX_TEST_ABI_FALSE=''
GLIBCXX_TEST_ABI_TRUE=''
GLIBCXX_TEST_WCHAR_T_FALSE=''
GLIBCXX_TEST_WCHAR_T_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LIBMATHOBJS=''
LIBOBJS=''
LIBS=''
LIBSUPCXX_PICFLAGS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /cygdrive/d/gcc_pic32/104src/missing --run makeinfo'
OBJEXT='o'
OPTIMIZE_CXXFLAGS=''
OPT_LDFLAGS=''
OS_INC_SRCDIR=''
PACKAGE='libstdc++'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='package-unused'
PACKAGE_STRING='package-unused version-unused'
PACKAGE_TARNAME='libstdc++'
PACKAGE_VERSION='version-unused'
PATH_SEPARATOR=':'
RANLIB='/cygdrive/d/gcc_pic32/work/binutils/ranlib'
SECTION_FLAGS=''
SECTION_LDFLAGS=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
SYMVER_MAP=''
TOPLEVEL_INCLUDES=''
USE_NLS='no'
VERSION='version-unused'
WARN_FLAGS=''
WERROR=''
ac_ct_AR=''
ac_ct_AS=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__leading_dot='.'
baseline_dir=''
bindir='${exec_prefix}/bin'
build='i686-pc-cygwin'
build_alias='i686-pc-cygwin'
build_cpu='i686'
build_os='cygwin'
build_vendor='pc'
check_msgfmt=''
datadir='${prefix}/share'
enable_shared='no'
enable_static='yes'
exec_prefix='NONE'
glibcxx_MOFILES=''
glibcxx_PCHFLAGS=''
glibcxx_POFILES=''
glibcxx_builddir='/cygdrive/d/gcc_pic32/work/pic32mx/libstdc++-v3'
glibcxx_localedir='/cygdrive/d/gcc_pic32/work/pic32mx/libstdc++-v3/po/share/locale'
glibcxx_prefixdir=''
glibcxx_srcdir='/cygdrive/d/gcc_pic32/104src/libstdc++-v3'
glibcxx_thread_h='gthr-single.h'
glibcxx_toolexecdir=''
glibcxx_toolexeclibdir=''
gxx_include_dir=''
host='pic32mx-mchp-elf'
host_alias='pic32mx'
host_cpu='pic32mx'
host_os='elf'
host_vendor='mchp'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/cygdrive/d/gcc_pic32/104src/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='/cygdrive/d/GCC_pic32/work/release/pic32mx/bin'
libtool_VERSION='6:3:0'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
multi_basedir='../../../104src/libstdc++-v3/..'
oldincludedir='/usr/include'
port_specific_symbol_files=''
prefix='/cygdrive/d/GCC_pic32/work/release'
program_transform_name='s,^,pic32-,;'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='pic32mx-mchp-elf'
target_alias='pic32mx'
target_cpu='pic32mx'
target_os='elf'
target_vendor='mchp'
toplevel_srcdir='/cygdrive/d/gcc_pic32/104src/libstdc++-v3/..'


## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "package-unused"
#define PACKAGE_STRING "package-unused version-unused"
#define PACKAGE_TARNAME "libstdc++"
#define PACKAGE_VERSION "version-unused"
#define _GLIBCXX_HOSTED 1
#define _GLIBCXX_USE_LONG_LONG 1
#endif
#ifdef __cplusplus
void exit (int);

configure: exit 1




Dave Nadler, USA East Coast voice (978) 263-0097, drn@nadler.com, Skype Dave.Nadler1




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]