Commit Graph

65 Commits

Author SHA1 Message Date
Alexander Kabaev
e67810e696 Update bmake bits to build GCC 3.3.1-prerelease. 2003-07-11 05:37:23 +00:00
Alexander Kabaev
487ee93a17 Update for GCC 3.3.1-pre. 2003-07-11 05:33:24 +00:00
Peter Wemm
542f4d6282 Oops, remove hack to stop libstdc++.so being built now that gcc uses
-lgcc_pic by default on -fpic stuff.  I forgot about this here.
2003-06-26 01:30:44 +00:00
Dag-Erling Smørgrav
f212249acf Do not bogusly set CSTD to the empty string. 2003-06-14 13:30:32 +00:00
David E. O'Brien
0dd1486674 Something funky is going on here... disabling CSTD makes it go away... 2003-06-02 06:12:14 +00:00
Peter Wemm
ed8c5dcdc0 libstdc++.so breaks on amd64 due to bogons in our build, so prevent the
shared library being built for amd64.  The problem is that libstdc++.so
is produced with 'cc -shared'.  This has an internal -lgcc, which is
not PIC.  libstdc++.so uses exceptions and the dwarf2 unwinder, which
are in libgcc.a.  As a result, non-PIC code gets pulled into libstdc++.so.
This is fatal on amd64 when certain relocation types cannot be used in
PIC mode.  The official FSF solution to this is to have libgcc.so with
internal ELF symbol versioning to solve the ABI problem, but I dont want
to fight that battle yet.  I tried making libgcc_pic.a (which worked
fine), but thats not something for the 11th hour before a release.

Approved by:  re (amd64 "safe" stuff)
2003-05-24 19:38:18 +00:00
Alexander Kabaev
93fa8833c7 Enable wchar_t support in libstdc++. 2003-04-29 18:10:45 +00:00
David E. O'Brien
7af330a71c Enable ISO-C99 compatibility -- among other things, this tells libstdc++
not to blindly undef isnan() and other functions that became macros in C99.
Enable use of newly grown C99 functions: strtof(), strtold(), wcstof()

Submitted by:	das
2003-04-25 21:17:31 +00:00
Alexander Kabaev
61856f3619 Update for GCC 3.2.2 2003-02-19 04:28:12 +00:00
Alexander Kabaev
efb75db1a4 Install one more header file which is new with GCC 3.2.2. 2003-02-10 06:09:55 +00:00
Alexander Kabaev
8e44609c92 C++ exceptions with shared libraries are working on sparc64 now.
Build shared libstdc++so on sparc64 platform too.

Approved:	re (rwatson)
2002-12-05 17:04:03 +00:00
David E. O'Brien
b7cea4d5d2 Update for Gcc 3.2.1 release.
We also have more wide char support in libc now.
2002-12-04 17:47:34 +00:00
David E. O'Brien
5f24279c5d Remove files no longer part of the gcc_3_2_anoncvs_20021009 libstdc++.
Approved by:	re(jhb)
2002-11-27 18:52:04 +00:00
Peter Wemm
224af215a6 Zap now-unused SHLIB_MINOR 2002-09-28 00:25:32 +00:00
Alexander Kabaev
c62e08e3ac Bmake bits for GCC 3.2.1-prerelease libstdc++.
Connect two new source and one header file to the build.

Approved by:	obrien
2002-09-17 04:23:29 +00:00
Alexander Kabaev
948dfbed43 Connect new files added with GCC 3.2.1 import to the build.
Approved by:	obrien
2002-09-01 21:21:56 +00:00
Peter Wemm
bfdf38fb57 Bandaid for sparc64. Do not build libstdc++.so for now on sparc64.
Binaries compiled with it segfault.
2002-07-08 10:53:35 +00:00
David E. O'Brien
a323cdf035 Disconnect the docs until we figure out if there are any with v3. 2002-06-19 05:38:45 +00:00
David E. O'Brien
228433f751 Turn on the math function stub stubs.
Submitted by:	Martin Blapp <mb@imp.ch>
I believe OK with:	peter
2002-06-02 17:49:08 +00:00
Ruslan Ermilov
c82593cf2c The new bsd.incs.mk is powerful enough to handle this wrinkle. 2002-05-31 11:45:34 +00:00
David E. O'Brien
05811fcf3a Tweak so that .o's are written into src/contrib/gcc 2002-05-29 22:26:05 +00:00
David E. O'Brien
6a6659656a Build docs not out of libobc++.295 2002-05-29 21:14:48 +00:00
Peter Wemm
b5ad6294bb Add some build glue for libstdc++. I'm not a C++ person, but this seems
to work at least for the non-hairy stuff.  The main wrinkle here is that
a whole mess of include files get installed and under different names.
An earlier version of this built a shadow include tree first in the obj
directory, but this depends on the 'make includes' functionality.

More tweaking is certainly going to be needed.
2002-05-29 00:45:51 +00:00
Ruslan Ermilov
c7b111cba8 Added new bsd.incs.mk which handles installing of header files
via INCS.  Implemented INCSLINKS (equivalent to SYMLINKS) to
handle symlinking include files.  Allow for multiple groups of
include files to be installed, with the powerful INCSGROUPS knob.
Documentation to follow.

