Commit Graph

67 Commits

Author SHA1 Message Date
Loren J. Rittle 3af5b6b508 freebsd.ml (LIBS): Add ARLINK.
* config/freebsd.ml (LIBS): Add ARLINK.
        * config/openbsd.ml (LIBS): Add ARLINK.

From-SVN: r26640
1999-04-25 19:30:37 -06:00
Ulrich Drepper 554241c33e Bring over lost changes from Cygnus's directory.
* Missing ChangeLog entries.
	* Whitespace fixes.
	* Enable multilib by default
	* One stl fix (#ifdef -> #if)

From-SVN: r26234
1999-04-06 21:20:00 -06:00
H.J. Lu 88101ab976 configure (gxx_include_dir): Removed.
* configure (gxx_include_dir): Removed.
	* configure.in (gxx_include_dir): Handle it.
	* Makefile.in: Likewise.
	* libio/configure.in (gxx_include_dir): Handle it.
	* libio/Makefile.in: Likewise.
	* libstdc++/configure.in (gxx_include_dir): Handle it.
	* libstdc++/Makefile.in: Likewise.

From-SVN: r26126
1999-04-02 07:17:49 -07:00
Mumit Khan 5e34b217d1 configure.in (EXEEXT): Define.
Wed Mar 24 22:36:45 1999  Mumit Khan  <khan@xraylith.wisc.edu>
        * configure.in (EXEEXT): Define.
        (compiler_name): Use.

From-SVN: r25951
1999-03-24 14:44:48 -07:00
Franz Sirl 4ccfc0c3b4 * configure.in: Add mh-*pic handling for alpha, arm, powerpc
From-SVN: r25691
1999-03-10 17:11:25 -07:00
Doug Rabson 268e8aeed4 configure.in: Support shared libs on FreeBSD 3.x and 4.x
* configure.in: Support shared libs on FreeBSD 3.x and 4.x
        * config/freebsd.ml: A copy of config/linux.ml since they are both
        ELF and both have a shared libm.

From-SVN: r25594
1999-03-04 18:21:14 -07:00
Jason Merrill 1b14496f06 * configure.in: Fix INSTALLDIR sed pattern for Solaris sed.
From-SVN: r25419
1999-02-24 18:50:35 -05:00
Jeffrey A Law 477d3dbc51 string, [...]: Revert recent change.
* string, std/straits.h, std/bastring.h: Revert recent change.  Needs
        some libiberty support before it can be re-enabled.

From-SVN: r25336
1999-02-20 05:21:51 -07:00
Marc Espie eca8ff3207 configure.in: Handle OpenBSD with and without threads.
* configure.in: Handle OpenBSD with and without threads.
        * config/openbsd.ml: New file.
        * config/openbsd.mt: New file.

From-SVN: r25291
1999-02-18 11:57:55 -07:00
Baron Roberts ebf8476966 Update.
From-SVN: r25248
1999-02-16 11:58:49 +00:00
Jason Merrill ad902c98f8 * Makefile.in (stuff2): Tweak.
From-SVN: r25073
1999-02-07 10:57:14 -05:00
Ulrich Drepper 7f84e195e0 Update.
From-SVN: r25031
1999-02-04 15:53:14 +00:00
Mumit Khan 64e8166e7a x86-interix.ml: New file.
* config/x86-interix.ml: New file.
	* configure.in (i[3456]86-*-interix*): Add shared library support.

From-SVN: r24914
1999-01-30 00:09:11 -07:00
Ulrich Drepper 39268973a6 configure.in: Test for "ln -s" and set LN_S in generated Makefile.
* configure.in: Test for "ln -s" and set LN_S in generated Makefile.
        * Makefile.in: Use $(LN_S) instead of explicitly ln -s.

From-SVN: r24655
1999-01-13 16:04:01 +00:00
Robert Lipe b07fe36812 * configure.in: (*-*-sysv5, *-*-*udk*): Treat like sysv4.
From-SVN: r24462
1999-01-02 19:16:17 +00:00
Marc Espie a16e85c201 * Makefile.in: Be more selective about what files to install.
From-SVN: r24176
1998-12-07 17:01:29 -07:00
Ulrich Drepper 53806e9a01 Update.
From-SVN: r24012
1998-11-30 09:41:18 +00:00
Alexandre Oliva 3993e0b395 * Makefile.in (HEADERS): Install bitset
From-SVN: r23936
1998-11-27 12:09:37 +00:00
Manfred Hollstein 71205e0b3f configure (skip-this-dir): Add handling for new shell script...
./ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure (skip-this-dir): Add handling for new shell script, which
	might be created by a sub-directory's configure to indicate, this particular
	directory is "unwanted".
	* Makefile.in ($(CONFIGURE_TARGET_MODULES)): Likewise.
./gcc/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* Makefile.in (CONFIG_LANGUAGES): New macro taking all languages
	which can be configured.
	(LANGUAGES): Use $(CONFIG_LANGUAGES) instead of @all_languages@
	(Makefile): Pass actual LANGUAGES through the environment when
	re-configuring.
	(cstamp-h): Likewise.
	(config.status): Likewise.
	* configure.in (enable_languages): Add new configuration parameter
	"--enable-languages=lang1,lang2,...".
	(${srcdir}/*/config-lang.in): Change handling to configure only
	those directories, that the user might have enabled; default to
	"all" existing languages.
	* configure: Regenerate.
./libchill/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (compiler_name): Add check to detect if this
	language's compiler has been built.
	* configure: Regenerate.
./libf2c/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (compiler_name): Add check to detect if this
	language's compiler has been built.
	* configure: Regenerate.
./libio/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (compiler_name): Add check to detect if this
	language's compiler has been built.
./libobjc/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (compiler_name): Add check to detect if this
	language's compiler has been built.
	* configure: Regenerate.
./libstdc++/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (compiler_name): Add check to detect if this
	language's compiler has been built.

From-SVN: r23892
1998-11-26 01:48:34 +00:00
Ulrich Drepper c0fea4ee9b Update.
From-SVN: r23787
1998-11-23 09:21:24 +00:00
H.J. Lu 492d8fbe47 Makefile.in ($(ARLINK), $(SHLINK)): Don't rely on 'ln -f'.
* Makefile.in ($(ARLINK), $(SHLINK)): Don't rely on 'ln -f'.
        * Makefile.in (install): Don't rely on 'ln -f'.

From-SVN: r22456
1998-09-16 18:30:53 -06:00
Manfred Hollstein 59325b772a configure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's value...
M
	* libio/configure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's
	value; don't change its value if --enable-version-specific-runtime-libs
	has been specified.
	* libstdc++/Makefile.in (install): Initialize RELINSTALLDIR correctly
	even for multilib and cross configurations.
	* libstdc++/configure.in (INSTALLDIR): Don't change INSTALLDIR's init
	value if --enable-version-specific-runtime-libs has been specified.

From-SVN: r22354
1998-09-09 11:49:09 +00:00
H.J. Lu 7b5070d680 Makefile.in (RELINSTALLDIR): New.
* Makefile.in (RELINSTALLDIR): New. Use it to make symlinks.
        * configure.in: Fix INSTALLDIR replacement for cross-compile.

From-SVN: r22197
1998-09-02 14:12:35 -06:00
H.J. Lu 6882b0807b Makefile.in (INTERFACE): New, set to 2.
a
	* Makefile.in (INTERFACE): New, set to 2.
	(ARLIB): Set to libstdc++.a.$(VERSION)
	(ARLINK, MARLINK): New macros.
	(LIBS): Add $(ARLINK).
	($(ARLINK), marlink): New targets.
	(install): Don't check $(libsubdir). Handle versioned libraries.
	* config/linux.ml (ARLIB, MARLINK, SHLIB, MSHLINK): New macros.
	(LIBS): Add marlink $(ARLINK).
	* config/aix.ml (ARLIB): Set to libstdc++-ar.a.$(VERSION)
	(ARLINK): New macros.
	(BUILD_LIBS): Add $(ARLINK).
	* config/dec-osf.ml (LIBS): Add $(ARLINK).
	* config/elf.ml (LIBS): Likewise.
	* config/elfshlibm.ml (LIBS): Likewise.
	* config/hpux.ml (LIBS): Likewise.
	* config/iris5.ml (LIBS): Likewise.
	* config/sol2shm.ml (LIBS): Likewise.
	* config/sunos4.ml (LIBS): Likewise.
	* configure.in: Use ${topsrcdir}/config.if to put
	LIBSTDCXX_INTERFACE, CXX_INTERFACE, LIBC_INTERFACE in
	${package_makefile_frag}.

From-SVN: r22113
1998-08-30 15:18:36 -06:00
Martin v. Löwis 00045f5275 Remove __HONOR_STD
From-SVN: r21960
1998-08-25 02:08:49 +00:00
Mark Mitchell 03d0f4af2d iomanip.h: Use __extension__ for `extern' explicit template instantiations.
* iomanip.h: Use __extension__ for `extern' explicit template
	instantiations.
	* sinst.cc: Don't explicitly instantiation string_char_traits<char>.
	* cinst.cc: Likewiwse, for complex<float>, complex<double>,
	complex<long double>.
	* extend.texi: Remove description of extension to explicit
	instantiation that is now endorsed by standard C++.
	* decl2.c (grok_array_decl): Add comment.
	(mark_used): Don't instantiate an explicit instantiation.
	* friend.c (make_friend_class): Remove bogus comment.  Fix check
	for partial specializations.
	* pt.c (check_explicit_specialization): Don't
	SET_DECL_EXPLICIT_INSTANTIATION here.
	(mark_decl_instantiated): Or here.
	(do_decl_instantiation): Do it here, instead.  Add checks for
	duplicate explicit instantiations, etc.  Tidy.
	(do_type_instantiation): Likewise.
	(instantiate_decl): Improve comments.  Complain about explicit
	instantiations where no definition is available.
	* cp-tree.h (ansi_null_node): Remove.
	* call.c (build_over_call): Warn about converting NULL to an
	arithmetic type.
	* cvt.c (build_expr_type_conversion): Likewise.  Use
	null_ptr_cst_p instead of expanding it inline.
	* decl.c (ansi_null_node): Remove.
	(init_decl_processing): Make null_node always have integral type.
	* except.c (build_throw): Warn about converting NULL to an
	arithmetic type.
	* lex.c (init_parse): Remove handling of ansi_null_node.
	* pt.c (type_unification_real): Don't convert NULL to void* type.
	* typeck.c (build_binary_op_nodefault): Fix NULL warnings.
	(convert_for_assignment): Warn about converting NULL to an
	arithmetic type.
	(convert_for_initialization): Likewise.

From-SVN: r21915
1998-08-23 12:47:24 +00:00
Mark Mitchell ef1090573a * stdexcept: Put things in the std namespace, if appropriate.
From-SVN: r21788
1998-08-17 12:25:32 +00:00
Jason Merrill eda600e865 Makefile.in (VERSION): Bump to 2.9.0.
* Makefile.in (VERSION): Bump to 2.9.0.
	* std/bastring.cc (find_last_of): Fix.
	(find_last_not_of): Likewise.

From-SVN: r21072
1998-07-11 22:20:51 -04:00
Manfred Hollstein c6e9ab63a8 * configure.in (INSTALLDIR): Make sed pattern failsafe.
From-SVN: r20965
1998-07-06 15:29:29 -06:00
Ulrich Drepper 561252fd0b Update.
From-SVN: r20951
1998-07-06 10:36:12 +00:00
Ulrich Drepper 356985ca34 Update.
From-SVN: r20907
1998-07-02 15:57:28 +00:00
Manfred Hollstein 28e449d812 configure (enable_version_specific_runtime_libs): Implement new flag --enable-version-specific-runtime-libs which installs C++...
S
egcs/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure (enable_version_specific_runtime_libs): Implement new flag
	--enable-version-specific-runtime-libs which installs C++ runtime stuff in
	$(libsubdir); emit definition in each generated Makefile.
	(gxx_include_dir): Initialize depending on $enable_version_specific_runtime_libs.
egcs/gcc/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (gxx_include_dir): Initialize default value depending on
	new flag --enable-version-specific-runtime-libs; remove superfluous default
	initialization afterwards.
	* configure: Regenerate.
egcs/libio/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
	* Makefile.in (install): Install _G_config.h depending on new flag
	--enable-version-specific-runtime-libs.
	* config/linux.mt (gxx_include_dir): Remove definition here as we use
	gcc's default anyway.
egcs/libstdc++/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
	* Makefile.in (INSTALLDIR): Add comment to document the fact,
	this macro will be properly initialized at make's runtime.
	(install): Add initialization of INSTALLDIR depending on $(libsubdir)
	and ${enable_version_specific_runtime_libs}; use $${INSTALLDIR} shell variable
	instead of the $(INSTALLDIR) make macro.

From-SVN: r20693
1998-06-24 06:26:01 +00:00
Jeff Law fc438e2ad0 [multiple changes]
Tue Mar 24 10:13:07 1998  Jason Merrill  <jason@yorick.cygnus.com>
        * std/bastring.cc (basic_string::copy): Mark const here, too.
1998-03-23 15:59  Ulrich Drepper  <drepper@cygnus.com>
        * std/bastring.h (basic_string::copy): Mark copy function as const.
        Reported by Scott Schurr <scotts@ims.com>.
Bring over from devo.

From-SVN: r19684
1998-05-11 16:04:43 -06:00
Manfred Hollstein 05abeea015 config.table: Make locating frag files failsafe even for the special case if...
�
	* config.table: Make locating frag files failsafe even for the
	special case if configuring and building in srcdir.
	* configure.in: Make locating frag files failsafe even for the
	special case if configuring and building in srcdir.

From-SVN: r18413
1998-03-05 00:28:13 +00:00
Ulrich Drepper 875dfceca0 (operator<<): Correct type of numeric argument.
From-SVN: r18403
1998-03-04 12:40:30 +00:00
Manfred Hollstein c26046c251 Makefile.in (piclist): Check value of enable_shared, not PICFLAG.
* Makefile.in (piclist): Check value of enable_shared, not PICFLAG.
        (stmp-string, ...): Dito.
        (bigstmp-string, ...): Dito.

From-SVN: r17683
1998-02-05 17:34:54 -07:00
H.J. Lu 6ad85f1770 linux.mt: Don't define _PTHREADS, but define _IO_MTSAFE_IO.
* config/linux.mt: Don't define _PTHREADS, but define
        _IO_MTSAFE_IO.

From-SVN: r17581
1998-02-01 05:38:27 -07:00
Manfred Hollstein 5dc0a69ae4 configure.in, [...]: Update with yesterday's toplevel configure.in changes.
* tests/configure.in, testsuite/configure.in: Update with yesterday's
        toplevel configure.in changes.

From-SVN: r17526
1998-01-28 02:29:07 -07:00
Manfred Hollstein ef14509b91 configure.in (package_makefile_rules_frag): New variable which is used in the call to config.shared...
* configure.in (package_makefile_rules_frag): New variable
        which is used in the call to config.shared; redirect file descriptor 2
        to ${package_makefile_rules_frag}.

From-SVN: r17524
1998-01-27 15:25:59 -07:00
Jason Merrill c2d339975e Makefile.in (install): Remove the shared library symlink even if we aren't installing it.
* Makefile.in (install): Remove the shared library symlink even if
 	we aren't installing it.

From-SVN: r17508
1998-01-27 05:14:06 -05:00
H.J. Lu 3fdcc721ff configure.in (topsrcdir): New.
* configure.in (topsrcdir): New.
        (configdirs): Check ${topsrcdir}/gcc instead.
        (config-ml.in): Use ${topsrcdir}/config-ml.in.
        * tests/configure.in (topsrcdir): New.
        (check): Check ${topsrcdir}/gcc instead.
Fixes multilib problems when srcdir == objdir.

From-SVN: r17505
1998-01-27 02:28:32 -07:00
Jason Merrill 5f79cea1ef bastring.h (unique): We only need length bytes.
* std/bastring.h (unique): We only need length bytes.
	(c_str): Avoid writing over random memory.
	#include <std/bastring.cc>.
	Lose _G_ALLOC_CONTROL.
	* std/bastring.cc: Likewise.
 	(nilRep): Add initializer for selfish.
	* sinst.cc: Just #include <string>.
Fix a couple of bugs, linux undefined symbol problem.

From-SVN: r17478
1998-01-25 11:45:02 -05:00
H.J. Lu ffa551c8d6 configure.in (configdirs): Include testsuite only if ${srcdir}/../gcc exists.
�
        * configure.in (configdirs): Include testsuite only if
        ${srcdir}/../gcc exists.
        * tests/configure.in (check): Set to ${CHECK} if
        ${srcdir}/../../gcc doesn't exists.

From-SVN: r17335
1998-01-13 13:24:06 -07:00
Brendan Kehoe b450b6999c bastring.cc (basic_string::Rep::operator delete): Don't claim to return from deallocate, since this is a void method.
* std/bastring.cc (basic_string::Rep::operator delete): Don't claim
	to return from deallocate, since this is a void method.

From-SVN: r17297
1998-01-05 13:35:07 -05:00
Franz Sirl da741f3dfd configure.in: Finalize support for {alpha|powerpc}*-*-linux-gnulibc1
* configure.in: Finalize support for {alpha|powerpc}*-*-linux-gnulibc1

From-SVN: r17286
1998-01-03 04:16:36 -07:00
Jody Goldberg 4ef0de1177 bastring.h: Move closer to the draft standard implementation of basic_string by adding 3...
Sun Dec  7 02:34:40 1997  Jody Goldberg	<jodyg@idt.net>

	* libstdc++/std/bastring.h : Move closer to the draft standard
	implementation of basic_string by adding 3 paramter 'Allocator'.
	NOTE: this still differs from the standard in not offering per
	instance allocators.
	* libstdc++/std/bastring.cc : Likewise.
	* libstdc++/stlinst.cc : Handle thread safe allocators if they are the
	default.

From-SVN: r16993
1997-12-07 05:41:01 -05:00
Jason Merrill 179b008f3e iosfwd: New header.
* iosfwd: New header.
	* Makefile.in (HEADERS): Add it.

Sun Dec  7 02:32:20 1997  Gregory L. Galloway (gregg@eoeml.gtri.gatech.edu)

	* Makefile.in (HEADERS): Modified list of headers to
	install to include all of SGI STL headers especially hash_set and
	hash_map, and added ANSI C++ style wrappers for fstream, iomanip,
	iostream, and strstream.

	* fstream, iomanip, iostream, strstream: New forwarding headers
	added.

From-SVN: r16991
1997-12-07 05:33:36 -05:00
Jeffrey A Law c30555846b * Makefile.in (install): Change gxx_includedir to gxx_include_dir.
From-SVN: r16785
1997-11-27 01:37:59 -07:00
Jason Merrill f4f3e8fdf7 London changes to string:
* std/bastring.cc (check_realloc): Don't be selfish anymore.
	* std/bastring.h (non-const operator[]): Be selfish.
	(iterator forms of insert and erase): Stay selfish.

From-SVN: r16722
1997-11-26 02:19:11 -05:00
H.J. Lu 6ec3cb8413 Makefile.in (stmp-complex, [...]): Changed to xxxx-complx.
* Makefile.in (stmp-complex, bigstmp-complex): Changed to
        xxxx-complx.

From-SVN: r16705
1997-11-25 14:02:19 -07:00