From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6711 invoked by alias); 18 Jun 2013 23:16:57 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 6702 invoked by uid 89); 18 Jun 2013 23:16:56 -0000 X-Spam-SWARE-Status: No, score=-4.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.1 Received: from mail-oa0-f43.google.com (HELO mail-oa0-f43.google.com) (209.85.219.43) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 18 Jun 2013 23:16:53 +0000 Received: by mail-oa0-f43.google.com with SMTP id i7so5799873oag.16 for ; Tue, 18 Jun 2013 16:16:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=Z6Sdoo9jgpNxme9uZRvyKYyXGeTcYpZxQYiQpBnI5dU=; b=BtZGBDDwdGvPm93NIVln21YrG2z+hdDKI5hjQz8uPSFsoEbHlcG3ZK4JjNoiF/3TSM rRtnaokkalJ3n/rR9nsgThQpOoGYugKqYQGQ8hIYuDBopNMSAwBmQrdt6f3hlAz+BHfQ xWxy7Rq+/ghdZIdn6hDFW/MEC33u+hCkaOy6j7awGPT8EP92d1NmuNBwXYXZ4kb9fq4I RsbLq6fVS6/CU2ofaoCLWR3A/cQWunbt4jIfgtGuyMBG7oXAr4qroX+spC9jXrY+C+fR 98fn8eM2Z8eWOmZc/pKiJwNIXDp++jyVi7yxlCFwbj8TrlPiWAZ4T2aJqGAasrinN0xK lWpA== MIME-Version: 1.0 X-Received: by 10.60.94.113 with SMTP id db17mr112658oeb.62.1371597412253; Tue, 18 Jun 2013 16:16:52 -0700 (PDT) Received: by 10.60.4.74 with HTTP; Tue, 18 Jun 2013 16:16:52 -0700 (PDT) In-Reply-To: References: Date: Tue, 18 Jun 2013 23:16:00 -0000 Message-ID: Subject: Re: Trouble building AR From: Ian Lance Taylor To: Uri Moszkowicz Cc: gcc-help Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQloACEc1J9hkLS4rbFqOHmD01XMBLv8OLGLjdT/LXiD/Gh6iCd0H/bhKY3XZaj8ZYGr8394ng2A17k/W3ygOIJqsXjks4mF6qs+ATDeb+JOROl8RFfgX0U5ObfnRTe5EFsBfrHZpZk78qZstlO6cC4ZtFP4+8aJntyX9CrxhEkhVb6ZbL1a7OfTyMfOY1GZrBom2IWu X-SW-Source: 2013-06/txt/msg00143.txt.bz2 On Tue, Jun 18, 2013 at 1:07 PM, Uri Moszkowicz wrote: > I'm having trouble building GCC. I've decompressed GCC 4.7.2 source > into a directory and binutils 2.21.1 into a directory in parallel with > symbolic links to all subdirectories. I ran the contrib script to get > all other dependencies and then ran GCC's configure in a parallel > directory, following all installation instructions. It builds just > fine but when I install it AR seems to be missing. Any idea what > happened to it and how to get it? > > Looks like it's supposed to be built with binutils and I'm getting > other tools from it like LD just not that one. There is a program > called gcc-ar that seems to exist but not sure if it's the same tool? > It may appear if I build binutils by itself but I'm trying to build > them together so that I can get -flto optimization to work, as > apparently GCC balks at using the linker plugin if they weren't built > together. Tell us exactly how you ran configure. It's not clear from the above: did you build the binutils also, or did you only build GCC? Ian