Added standard `includes' and `incsinstall' targets, use them
in Makefile.inc1.  Headers from the following makefiles were
not installed before (during `includes' in Makefile.inc1):

	kerberos5/lib/libtelnet/Makefile
	lib/libbz2/Makefile
	lib/libdevinfo/Makefile
	lib/libform/Makefile
	lib/libisc/Makefile
	lib/libmenu/Makefile
	lib/libmilter/Makefile
	lib/libpanel/Makefile

Replaced all `beforeinstall' targets for installing includes
with the INCS stuff.

Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS,
and for compatibility with NetBSD.  Similarly for INCOWN, INCGRP,
and INCMODE.

Consistently use INCLUDEDIR instead of /usr/include.

gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes
were only lightly tested due to the missing contrib/libstdc++-v3.
I fully tested the pre-WIP_GCC31 version of this patch with the
contrib/libstdc++.295 stuff.

These changes have been tested on i386 with the -DNO_WERROR "make
world" and "make release".
2002-05-12 16:01:00 +00:00
David E. O'Brien
3cdd876f04 Bmake bits for Gcc 3.1.
Partially made possible by:	Wilko.Bulte@compaq.com
2002-05-10 08:54:50 +00:00
David E. O'Brien
dbda0c7715 Mostly filled in contents for GCC 3.1.
Bribed by:	peter
2002-05-07 01:16:04 +00:00
David E. O'Brien
ca15bbbfe3 Fill in the missing.
Bribed by:	peter
2002-05-07 01:13:32 +00:00
cvs2svn
a7b4ff14b9 This commit was manufactured by cvs2svn to create branch 'WIP_GCC31'. 2002-05-07 01:03:52 +00:00
David E. O'Brien
6ce0897d11 libstdc++ version 3 (Gcc 3.1 is a consumer) uses the typical `config.h'. 2002-05-07 01:03:51 +00:00
David E. O'Brien
063e57d574 Sigh. I should know better than to commit a one line change from a PR
w/o a full compile test, even when the PR seemed so authoritative on the
subject...

Install sstream, not the non-existent sstring.
2001-03-24 09:01:31 +00:00
David E. O'Brien
59b2f92653 Install sstring.
PR:		25927
Submitted by:	Jeremy Norris <ishmael27@home.com>
2001-03-24 08:19:31 +00:00
David E. O'Brien
c8a1d5ccc3 Scoot things over to the temporary *.295 source while I do major construction
on the mainline sources.
2000-06-04 06:56:23 +00:00
David E. O'Brien
3b9aa3617c Do not use "DEFAULT_VTABLE_THUNKS". The bugs that have existed since
EGCS 1.x have not been worked out.  And with 4.0 RELEASE comming quickly
we need C++ to be stable and usable.
2000-01-25 12:23:13 +00:00
David E. O'Brien
243821529c Stop my evil plot to stop the use of GNU info files (which I don't care for)
for people that don't have "NOINFO=yes" in /etc/make.conf.
[read: this still refered to contrib/egcs/]
2000-01-03 17:40:47 +00:00
David E. O'Brien
eb33411e9b Cut over the system compiler from from EGCS 1.1.2 to GCC 2.95.2. 1999-11-15 04:16:19 +00:00
Peter Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
David E. O'Brien
0292e48377 {EGCSDIR}->{SRCDIR} + associated tweaks.
This is in prepreparation of the gcc-2.95 upgrade.
1999-08-16 04:58:10 +00:00
David E. O'Brien
7372c43413 Purely cosmetic changes -- fix Id's 1999-08-16 04:27:28 +00:00
David E. O'Brien
c062a8a30e _G_USING_THUNKS probably applies to a.out too.
(well we define DEFAULT_VTABLE_THUNKS=1 for G++ in the a.out case, so it seems
likely)

Submitted by:	jdp
1999-05-02 21:22:50 +00:00
David E. O'Brien
53ffad533c Remove several explicit rules. The two for exceptioni.o and typeionfoi.o
aren't needed as those files aren't part of libstdc++ any longer.  Another
isn't needed as Cygnus doesn't compile with -frtti.

Noticed by:	bde & my initial mispelling of ".So".
1999-04-25 16:59:54 +00:00
David E. O'Brien
4a92ca74bf Foo. jdp changed .so to .So during the time I did the EGCS work and I
missed bring in his changes into my work.
1999-04-15 08:08:56 +00:00
David E. O'Brien
bed346f6bd Missed a "\" in a continuation line. 1999-04-08 09:13:39 +00:00
David E. O'Brien
de3f50824c Get stdargs right on the Alpha.
Submitted by:	Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
1999-04-08 07:37:13 +00:00
David E. O'Brien
86ab96055c Cometic cleanup.
Pre-bdelinted by:	bde
1999-04-08 07:20:33 +00:00
David E. O'Brien
10b66c2f42 Don't generate _G_config.h, use fixed version.
I knew better... too dependant on the environment we generate in, but...

This fixes the
/usr/lib/libstdc++.so: undefined reference to `filebuf virtual table'
/usr/lib/libstdc++.so: undefined reference to `stdiobuf virtual table'
errors seen after the initial bootstrap from gcc 2.7.2 to EGCS.

Agreed with by:	bde & jdp
1999-04-07 07:48:23 +00:00
David E. O'Brien
bc240ae595 Crap! I grabbed the wrong Makefile from the test machine. 1999-04-05 10:21:30 +00:00
David E. O'Brien
d52e4b9c1a Fix .for loop continuation lines style bugs.
Submitted by:	bde
1999-04-05 09:01:45 +00:00
David E. O'Brien
17673af376 Add iostream Info docs. 1999-04-05 08:07:41 +00:00
David E. O'Brien
b20c2a3948 _G_config.h is now dynamically created. 1999-04-05 01:16:03 +00:00
David E. O'Brien
18ff6ae909 Minimum set of changes to switch from Gcc 2.7.2 (in contrib/gcc) to Egcs 1.1.2
(in contrib/egcs)
1999-04-04 16:36:35 +00:00