From patchwork Mon Jan 7 15:01:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georg-Johann Lay X-Patchwork-Id: 209945 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id E64F62C008F for ; Tue, 8 Jan 2013 02:02:04 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1358175725; h=Comment: DomainKey-Signature:Received:Received:Received:Received: Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=X3Put4i uW+ptXnanOZBePdi8SXY=; b=KR95pMcOVebQwWfsqFCTCMjJIp/bQfjsn46wvid euuF0nkajPRM9kThK+lw8PdY9V9h28cnvOc369M0u/29h/mZy7pts7Y2rpVqgSZj IEBSKXeewy7wjJdjq7M89+GISGBH5SOdjE/xW9lOskMyBRmczC1P4WT6ejYvkVq5 nXaY= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:X-RZG-AUTH:X-RZG-CLASS-ID:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:Content-Type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=ODL79PcbxTL0daMUmiEMyAZuSUJz4ACMBt9YARqX24D5RB40ZYBgco8MzVrOoj 6Z0UEo5I4saR1mJvlJoPfEplffUXTEC0sa0Kq4/5KY3486BoO3maqov3P1/xZVyZ MuB5X9ZBOE9v0CMnR9BtBTfOSM5jyMZ9MQE89I6sTp/Lo=; Received: (qmail 13155 invoked by alias); 7 Jan 2013 15:01:58 -0000 Received: (qmail 13145 invoked by uid 22791); 7 Jan 2013 15:01:58 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mo-p00-ob.rzone.de (HELO mo-p00-ob.rzone.de) (81.169.146.161) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Jan 2013 15:01:50 +0000 X-RZG-AUTH: :LXoWVUeid/7A29J/hMvvT2k715jHQaJercGObUOFkj18odoYNahU4Q== X-RZG-CLASS-ID: mo00 Received: from [192.168.0.22] (business-188-111-022-002.static.arcor-ip.net [188.111.22.2]) by smtp.strato.de (joses mo31) (RZmta 31.11 AUTH) with ESMTPA id e05f4cp07EYD2R ; Mon, 7 Jan 2013 16:01:43 +0100 (CET) Message-ID: <50EAE357.8000504@gjlay.de> Date: Mon, 07 Jan 2013 16:01:43 +0100 From: Georg-Johann Lay User-Agent: Thunderbird 2.0.0.24 (X11/20100302) MIME-Version: 1.0 To: gcc-patches@gcc.gnu.org CC: Denis Chertykov , Eric Weddington , Gerald Pfeifer Subject: [patch,doc,avr] ad PR54461: Document --with-avrlibc X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org This addendum adds --with-avrlibc to the (web) documentation. It inserts the explanation after --with-newlib which seems to be a reasonable place. Ok to apply? Johann PR target/PR54461 * doc/install.texi (Cross-Compiler-Specific Options): Document --with-avrlibc. Index: doc/install.texi =================================================================== --- doc/install.texi (revision 194964) +++ doc/install.texi (working copy) @@ -1813,6 +1813,16 @@ being used as the target C library. Thi omitted from @file{libgcc.a} on the assumption that it will be provided by @samp{newlib}. +@item --with-avrlibc +Specifies that @samp{AVR-Libc} is +being used as the target C library. This causes float support +functions like @code{__addsf3} to be omitted from @file{libgcc.a} on +the assumption that it will be provided by @file{libm.a}. For more +technical details, cf. @uref{http://gcc.gnu.org/PR54461,,PR54461}. +This option is only supported for the AVR target and only for +non-RTEMS configurations. The options is supported since version +4.7.2 and is the default in 4.8.0 and newer. + @item --with-build-time-tools=@var{dir} Specifies where to find the set of target tools (assembler, linker, etc.) that will be used while building GCC itself. This option can be useful