# G++ FAQ

## Frequently asked questions about the GNU C++ compiler

## June 8, 1998

# FAQ for g++ and libg++, by Joe Buck (jbuck@synopsys.com)

This is a list of frequently asked questions (FAQ) for g++ users; thanks to all those who sent suggestions for improvements. Thanks to Marcus Speh for doing the index. A hypertext version is available on the World Wide Web at ``http://www.cygnus.com/misc/g++FAQ_toc.html'`.

Please send updates and corrections to the FAQ to `jbuck@synopsys.com`. Please do not use me as a resource to get your questions answered; that's what ``gnu.g++.help'` is for and I don't have the time to support the net's use of g++. If you ignore this request your message to me may be deleted without a reply. Sorry.

Many FAQs, including this one, are available on the archive site "rtfm.mit.edu"; see
``ftp://rtfm.mit.edu/pub/usenet/news.answers'`. This FAQ may be found in the subdirectory g++-FAQ.

This FAQ is intended to supplement, not replace, Marshall Cline's excellent FAQ for the C++ language and for the newsgroup ``comp.lang.c++'`. Especially if g++ is the first C++ compiler you've ever used, the question "How do I do <X> with g++?" is probably really "How do I do <X> in C++?". You can find this FAQ at ``ftp://rtfm.mit.edu/pub/usenet/comp.lang.c++'`, or in HTML form at ``http://www.cerfnet.com/~mpcline/On-Line-C++-FAQs/'`.

- basics: What is g++? How do I get it?
- egcs and 2.8.x: The next generation(s) of g++
- installation: How to install, installation problems
- evolution: The Evolution of g++
- User Problems: Commonly reported problems and bugs
- legalities: Lawyer stuff, GPL, LGPL, etc.
- index: Index of terms -- The Detailed Node Listing --- The basics: what is g++?
- latest versions: What are the latest versions of g++ and libraries?
- g++ for Unix: How do I get g++ for Unix?
- getting-egcs: How do I get egcs?
- g++ for HP
- g++ for Solaris 2.x
- g++ for other platforms
- 1.x vs 2.x versions The Next Generation(s) of g++
- new-in-2.8.x: What's new in gcc 2.8.x?
- egcs-intro: What is egcs?
- egcs-whats-new: What's new in egcs vs 2.7.2?
- egcs-bug-fixes: What was fixed in the latest egcs releases?
- egcs-linux: If I install on Linux, will it overwrite my libraries?
- egcs-run-both: How can I run both egcs and an FSF release?
- egcs-vs-2.8.x: How will egcs affect 2.8.x?
- egcs-robustness: How robust is egcs? Installation Issues and Problems
- gcc-2 + g++-1
- what else do I need?
- use GNU linker?
- Use GNU assembler?
- shared libraries
- repository
- repo bugs
- Use GNU C library?
- Global constructor problems
- Strange assembler errors
- Other problems building libg++
- More size_t problems
- Rebuild libg++?
- co-existing versions
- Installing on Linux
- Linux Slackware 3.0 The Evolution of g++
- version 2.7.x: What's changed in 2.7.x from earlier versions
- libstdc++ User Problems
- missing virtual table
- for scope
- const constructor
- unused parameter warnings
- jump crosses initialization
- Demangler
- static data members
- internal compiler error
- bug reports
- porting to g++
- name mangling
- problems linking with other libraries
- documentation
- templates
- undefined templates
- redundant templates
- Standard Template Library
- STL and string
- exceptions
- namespaces
- agreement with standards
- compiling standard libraries
- debugging on SVR4 systems
- debugging problems on Solaris
- X11 conflicts with libg++
- assignment to streams

This document was generated on 30 July 1999 using the texi2html translator version 1.51a.