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]

[wwwdocs patch] FAQ refers to specs file


http://gcc.gnu.org/faq.html#rpath refers to the specs file being
present, I think this patch which says how to create and use a specs
file is an improvement.

OK to commit?

Index: faq.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/faq.html,v
retrieving revision 1.208
diff -u -r1.208 faq.html
--- faq.html    17 Nov 2009 20:51:50 -0000      1.208
+++ faq.html    1 May 2010 17:05:43 -0000
@@ -198,9 +198,9 @@
 Solaris.  We should not recreate it.</p>

 <p>However, if you feel you really need such an option to be passed
-automatically to the linker, you may add it to the GCC specs file.
-This file can be found in the same directory that contains cc1 (run
-<code>gcc -print-prog-name=cc1</code> to find it).  You may add linker
+automatically to the linker, you may add it to a GCC specs file.
+This file can be created using the <code>-dumpspecs</code> option and
+passed to GCC using the <code>-specs=</code>.  You may add linker
 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>


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