From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23735 invoked by alias); 28 Sep 2006 16:40:15 -0000 Received: (qmail 23726 invoked by uid 22791); 28 Sep 2006 16:40:14 -0000 X-Spam-Check-By: sourceware.org Received: from sd-green-bigip-211.dreamhost.com (HELO spunkymail-a9.dreamhost.com) (208.97.132.211) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 28 Sep 2006 16:40:09 +0000 Received: from [192.168.168.2] (pool-71-99-3-224.tampfl.dsl-w.verizon.net [71.99.3.224]) by spunkymail-a9.dreamhost.com (Postfix) with ESMTP id 220C4209E2 for ; Thu, 28 Sep 2006 09:40:07 -0700 (PDT) Message-ID: <451BFB57.7030400@kickflop.net> Date: Thu, 28 Sep 2006 16:40:00 -0000 From: Jeff Blaine User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: Adding -R to specs, need assistance Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-09/txt/msg00330.txt.bz2 I'd like to add -R/gcc/install/path/lib to a specs file per: http://gcc.gnu.org/faq.html#rpath So that our users do not have to specify -R (or -Xlinker -rpath) options in order to simply get gcc or c++ to find libgcc_s.so or libstdc++.so (sigh...) Could I get a little bit more information on how to do this? I've done a 'gcc -dumpspecs > specs' but cannot really figure out the syntax of the file or where exactly the option should go.