Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 38184 invoked from network); 14 Nov 2006 16:11:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Nov 2006 16:11:50 -0000 Received: (qmail 59796 invoked by uid 500); 14 Nov 2006 16:12:01 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 59781 invoked by uid 500); 14 Nov 2006 16:12:01 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 59769 invoked by uid 99); 14 Nov 2006 16:12:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Nov 2006 08:12:00 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [208.30.140.160] (HELO moroha.quovadx.com) (208.30.140.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Nov 2006 08:11:47 -0800 Received: from [10.70.3.48] ([10.70.3.48]) by moroha.quovadx.com (8.13.6/8.13.6) with ESMTP id kAEGAvQW006272 for ; Tue, 14 Nov 2006 16:10:58 GMT Message-ID: <4559EAAB.2060805@roguewave.com> Date: Tue, 14 Nov 2006 09:11:23 -0700 From: Andrew Black User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061029 SeaMonkey/1.0.6 MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: Re: [PATCH] Library path fix References: <454BB782.9000500@roguewave.com> <454BD649.9010205@roguewave.com> <454FAB51.5010603@roguewave.com> <4559107B.2070100@roguewave.com> <45590888.8070102@roguewave.com> <455915DE.7040306@roguewave.com> <455910B2.1030100@roguewave.com> In-Reply-To: <455910B2.1030100@roguewave.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Martin Sebor wrote: > Andrew Black wrote: > [...] >> The SunPro documentation (on Solaris) states that the option is passed >> to ld, and both Solaris and Linux use that flag for the same purpose. >> Do we have SunPro installed on any of our Linux build servers? I am >> not aware of it being available anywhere, but I could be mistaken. If >> it is available, I'll run a test build there prior to committing the >> patch. > > If Linux has -R too it should be safe to check it in (Poul says > we don't have a Linux machine with Sun C++ installed so we don't > have an easy way of verifying it unless you want to check it > with gcc). I've tested on Linux with GCC and ICC using the '-Wl,-R$(LIBDIR)' switch to the compiler, and the desired behavior in the resulting executables is obtained. I'll check the sunpro patch in shortly. I intend to post a follow up patch at some point to make this same change for other compilers. --Andrew Black > > Martin > >> >> --Andrew Black >