Commit Graph

39 Commits

Author SHA1 Message Date
David E. O'Brien
86bcefed82 Actually all that needed to be done in this file to fix for 5-CURRENT
is to remove the explicit "-m elf_i386" and use the default emulation.
2003-01-01 00:46:11 +00:00
Tilman Keskinoz
d8d9471610 Attempt to Fix build on -CURRENT
Good bye 2002! Happy new year 2003! (CET)

PR:		46483
Submitted by:	Stefan Farfeleder <stefan@fafoe.dyndns.org>
2002-12-31 23:00:02 +00:00
David E. O'Brien
be411a6b38 Allow to build in -CURRENT. 2002-05-06 23:38:29 +00:00
Gerald Pfeifer
193c9144fd GCC 2.95 and later aren't called egcs (any longer), so remove three patches
that add references to egcs to the documentation.

Approved by:	obrien (maintainer+mentor)
2002-04-12 08:36:34 +00:00
David E. O'Brien
d95e0123d2 Document. 2002-03-24 17:03:20 +00:00
David E. O'Brien
a49ca2d5bb Let machine/ansi.h know not to play glibc for us. 2002-03-24 11:44:40 +00:00
David E. O'Brien
d0bad05ab8 DEFAULT_VTABLE_THUNKS got set back to 1' from 2' in 2.95.3.
Just forget about VTABLE THUNKS and use the C++ ABI the base 2.95 G++ uses
since there is no advantage the other way.
2001-04-17 09:26:26 +00:00
David E. O'Brien
932231b1d5 Change the libstdc++.so version number to be more like the stock one.
This change is needed as the one I was using is too much in the range of
shared version numbers the stock libstdc++.so will have.
2000-12-05 20:35:40 +00:00
David E. O'Brien
339e20ffc2 Add "-Wnon-const-format" which checks for non-constant format strings for
auditing purposes.

Submitted by:	kris
Obtained from:	NetBSD
2000-11-27 01:12:33 +00:00
David E. O'Brien
c39919f117 Add RCS keyword. 1999-08-30 22:35:30 +00:00
Peter Wemm
fe8f04069f $Id$ -> $FreeBSD$ 1999-08-30 12:01:11 +00:00
David E. O'Brien
e0964473d6 Don't assign __FreeBSD__ a value here. (pulled too much in from
src/contrib/egcs/ again)

