This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 <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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]