This is the mail archive of the 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]

PATCH for faq.html

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

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>
*************** (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=> 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>
  <p><a href="index.html">Return to the egcs home page</a>

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