PR:		13224
Submitted by:	imura@cs.titech.ac.jp
1999-08-18 23:58:21 +00:00
David E. O'Brien
1b26a2abec As in the i386, `tm.h' includes headers for us. 1999-08-16 10:57:25 +00:00
David E. O'Brien
c84f599e15 Include the proper arch header for a.out systems. 1999-08-16 10:51:53 +00:00
David E. O'Brien
c2530c49c0 Make -pthread work again -- pulled too much in from src/contrib/egcs/ 1999-08-16 00:12:21 +00:00
David E. O'Brien
4d4d7bde85 Update to GCC-2.95 (what would have been EGCS-1.2). 1999-08-05 16:06:07 +00:00
David E. O'Brien
ef62a281ed Define "OBSTACK_CHUNK_SIZE" as getpagesize().
Our malloc can allocte pagesized blocks efficiently and the EGCS default
size of 4072 bytes is not optimal.

Protect #define's and other minor syncing with
src/contrib/egcs/gcc/config/freebsd.h

OBSTACK_CHUNK_SIZE Submitted by:	Hidetoshi Shimokawa
1999-06-28 09:52:43 +00:00
David E. O'Brien
5796f2d63b Cleanup the FREEBSD_NATIVE stuff, which we don't use anymore in this context. 1999-06-28 09:07:17 +00:00
David E. O'Brien
6325fcf217 Fix the CPP_PREDEFINES so it properly gets the "global" definition too. 1999-04-18 01:33:05 +00:00
David E. O'Brien
53b6f388ef Worked better before. 1999-04-02 17:15:19 +00:00
David E. O'Brien
3d882ed96b Use proper include directive. 1999-03-30 18:42:02 +00:00
David E. O'Brien
6a9f6dc39f Add FreeBSD's ``-fformat-extensions''. Taken from 4.0-CURRENT, this allows
2.x/3.x people to compile kernels and world with EGCS.
1999-03-30 18:15:39 +00:00
David E. O'Brien
7b9d7e0720 * Add support for ``-pthead''
* Add Alpha support

Obtained from:	Alpha bits taken from Hidetoshi Shimokawa's
                <simokawa@FreeBSD.ORG> work
1999-03-22 01:35:36 +00:00
David E. O'Brien
b4f4cda51d Upgrade to 1.1.2 release. 1999-03-17 00:40:26 +00:00
David E. O'Brien
b5be18a57a STL 3.0 rope fix.
Obtained from:	aspell 0.27.1 port
1999-02-28 11:53:32 +00:00
David E. O'Brien
9740802749 GNUHOST is now "i386-unknown-freebsd" for an ELF machine, and
"i386-unknown-freebsdaout" for an a.out machine.
1999-02-09 18:24:50 +00:00
David E. O'Brien
ec6d85e380 Allow '$' in labels as our offical compiler does.
Reviewed by:	jdp
Submitted by:	Keith Walker <kew@timesink.spk.wa.us>
1999-01-23 06:08:11 +00:00
David E. O'Brien
e9035ce80a Build and install crtbegin.o crtbeginS.o crtend.o crtendS.o for the ELF case.
This should fix some of the problems with exceptions under ELF.

PR:		ports/9089
Submitted by:	jdp via Robert Schulhof <rrs@LMI.Net>
1998-12-25 19:42:01 +00:00
David E. O'Brien
af95af9e7e Fix configure scripts to it correctly detects an ELF system w/o having to
be forced.

Submitted by:	Niall Smart <nialls@euristix.ie>  (w/changes by me)
1998-12-04 11:07:55 +00:00
John Polstra
71e64d35d1 Make profiling work. 1998-10-08 21:33:02 +00:00
David E. O'Brien
dcb89c7cec Sync with gcc28 port:
* Implement support for weak symbols.  This solves the "___error" undefined
  problem on 3.0-CURRENT systems.
* look for crt0.o in /usr/lib/aout on 3.0-CURRENT systems.
1998-07-19 22:03:43 +00:00
David E. O'Brien
1395c6719c upgrade to 19980608 snapshot 1998-06-10 05:29:14 +00:00
David E. O'Brien
d53d3cdfc1 Upgrade to 980406 snapshot
Reviewed by:	my PITA ecs240 project
1998-04-14 10:17:32 +00:00
David E. O'Brien
c70534b96a Upgrade to the 980315 snapshot. 1998-04-07 01:18:16 +00:00
David E. O'Brien
d0d4155962 Upgrade to version 1.0.2 release. 1998-04-07 01:14:29 +00:00
David E. O'Brien
f8cd0b6297 Upgrade to 1998-02-05 SNAP. Fixes problems several have had with 1.0.1.
Including linking with the STL vector class.
1998-02-14 04:18:25 +00:00
David E. O'Brien
028a674b3b Set __FreeBSD__ to 2, not 3.
Ports track -STABLE.
1998-02-13 08:16:17 +00:00
John Polstra
67e588bd58 Make "-fsjlj-exceptions" (use setjmp/longjmp for exceptions) the
default for FreeBSD.  The standard exception implementation reliably
dumps core under FreeBSD.  Users can put "-fno-sjlj-exceptions" on
the command line if they really want to override the new default.

Configure with "--with-gnu-as" and "--with-gnu-ld".

Define "__FreeBSD__" as 3.
1998-01-23 17:49:47 +00:00
John Polstra
fa5dde5a30 This is a new port for egcs, which probably stands for something
like "enhanced GNU compiler suite."  It contains updated versions of
gcc, g++, and g77 with many bugfixes and some new optimizations.
The C++ compiler in particular is vastly improved over gcc-2.7.2.1.
1998-01-10 21:40:10 +00:00