From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31852 invoked by alias); 21 Jul 2010 23:09:11 -0000 Received: (qmail 31841 invoked by uid 22791); 21 Jul 2010 23:09:10 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-qy0-f182.google.com (HELO mail-qy0-f182.google.com) (209.85.216.182) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Jul 2010 23:09:05 +0000 Received: by qyk7 with SMTP id 7so4277985qyk.20 for ; Wed, 21 Jul 2010 16:09:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.19.205 with SMTP id c13mr688649qab.215.1279753743905; Wed, 21 Jul 2010 16:09:03 -0700 (PDT) Received: by 10.229.78.194 with HTTP; Wed, 21 Jul 2010 16:09:03 -0700 (PDT) In-Reply-To: <4C473ECF.2040502@codesourcery.com> References: <4C370662.8050906@moxielogic.com> <4C374760.8070705@codesourcery.com> <4C378A3A.8070309@moxielogic.com> <4C3A1999.7090801@codesourcery.com> <4C3F3098.4060407@codesourcery.com> <20100720182034.GJ26037@codesourcery.com> <4C473ECF.2040502@codesourcery.com> Date: Wed, 21 Jul 2010 23:09:00 -0000 Message-ID: Subject: Re: [PATCH] Fix building several uclinux target From: David Edelsohn To: Maxim Kuvyrkov Cc: Nathan Froyd , Anthony Green , gcc-patches Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg01689.txt.bz2 On Wed, Jul 21, 2010 at 2:39 PM, Maxim Kuvyrkov wr= ote: > I would rather not duplicate the case statement which matches a non-trivi= al > list of targets. =A0It would be just too error prone. > > How about instead we make the implicit effects of config/rs6000/sysv4.h > explicit? =A0I.e., default to GLIBC when no C library is specified. =A0Th= is was > the behavior before UCLIBC_DEFAULT was replaced with DEFAULT_LIBC. That seems like a reasonable solution. Okay. Thanks, David