addition to

Message ID alpine.LNX.2.00.1110302000360.3250@gerinyyl.fvgr
State New
Headers show

Commit Message

Gerald Pfeifer Oct. 30, 2011, 7:01 p.m.
On Sun, 17 Apr 2011, Axel Freyn wrote:
> 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,")

This is a good idea, thank you.  I applied the small variation of
your original patch below (and sorry for the delay in following up).



Index: faq.html
RCS file: /cvs/gcc/wwwdocs/htdocs/faq.html,v
retrieving revision 1.212
diff -u -r1.212 faq.html
--- faq.html	8 May 2011 13:01:44 -0000	1.212
+++ faq.html	30 Oct 2011 19:00:20 -0000
@@ -204,6 +204,9 @@ 
 platform and linker, to the <code>*link</code> or <code>*lib</code>
+<p>Alternately the syntax <code>-Wl,option</code> 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
 <code>LD_RUN_PATH</code> or equivalent (again, it's