From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12498 invoked by alias); 19 May 2009 15:25:54 -0000 Received: (qmail 12486 invoked by uid 22791); 19 May 2009 15:25:53 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 19 May 2009 15:25:48 +0000 Received: from zps38.corp.google.com (zps38.corp.google.com [172.25.146.38]) by smtp-out.google.com with ESMTP id n4JFPjtc009141 for ; Tue, 19 May 2009 16:25:45 +0100 Received: from bwz24 (bwz24.prod.google.com [10.188.26.24]) by zps38.corp.google.com with ESMTP id n4JFPU7O027606 for ; Tue, 19 May 2009 08:25:43 -0700 Received: by bwz24 with SMTP id 24so4169920bwz.8 for ; Tue, 19 May 2009 08:25:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.60.133 with SMTP id p5mr143600bkh.143.1242746743032; Tue, 19 May 2009 08:25:43 -0700 (PDT) In-Reply-To: References: Date: Tue, 19 May 2009 18:26:00 -0000 Message-ID: Subject: Re: [lto] LDFLAGS get lost in stage2 From: Diego Novillo To: "Joseph S. Myers" Cc: Eric Fisher , gcc@gcc.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-05/txt/msg00491.txt.bz2 On Tue, May 19, 2009 at 11:18, Joseph S. Myers wr= ote: > On Tue, 19 May 2009, Eric Fisher wrote: > >> Hello, >> >> I have the libelf installed in a non-standard path, so when I build >> the lto branch, I set the such env variables, >> >> $ export CPPFLAGS=3D"-I" =C2=A0<- Only needed if >> libelf is in a non-standard path >> $ export LDFLAGS=3D"-L" =C2=A0 =C2=A0 =C2=A0 <- Only= needed if >> libelf is in a non-standard path > > LTO needs a --with-libelf configure option before it merges to trunk, if > it doesn't already have one, as with the options for all the other host > libraries used by GCC. Of course. It's on my todo list. Patches welcome. Diego.