Patchwork addition to http://gcc.gnu.org/faq.html

login
register
mail settings
Submitter Axel Freyn
Date April 17, 2011, 12:06 p.m.
Message ID <20110417120655.GY3858@axel>
Download mbox | patch
Permalink /patch/91555/
State New
Headers show

Comments

Axel Freyn - April 17, 2011, 12:06 p.m.
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

Patch

--- 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 <code>-R</code> or <code>-rpath</code>, depending on
 platform and linker, to the <code>*link</code> or <code>*lib</code>

-specs.</p>
+specs. The syntax <code>-Wl,option</code> of GCC can be used to ask GCC
+to transfer the flag <code>option</code> to the linker.</p>

 <p>Another alternative is to install a wrapper script around gcc, g++
 or ld that adds the appropriate directory to the environment variable