This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
addition to http://gcc.gnu.org/faq.html
- From: Axel Freyn <axel-freyn at gmx dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 17 Apr 2011 14:06:55 +0200
- Subject: 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