| 1 | <html>
|
|---|
| 2 |
|
|---|
| 3 | <head>
|
|---|
| 4 | <title>GCC Frequently Asked Questions</title>
|
|---|
| 5 | </head>
|
|---|
| 6 |
|
|---|
| 7 | <body>
|
|---|
| 8 |
|
|---|
| 9 | <h1>GCC Frequently Asked Questions</h1>
|
|---|
| 10 |
|
|---|
| 11 | <p>The latest version of this document is always available at
|
|---|
| 12 | <a href="http://gcc.gnu.org/faq.html">http://gcc.gnu.org/faq.html</a>.</p>
|
|---|
| 13 |
|
|---|
| 14 | <p>This FAQ tries to answer specific questions concerning GCC. For
|
|---|
| 15 | general information regarding C, C++, resp. Fortran please check the
|
|---|
| 16 | <a href="http://www.eskimo.com/~scs/C-faq/top.html">comp.lang.c FAQ</a>,
|
|---|
| 17 | <a href="http://www.jamesd.demon.co.uk/csc/faq.html">comp.std.c++
|
|---|
| 18 | FAQ</a>,
|
|---|
| 19 | and the <a href="http://www.fortran.com/fortran/info.html">Fortran
|
|---|
| 20 | Information page</a>.</p>
|
|---|
| 21 |
|
|---|
| 22 | <p>Other GCC-related FAQs:
|
|---|
| 23 | <a href="http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html">
|
|---|
| 24 | libstdc++-v3</a>, and
|
|---|
| 25 | <a href="http://gcc.gnu.org/java/faq.html">GCJ</a>.</p>
|
|---|
| 26 |
|
|---|
| 27 | <hr />
|
|---|
| 28 | <h1>Questions</h1>
|
|---|
| 29 | <ol>
|
|---|
| 30 | <li><a href="#general">General information</a>
|
|---|
| 31 | <ol>
|
|---|
| 32 | <li><a href="#gcc">What is the relationship between GCC and EGCS?</a></li>
|
|---|
| 33 | <li><a href="#open-development">What is an open development model?</a></li>
|
|---|
| 34 | <li><a href="#support">How do I get a bug fixed or a feature added?</a></li>
|
|---|
| 35 | <li><a href="#platforms">Does GCC work on my platform?</a></li>
|
|---|
| 36 | </ol></li>
|
|---|
| 37 |
|
|---|
| 38 | <li><a href="#installation">Installation</a>
|
|---|
| 39 | <ol>
|
|---|
| 40 | <li><a href="#multiple">How to install multiple versions of GCC</a></li>
|
|---|
| 41 | <li><a href="#rpath">Dynamic linker is unable to find GCC libraries</a></li>
|
|---|
| 42 | <li><a href="#rpath">libstdc++/libio tests fail badly with --enable-shared</a></li>
|
|---|
| 43 | <li><a href="#gas">GCC can not find GNU as/GNU ld</a></li>
|
|---|
| 44 | <li><a href="#environ">cpp: Usage:... Error</a></li>
|
|---|
| 45 | <li><a href="#optimizing">Optimizing the compiler itself</a></li>
|
|---|
| 46 | <li><a href="#iconv">Why does <code>libiconv</code> get linked into <code>jc1</code> on Solaris?</a></li>
|
|---|
| 47 | </ol></li>
|
|---|
| 48 |
|
|---|
| 49 | <li><a href="#testsuite">Testsuite problems</a>
|
|---|
| 50 | <ol>
|
|---|
| 51 | <li><a href="#testoptions">How do I pass flags like
|
|---|
| 52 | <code>-fnew-abi</code> to the testsuite?</a></li>
|
|---|
| 53 | <li><a href="#multipletests">How can I run the test suite with multiple options?</a></li>
|
|---|
| 54 | </ol></li>
|
|---|
| 55 |
|
|---|
| 56 | <li><a href="#old">Older versions of GCC</a>
|
|---|
| 57 | <ol>
|
|---|
| 58 | <li><a href="#2.95sstream">Is there a stringstream / sstream for GCC 2.95.2?</a></li>
|
|---|
| 59 | </ol></li>
|
|---|
| 60 |
|
|---|
| 61 | <li><a href="#misc">Miscellaneous</a>
|
|---|
| 62 | <ol>
|
|---|
| 63 | <li><a href="#friend">Friend Templates</a></li>
|
|---|
| 64 | <li><a href="#dso"><code>dynamic_cast</code>, <code>throw</code>, <code>typeid</code> don't work with shared libraries</a></li>
|
|---|
| 65 | <li><a href="#generated_files">Why do I need autoconf, bison, xgettext, automake, etc?</a></li>
|
|---|
| 66 | <li><a href="#picflag-needed">Why can't I build a shared library?</a></li>
|
|---|
| 67 | <li><a href="#vtables">When building C++, the linker says my constructors, destructors or virtual tables are undefined, but I defined them</a></li>
|
|---|
| 68 | <li><a href="#incremental">Will GCC someday include an incremental linker?</a></li>
|
|---|
|
|---|