From patchwork Sun Apr 17 12:06:55 2011
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Axel Freyn
X-Patchwork-Id: 91555
Return-Path:
X-Original-To: incoming@patchwork.ozlabs.org
Delivered-To: patchwork-incoming@bilbo.ozlabs.org
Received: from sourceware.org (server1.sourceware.org [209.132.180.131])
by ozlabs.org (Postfix) with SMTP id 74A92B6FC9
for ;
Sun, 17 Apr 2011 22:07:25 +1000 (EST)
Received: (qmail 3256 invoked by alias); 17 Apr 2011 12:07:20 -0000
Received: (qmail 3243 invoked by uid 22791); 17 Apr 2011 12:07:18 -0000
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL, BAYES_00,
FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Received: from mailout-de.gmx.net (HELO mailout-de.gmx.net) (213.165.64.22)
by sourceware.org (qpsmtpd/0.43rc1) with SMTP;
Sun, 17 Apr 2011 12:07:02 +0000
Received: (qmail invoked by alias); 17 Apr 2011 12:06:58 -0000
Received: from LN-mac29.grenoble.cnrs.fr (EHLO axel) [147.173.67.29] by
mail.gmx.net (mp064) with SMTP; 17 Apr 2011 14:06:58 +0200
Date: Sun, 17 Apr 2011 14:06:55 +0200
From: Axel Freyn
To: gcc-patches@gcc.gnu.org
Subject: addition to http://gcc.gnu.org/faq.html
Message-ID: <20110417120655.GY3858@axel>
MIME-Version: 1.0
Content-Disposition: inline
User-Agent: Mutt/1.5.18 (2008-05-17)
X-IsSubscribed: yes
Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id:
List-Unsubscribe:
List-Archive:
List-Post:
List-Help:
Sender: gcc-patches-owner@gcc.gnu.org
Delivered-To: mailing list gcc-patches@gcc.gnu.org
Hi,
I propose to add a phrase to the "rpath"-section (Dynamic linker is
unable to find GCC libraries), which explains how to use "-R" as
compiler-option (by using "-Wl,")
Axel
--- old/faq.html 2011-04-17 13:55:36.000000000 +0200
+++ new/faq.html 2011-04-17 14:00:28.000000000 +0200
@@ -244,7 +244,8 @@
flags such as -R
or -rpath
, depending on
platform and linker, to the *link
or *lib
-specs.
+specs. The syntax -Wl,option
of GCC can be used to ask GCC
+to transfer the flag option
to the linker.
Another alternative is to install a wrapper script around gcc, g++
or ld that adds the appropriate directory to the environment variable