From patchwork Tue Apr 28 00:09:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Wilson X-Patchwork-Id: 47651 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5729C2121F for ; Tue, 28 Apr 2015 00:10:42 +0000 (UTC) Received: by wghm4 with SMTP id m4sf29605124wgh.2 for ; Mon, 27 Apr 2015 17:10:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mailing-list:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:sender :delivered-to:mime-version:date:message-id:subject:from:to :content-type:x-original-sender:x-original-authentication-results; bh=LZjxI4MX1Cw77i1Ct4WU0PtSLZBKFdjZm0kUGBjBO7k=; b=VcKh/A84SLHpuCQ0Bx5O8n+DOZqnVfpezPpj7L0oqBFmUiaC+s6KoY3m5qO81aUomg 7GizLLlNBdNp1DTQhICclwe3sSVGWWUtq0JbYraf+XxnLHd345vt64CD+O+UpOtlnjlL +swoFoRbOZ/wIMCQlwqIf2oLIJoySCNuqKybwOdY9G/+S7SgR/TLOX/azwPcpq1nLUqJ YvT41VN+2g3VR4ZIJmw+7DKqggPFRk4MMyXqevKQOPaFWxuLkTZfe93srjE6/mJGsGdW e5aP5Ht5f1cZU1mz8jl0dJ2kibLhtBh9HcI+BSJ+JXJVnTNPTN7wsS5DLb3+oI4CFNvu d3Eg== X-Gm-Message-State: ALoCoQm2/MUH3mVe7rgHI0aXQuG75c1M/Fj89cop7LLccNPGvZfhSZp1MKqbuC5peAtWtw4fR6+l X-Received: by 10.152.206.36 with SMTP id ll4mr8753425lac.6.1430179841261; Mon, 27 Apr 2015 17:10:41 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.198.229 with SMTP id jf5ls8093lac.56.gmail; Mon, 27 Apr 2015 17:10:40 -0700 (PDT) X-Received: by 10.112.167.73 with SMTP id zm9mr12130281lbb.89.1430179840956; Mon, 27 Apr 2015 17:10:40 -0700 (PDT) Received: from mail-la0-x22d.google.com (mail-la0-x22d.google.com. [2a00:1450:4010:c03::22d]) by mx.google.com with ESMTPS id e4si15831285laf.74.2015.04.27.17.10.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Apr 2015 17:10:40 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::22d as permitted sender) client-ip=2a00:1450:4010:c03::22d; Received: by layy10 with SMTP id y10so92296879lay.0 for ; Mon, 27 Apr 2015 17:10:40 -0700 (PDT) X-Received: by 10.112.199.133 with SMTP id jk5mr12565306lbc.32.1430179840847; Mon, 27 Apr 2015 17:10:40 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.67.65 with SMTP id l1csp1573371lbt; Mon, 27 Apr 2015 17:10:39 -0700 (PDT) X-Received: by 10.68.209.193 with SMTP id mo1mr26456853pbc.142.1430179838691; Mon, 27 Apr 2015 17:10:38 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id y5si31975379pbt.39.2015.04.27.17.10.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Apr 2015 17:10:38 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-396150-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 68211 invoked by alias); 28 Apr 2015 00:10:22 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list 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 Received: (qmail 68197 invoked by uid 89); 28 Apr 2015 00:10:22 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL, BAYES_00, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-qk0-f181.google.com Received: from mail-qk0-f181.google.com (HELO mail-qk0-f181.google.com) (209.85.220.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 28 Apr 2015 00:10:21 +0000 Received: by qku63 with SMTP id 63so71737555qku.3 for ; Mon, 27 Apr 2015 17:10:19 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.55.50.201 with SMTP id y192mr932qky.10.1430179795437; Mon, 27 Apr 2015 17:09:55 -0700 (PDT) Received: by 10.140.98.213 with HTTP; Mon, 27 Apr 2015 17:09:55 -0700 (PDT) Date: Mon, 27 Apr 2015 17:09:55 -0700 Message-ID: Subject: update docs for --enable-languages From: Jim Wilson To: "gcc-patches@gcc.gnu.org" X-Original-Sender: jim.wilson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::22d as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@gcc.gnu.org X-Google-Group-Id: 836684582541 I noticed this while working on my mostlyclean patch. The list of languages in the docs for --enable-languages is incomplete. It is missing jit and lto. I also noticed that the grep command matches boot_language= in addition to language= which is a little confusing, so I added the ^. The sentence I added for lto is awkward. It isn't a default language, but it is built by default. Maybe this would make more sense if we talked about boot languages, but then that gets us into another mess describing exactly when languages are boot languages. C is always a boot language. C++ is a boot language if bootstrapping. And lto is a boot language if --enable-lto which is the default. Jim Index: ChangeLog =================================================================== --- ChangeLog (revision 222491) +++ ChangeLog (working copy) @@ -1,3 +1,8 @@ +2015-04-27 Jim Wilson + + * install.texi (--enable-languages): Add missing jit and lto info. + Add ^ to grep command. + 2015-04-27 Yoshinori Sato * config.gcc: Add h8300-*-linux. Index: doc/install.texi =================================================================== --- doc/install.texi (revision 222491) +++ doc/install.texi (working copy) @@ -1544,15 +1544,17 @@ @var{langN} you can issue the following command in the @file{gcc} directory of your GCC source tree:@* @smallexample -grep language= */config-lang.in +grep ^language= */config-lang.in @end smallexample Currently, you can use any of the following: @code{all}, @code{ada}, @code{c}, @code{c++}, @code{fortran}, -@code{go}, @code{java}, @code{objc}, @code{obj-c++}. +@code{go}, @code{java}, @code{jit}, @code{lto}, @code{objc}, @code{obj-c++}. Building the Ada compiler has special requirements, see below. If you do not pass this flag, or specify the option @code{all}, then all default languages available in the @file{gcc} sub-tree will be configured. -Ada, Go and Objective-C++ are not default languages; the rest are. +Ada, Go, Jit, and Objective-C++ are not default languages. LTO is not a +default language, but is built by default because @option{--enable-lto} is +enabled by default. The other languages are default languages. @item --enable-stage1-languages=@var{lang1},@var{lang2},@dots{} Specify that a particular subset of compilers and their runtime