From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1053 invoked by alias); 20 Dec 2012 14:54:56 -0000 Received: (qmail 1045 invoked by uid 22791); 20 Dec 2012 14:54:55 -0000 X-SWARE-Spam-Status: No, hits=-7.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 20 Dec 2012 14:54:52 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBKEsnJY017942 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 20 Dec 2012 09:54:50 -0500 Received: from zebedee.pink (ovpn-113-94.phx2.redhat.com [10.3.113.94]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id qBKEslki011633; Thu, 20 Dec 2012 09:54:48 -0500 Message-ID: <50D326B6.2000505@redhat.com> Date: Thu, 20 Dec 2012 14:54:00 -0000 From: Andrew Haley User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: Jonathan Wakely CC: Dennis Clarke , gcc-help@gcc.gnu.org Subject: Re: A question about RPATH References: <50D2DD73.6020905@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2012-12/txt/msg00113.txt.bz2 On 12/20/2012 11:40 AM, Jonathan Wakely wrote: > On 20 December 2012 09:42, Andrew Haley wrote: >> >> The disadvantages of RPATH are well-documented. Perhaps its usage is >> common on Solaris, but we don't much use it on Linux. > > Speak for yourself. Linux distros might not, but that doesn't mean users don't. > > As I said at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32354#c9 > "Whether you think LD_LIBRARY_PATH is more or less evil than RPATH is > your business, but I want to be able to make my own decision." You can do that with your gcc installation. The only question here is the default. Andrew.