From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2583 invoked by alias); 16 Feb 2006 23:39:02 -0000 Received: (qmail 2302 invoked by alias); 16 Feb 2006 23:38:51 -0000 Date: Thu, 16 Feb 2006 23:39:00 -0000 Message-ID: <20060216233851.2300.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/14939] libstdc++ doesn't compile with uclibc headers In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jsm28 at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg01899.txt.bz2 List-Id: ------- Comment #10 from jsm28 at gcc dot gnu dot org 2006-02-16 23:38 ------- Subject: Bug 14939 Author: jsm28 Date: Thu Feb 16 23:38:44 2006 New Revision: 111161 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111161 Log: PR libstdc++/14939 PR target/20353 PR target/24578 PR target/24837 * gcc/config/linux.opt: New file. * gcc/config/linux.h (CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER, LINUX_DYNAMIC_LINKER): Define. (TARGET_C99_FUNCTIONS): Define depending on TARGET_GLIBC. * gcc/config.gcc (*-*-linux*): Define extra_options. (*-*-*uclibc*): Define UCLIBC_DEFAULT. (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi. * gcc/config/arm/linux-eabi.h (LINUX_TARGET_INTERPRETER): Change to GLIBC_DYNAMIC_LINKER. * gcc/config/arm/linux-elf.h (LINUX_TARGET_INTERPRETER): Likewise. (LINUX_TARGET_LINK_SPEC): Use LINUX_DYNAMIC_LINKER. * gcc/config/mips/linux.h (GLIBC_DYNAMIC_LINKER): Define. (LINK_SPEC): Use LINUX_DYNAMIC_LINKER. * gcc/doc/invoke.texi (GNU/Linux Options): New section. * gcc/testsuite/gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Don't define if __UCLIBC__ is defined. * libstdc++-v3/config/os/uclibc/ctype_base.h, libstdc++-v3/config/os/uclibc/ctype_inline.h, libstdc++-v3/config/os/uclibc/ctype_noninline.h, libstdc++-v3/config/os/uclibc/os_defines.h: New. * libstdc++-v3/acinclude.m4 (GLIBCXX_CONFIGURE): Test whether using uClibc. * libstdc++-v3/configure.host: Use os/uclibc for uClibc. * libstdc++-v3/crossconfig.m4 (*-linux*): Use link tests. Don't hardcode presence of math functions. * libstdc++-v3/configure: Regenerate. Added: branches/csl/sourcerygxx-4_1/gcc/config/linux.opt branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/ branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/ctype_base.h branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/ctype_inline.h branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/ctype_noninline.h branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/os_defines.h Modified: branches/csl/sourcerygxx-4_1/ChangeLog.csl branches/csl/sourcerygxx-4_1/gcc/config.gcc branches/csl/sourcerygxx-4_1/gcc/config/arm/linux-eabi.h branches/csl/sourcerygxx-4_1/gcc/config/arm/linux-elf.h branches/csl/sourcerygxx-4_1/gcc/config/linux.h branches/csl/sourcerygxx-4_1/gcc/config/mips/linux.h branches/csl/sourcerygxx-4_1/gcc/doc/invoke.texi branches/csl/sourcerygxx-4_1/gcc/testsuite/gcc.dg/builtins-config.h branches/csl/sourcerygxx-4_1/libstdc++-v3/acinclude.m4 branches/csl/sourcerygxx-4_1/libstdc++-v3/configure branches/csl/sourcerygxx-4_1/libstdc++-v3/configure.host branches/csl/sourcerygxx-4_1/libstdc++-v3/crossconfig.m4 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14939