Message ID | 20220824180426.820576-3-keithp@keithp.com |
---|---|
State | New, archived |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:ecc5:0:0:0:0:0 with SMTP id s5csp1542701wro; Wed, 24 Aug 2022 11:07:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR6eqKFHZVy8OulnWA+NGW6FtcPOpLajMbuwdjKn9fBgjnLpjDdIv6DSWUbcDqfJjyCLU7V/ X-Received: by 2002:a05:6402:50ce:b0:447:d71:8405 with SMTP id h14-20020a05640250ce00b004470d718405mr191332edb.31.1661364464386; Wed, 24 Aug 2022 11:07:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661364464; cv=none; d=google.com; s=arc-20160816; b=FTA6M6SDecT8Lgdkuy/F2tEQzwIFNVDjdtVsqopF3/l1lVqFBkCEq1d15byV4kUGqC dKY4uf8Mk6yg4Vy4tDyp7XFVV3a/1QnCx+d785ZL9ZAvL0vinC8jSiPSOWawEMJ5OOUF okXNUjXHAEFPuu3gO2Er9WILgGc3/A0Eo8u519jzQ87AlEax/jPwDyt+cLa7I5a5KOR0 zIKpBXhOpBTr5zhu2zIJ9Eflbz9ELsmJrAy7l1buCPpA6fTpnNwf0DDACnSsgyaunjAk j+UYMsnsEsT2MfRGRbgiYxeiw84Ic83F8Ua8+z+Qy37qFHmJHB8zEHW4ssQT+MQVDMco 7uog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:reply-to:from:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:dmarc-filter:delivered-to:dkim-signature :dkim-filter; bh=dPMNq2qgRZH/uZRx3MHP9B7fh6QFs1jKjSG02kjQdp0=; b=Z8FbioISz8LkpIh+y3nT6iLMiln9qelUKGTrymJv0TtmTYU5bLYJXXjAOQMubkigEP 279ITny2XLyMu9Mrq7J3GYBcLktnwVtp2DbfUXZo89r9uhRCe4GAjlu8boej/bDZtBap LiAsVE+JZzfjPYXxmy1Och9a+oKcku8u0LLOMYHKNYIUd4yQepJ+NICG62LU0u/Ursfq arJ+zAO683IVt7l0w39zRD7ehnFV03f69/ylnJXLRKnxtKZ45XfSd6cTze8H3nHnuUQs JO9VaIV93GfdhsTmknq8mWaXR7X/RARDfSmsW22gS1bkz52JwpBI1bpsSA1gND3osYM+ Tbcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=QTyAz3Dp; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id s2-20020a17090699c200b00726b4f91300si2491770ejn.269.2022.08.24.11.07.44 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Aug 2022 11:07:44 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=QTyAz3Dp; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 09E183887B40 for <ouuuleilei@gmail.com>; Wed, 24 Aug 2022 18:06:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 09E183887B40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1661364374; bh=dPMNq2qgRZH/uZRx3MHP9B7fh6QFs1jKjSG02kjQdp0=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=QTyAz3Dp2s71vqrpVjM71nt9bIkCuwnr2nAi5mRfB+bm2uUIty3EYTgK5Yx4hFg2R nhT8BrJ5PVMgPoczBkng4Bc6/Id4d+rCNjMpp4yYxFrZhgyzHodLd1vkhLgsk5chIe EUo0e4NcMDOHCwZsDp2uZc9m/b38eBfHc+bCem2M= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from elaine.keithp.com (home.keithp.com [63.227.221.253]) by sourceware.org (Postfix) with ESMTPS id 17D27384BC20; Wed, 24 Aug 2022 18:05:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 17D27384BC20 Received: from localhost (localhost [127.0.0.1]) by elaine.keithp.com (Postfix) with ESMTP id 8D27C3F2FE8C; Wed, 24 Aug 2022 11:05:26 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at keithp.com Received: from elaine.keithp.com ([127.0.0.1]) by localhost (elaine.keithp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Ny2s6hf7e8xr; Wed, 24 Aug 2022 11:05:26 -0700 (PDT) Received: from keithp.com (koto.keithp.com [192.168.11.2]) by elaine.keithp.com (Postfix) with ESMTPSA id 5D8633F2FE55; Wed, 24 Aug 2022 11:05:26 -0700 (PDT) Received: by keithp.com (Postfix, from userid 1000) id 10C011E601CE; Wed, 24 Aug 2022 11:05:26 -0700 (PDT) To: gcc@gcc.gnu.org Subject: [PATCH 2/3] picolibc: Add newlib and picolibc as default C library choices Date: Wed, 24 Aug 2022 11:04:25 -0700 Message-Id: <20220824180426.820576-3-keithp@keithp.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220824180426.820576-2-keithp@keithp.com> References: <20220824180426.820576-1-keithp@keithp.com> <20220824180426.820576-2-keithp@keithp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-10.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: Keith Packard via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Keith Packard <keithp@keithp.com> Cc: gcc-patches@gcc.gnu.org Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1742066904598403192?= X-GMAIL-MSGID: =?utf-8?q?1742066904598403192?= |
Series |
picolibc: Add picolibc linking help
|
|
Commit Message
Keith Packard
Aug. 24, 2022, 6:04 p.m. UTC
Signed-off-by: Keith Packard <keithp@keithp.com>
---
gcc/config.gcc | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gcc/config.gcc b/gcc/config.gcc index f8b6da4f4e7..0aa4bd6c3dd 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -639,7 +639,7 @@ case ${target} in esac # Common C libraries. -tm_defines="$tm_defines LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3 LIBC_MUSL=4" +tm_defines="$tm_defines LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3 LIBC_MUSL=4 LIBC_NEWLIB=5 LIBC_PICOLIBC=6" default_libc="" @@ -5878,6 +5878,12 @@ bionic) musl) default_libc=LIBC_MUSL ;; +newlib) + default_libc=LIBC_NEWLIB + ;; +picolibc) + default_libc=LIBC_PICOLIBC + ;; esac case "$default_libc" in