This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH for faq.html
- To: egcs-patches at cygnus dot com
- Subject: PATCH for faq.html
- From: Mark Mitchell <mark at markmitchell dot com>
- Date: Fri, 21 Aug 1998 17:40:22 -0700
- Cc: Jeff Law <law at cygnus dot com>
- Reply-to: mark at markmitchell dot com
Here's FAQ entry I promised when I asked how to run the testsuite with
special options (like -fnew-abi).
Thanks to Jason Merrill and Robert Lipe for providing the answers; I
served only as typist.
Jeff, may I check this in?
--
Mark Mitchell mark@markmitchell.com
Mark Mitchell Consulting http://www.markmitchell.com
Index: faq.html
===================================================================
RCS file: /egcs/carton/cvsfiles/wwwdocs/htdocs/faq.html,v
retrieving revision 1.40
diff -c -p -r1.40 faq.html
*** faq.html 1998/08/18 23:22:51 1.40
--- faq.html 1998/08/22 00:33:43
***************
*** 47,52 ****
--- 47,54 ----
<li><a href="#bigtoc">Link failures using -bbigtoc on AIX</a>
<li><a href="#octave">Octave does not compile</a>
<li><a href="spam.html">Dealing with spam on the lists</a>
+ <li><a href="#testoptions">How do I pass flags like
+ <code>-fnew-abi</code> to the testsuite?</a>
</ol>
<hr>
*************** service.boulder.ibm.com (PTF U455193 for
*** 696,701 ****
--- 698,717 ----
<h2><a name="octave">Octave does not compile</a></h2>
<p>Apparently Octave uses some C++ features which have been obsoleted. This
<a href=http://www.che.wisc.edu/octave/mailing-lists/bug-octave/1998/270> patch to Octave</a> should fix the compilation problems.
+
+ <hr>
+ <h2><a name="testoptions">How do I pass flags like
+ <code>-fnew-abi</code> to the testsuite?</a></h2>
+ <p>If you invoke <code>runtest</code> directly, you can use the
+ <code>--tool_opts</code> option, e.g:
+ <pre>
+ runtest --tool_opts "-fnew-abi -fno-honor-std" <other options>
+ </pre>
+ Or, if you use <code>make check</code> you can use the
+ <code>make</code> variable <code>RUNTESTFLAGS</code>, e.g:
+ <pre>
+ make RUNTESTFLAGS='--tool_opts "-fnew-abi -fno-honor-std"' check-g++
+ </pre>
<hr>
<p><a href="index.html">Return to the egcs home page</a>