Go to file
Ian Lance Taylor 00020c1638 configure.ac: Add --enable-build-with-cxx.
./:	* configure.ac: Add --enable-build-with-cxx.  When set, add c++ to
	boot_languages.  Only bootstrap target libraries listed in
	target_libs for some boot language.  Add --with-stage1-ldflags,
	--with-stage1-libs, --with-boot-ldflags, --with-boot-libs.  Remove
	with_host_libstdcxx from ppllibs.  Only add -fkeep-inline-functions
	if not building with C++.
	* Makefile.def: For target_module libstdc++-v3, set bootstrap=true.
	* Makefile.tpl (STAGE1_LDFLAGS, STAGE1_LIBS): New variables.
	(POSTSTAGE1_LDFLAGS, POSTSTAGE1_LIBS): New variables.
	(HOST_EXPORTS): Add STAGE1_LDFLAGS to LDFLAGS.  Export HOST_LIBS.
	(POSTSTAGE1_HOST_EXPORTS): Set CXX and CXX_FOR_BUILD.  Add
	POSTSTAGE1_LDFLAGS to LDFLAGS.  Export HOST_LIBS.
	(POSTSTAGE1_FLAGS_TO_PASS): Likewise.
	* configure, Makefile.in: Rebuild.
gcc/:
	* configure.ac: Invoke AC_PROG_CXX.  Separate C specific warnings
	from loose_warn into c_loose_warn and from strict_warn into
	c_strict_warn.  Set and substitute warn_cxxflags.  Check for
	--enable-build-with-cxx.  Set and substitute
	ENABLE_BUILD_WITH_CXX.  Set and substitute HOST_LIBS.
	* Makefile.in (CXXFLAGS): New variable.
	(C_LOOSE_WARN, C_STRICT_WARN): New variables.
	(GCC_WARN_CFLAGS): Add $(C_LOOSE_WARN).  Add $(C_STRICT_WARN) if
	the default is the same as $(STRICT_WARN).
	(GCC_WARN_CXXFLAGS, WARN_CXXFLAGS): New variables.
	(CXX): New variable.
	(COMPILER): New value if ENABLE_BUILD_WITH_CXX.
	(COMPILER_FLAGS, LINKER, LINKER_FLAGS): Likewise.
	(ALL_COMPILERFLAGS, ALL_LINKERFLAGS): Likewise.
	(HOST_LIBS): New variable.
	(GCC_CFLAGS): Add $(C_LOOSE_WARN).
	(ALL_CXXFLAGS): New variable.
	(LIBS, BACKENDLIBS): Add $(HOST_LIBS).
	* doc/install.texi (Configuration): Document
	--enable-build-with-cxx, --with-stage1-ldflags,
	--with-stage1-libs, --with-boot-ldflags, --with-boot-libs.
	* configure: Rebuild.

From-SVN: r148889
2009-06-24 04:03:51 +00:00
INSTALL
boehm-gc win32_threads.c (GC_get_thread_stack_base): Implement for Cygwin. 2009-05-17 20:07:18 +00:00
config (Synchronize with addition made to binutils sources): 2009-05-27 16:31:26 +00:00
contrib * compare-debug: Don't fail just because of .eh_frame differences. 2009-06-02 08:11:31 +00:00
fixincludes inclhack.def (darwin_stdint_1, [...]): New fixes. 2009-06-09 22:09:58 +00:00
gcc configure.ac: Add --enable-build-with-cxx. 2009-06-24 04:03:51 +00:00
gnattools re PR ada/40166 (Ada compiler unable to build libraries) 2009-05-18 07:40:56 +00:00
include * ansidecl.h (ATTRIBUTE_UNUSED_LABEL): Define for C++. 2009-06-10 01:48:14 +00:00
intl Makefile.tpl ($(srcdir)/configure): Update dependencies. 2008-06-17 23:13:35 +00:00
libada Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
libcpp directives.c (parse_include): Add location argument. 2009-06-23 16:30:58 +00:00
libdecnumber decContext.h: Add extern "C" if compiling with C++. 2009-06-01 05:28:42 +00:00
libffi ffi.c: Avoid clobbering cr3 and cr4, which are supposed to be callee-saved. 2009-06-16 19:55:39 +02:00
libgcc ChangeLog: Fixes. 2009-06-22 22:44:50 +02:00
libgfortran Delete bad entry. 2009-06-23 00:17:06 +00:00
libgomp Makefile.am (LTLDFLAGS): Define. 2009-06-09 14:37:31 +00:00
libiberty hashtab.c (htab_traverse): Don't call htab_expand for nearly empty hashtabs with sizes 7, 13 or 31. 2009-06-21 11:37:31 +02:00
libjava libtool-version: Bump soversion. 2009-06-22 09:46:57 +00:00
libmudflap Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
libobjc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
libssp re PR other/39062 (libssp/ssp.c needs malloc.h for mingw) 2009-04-13 12:37:17 +02:00
libstdc++-v3 user.cfg.in (PREDEFINED): Add _GLIBCXX_ATOMIC_BUILTINS_*. 2009-06-23 23:24:20 +00:00
maintainer-scripts * update_web_docs_svn: Redirect output of texi2dvi to /dev/null. 2009-04-23 13:30:49 +00:00
zlib backport: Support GNU/kOpenSolaris. 2009-03-01 17:49:31 +00:00
ABOUT-NLS
COPYING
COPYING.LIB
COPYING.RUNTIME Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
COPYING3
COPYING3.LIB
ChangeLog configure.ac: Add --enable-build-with-cxx. 2009-06-24 04:03:51 +00:00
ChangeLog.tree-ssa
MAINTAINERS MAINTAINERS: Added my name to write-after-approval list. 2009-06-23 03:55:49 +00:00
Makefile.def configure.ac: Add --enable-build-with-cxx. 2009-06-24 04:03:51 +00:00
Makefile.in configure.ac: Add --enable-build-with-cxx. 2009-06-24 04:03:51 +00:00
Makefile.tpl configure.ac: Add --enable-build-with-cxx. 2009-06-24 04:03:51 +00:00
README
compile compile: Make executable. 2008-02-01 00:06:00 +00:00
config-ml.in config-ml.in: don't handle --enable-shared and --enable-static. 2008-05-14 17:15:51 +00:00
config.guess * config.sub, config.guess: Update from upstream sources. 2009-06-03 09:00:35 +10:00
config.rpath * config.rpath: Add AIX 6 support. 2008-03-13 14:55:20 -04:00
config.sub * config.sub, config.guess: Update from upstream sources. 2009-06-03 09:00:35 +10:00
configure configure.ac: Add --enable-build-with-cxx. 2009-06-24 04:03:51 +00:00
configure.ac configure.ac: Add --enable-build-with-cxx. 2009-06-24 04:03:51 +00:00
depcomp
install-sh
libtool-ldflags
libtool.m4 backport: Support GNU/kOpenSolaris. 2009-03-01 17:49:31 +00:00
ltgcc.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltmain.sh libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltoptions.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltsugar.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltversion.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
lt~obsolete.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
missing
mkdep
mkinstalldirs
move-if-change
symlink-tree
ylwrap

README

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.