Commit Graph

410 Commits

Author SHA1 Message Date
obrien
9ecd859376 Use a unified libgcc rather than a seperate one for threaded and
non-threaded programs.  This provides threaded programs with the
needed exception frame symbols.

parts submitted by:	Max Khon <fjoe@iclub.nsu.ru>
PR:	23252
2001-01-06 06:16:31 +00:00
ru
03fb4ce195 Prepare for mdoc(7)NG. 2000-12-27 13:59:17 +00:00
jkh
41a7e78c6b Add a new function, dialog_noyes(), for sysinstall to be able to
present questinos with a different default answer.  Somebody submitted
a patch to me once which did something this but I lost it (my bad) so
I'm just going to re-implement it with thanks to whomever it was who
gave me the idea.
2000-12-14 02:35:22 +00:00
obrien
0a36ecb3f7 Don't compile libgcc_r twice. 2000-11-25 13:04:08 +00:00
obrien
15c928f7db Don't build libgcc_r if "NOLIBC_R" defined. If you don't have a threads
safe libc, having a threads safe libgcc isn't of much use.
2000-11-25 01:25:35 +00:00
ru
6fb67fdcd0 mdoc(7) police: Add a missing `.Sm on' request. 2000-11-21 18:18:46 +00:00
jdp
61875350d3 Tell libgcc_r how to initialize a mutex before it uses it. This
fixes the immediate segmentation violations from some multithreaded
programs built on very up-to-date systems.
2000-11-01 01:18:27 +00:00
obrien
b18bf4b787 Quiet -Wall. 2000-10-31 11:36:33 +00:00
obrien
0002ff665c GCC uses .asm files on the Alpha for crt{begin,end}.o rather than
crtstuff.c as they do for other platforms.

Moral support from:	jdp
2000-10-31 01:06:28 +00:00
obrien
82c32a8a3f * Bring back the guts of crt{i,n}.S. This allows C++ exceptions to work
when using the egcs and gcc-devel ports, along with GCC built from stock
public FSF sources.  With out this change, FreeBSD will be removed from
the list of systems GCC 3.0 must be evaluated on before release.  With
the effort some of us put into getting FreeBSD on this list, we should
not turn this effort into a waste, else we might not be worth fighting
for in the future.  (note that Alpha and IA-64 versions of crt{i,n}.S
are needed)

* Switch from our own crt{begin,in} to those created from GCC's crtstuff.c.
This will allow us to switch to DWARF2 exceptions in the future, along with
staying in sync with any future GCC requirements.

* Break out our ELF branding bits into a seperate file.  Currently this
is now included by our crt1.c files (since this functionality was part of
our native crtbegin.c).  Later crtbrand.o will be merged in the creation
of crti.o.
2000-10-28 21:26:48 +00:00
obrien
57bfbf78be Add "NO_CXX" knob to match src/gnu/usr.bin/cc/Makefile. 2000-10-24 11:25:28 +00:00
brian
2fff1245fa include <sys/types.h> 2000-10-15 20:49:53 +00:00
ache
1501c8387d Remove unneded -lmytinfo 2000-09-16 04:27:30 +00:00
obrien
7b694b0fc3 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
obrien
007ce13300 Fix the .PATH style nits. Other style nits left for later. 2000-04-17 18:50:18 +00:00
obrien
1599fce084 Use the non-asm routines for IA-64, PPC, and arm32 ports. 2000-04-17 18:48:31 +00:00
steve
12cd48ae48 Use the non-asm routines (for now) on the sparc and sparc64 ports. 2000-04-15 20:41:06 +00:00
obrien
5baa08090e Get the installed headers list right. 2000-03-30 08:09:42 +00:00
obrien
1ff8e40995 Switch over to using the GCC 2.95 Objc library code. 2000-03-30 02:40:49 +00:00
obrien
13cef0c010 Clean up the FreeBSD configuration files -- includes removing the usage
of svr4.h on the i386, and moving all the shared arch neutral bits into
the FreeBSD general config header.
2000-03-23 10:18:26 +00:00
ache
6c00572325 Add missing depend file 2000-03-19 23:07:39 +00:00
ache
f056d07b1a Install readline API info 2000-03-19 23:04:23 +00:00
ache
adf91cfcff Upgrade to 4.1
Minor bumped because new function added
2000-03-19 22:26:49 +00:00
obrien
6285d69ae2 The "INCDIR" required by the new header installation code in bsd.lib.mk
was not set correctly.

Ok'ed by:	JKH
2000-01-30 20:59:53 +00:00
obrien
03a87d3c20 Move the header installation down into `readline' which is the subsystem
the headers are part of.
2000-01-29 12:01:52 +00:00
obrien
dd64f33471 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
green
f5d02a1957 This is the second half of unbreaking the world build. Add a -DNOHTML
corollary for -DNOINFO and -DNOMAN.  I'll fix this properly (add
specific HTML doc magic) in the .mk files later; right now, just
unbreak the world.
2000-01-11 12:51:56 +00:00
green
db50f8609e *draws his sword*
I smite thee, vile buildworld breakage!

The story is that these were added to beforeinstall improperly.  In our
beforeinstall, a full mtree has not been populated.  Since the tree is
not populated, we explode from missing directories on doc install.  It
should not be done in beforeinstall (includes) anyway.
2000-01-11 12:37:57 +00:00
jkh
6a14f98d40 This change was mis-identified as the problem, sorry. It appears to be
an anomaly restricted only to the alpha in FreeBSD-current (weird).
2000-01-11 03:27:33 +00:00
jkh
d57516bd4a Back out the previous change to install the examples - it breaks the release builds. 2000-01-11 02:18:33 +00:00
phantom
5a624ba378 Install contents of the TESTS subdirectory to /usr/share/examples/libdialog 2000-01-10 12:04:18 +00:00
phantom
db0722c827 Remove -lncurses and -lmytinfo from LDFLAGS 2000-01-10 11:54:55 +00:00
phantom
9705bf46f9 Cleanup warnings. 2000-01-10 11:52:10 +00:00
phantom
073bba6f6b Completely reconstruct page. Make it mdoc(7) style compatible also :)
Page still needs some work about english refinements and some actualization.
2000-01-10 09:29:21 +00:00
obrien
6275352f76 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
jkh
b2296f0762 *Really* make space accelerators work; no wonder Brian McGovern was
confused!  I fat-fingered the first commit.
1999-12-17 02:44:09 +00:00
jkh
796518d068 Prevent spaces from being interpreted as accelerators. 1999-12-14 04:18:22 +00:00
obrien
93b81d3874 Make ObjC bits optional. NO_OBJC ==> don't need `em. 1999-11-27 21:52:55 +00:00
obrien
4a93879dcf Pay attention to the "KEEP THIS IN SYNC" comment, and sync the `tm.h'
header with src/gcc/usr.bin/cc/cc_tools/Makefile.
1999-11-17 07:20:27 +00:00
obrien
f62e7fc20c Cut over the system compiler from from EGCS 1.1.2 to GCC 2.95.2. 1999-11-15 04:16:19 +00:00
obrien
b819c04855 Cosmetic change to match cc_tools/Makefile 1999-11-15 00:49:35 +00:00
bde
3ce2709100 Fixed the hack for using "../libgcc/Makefile" in libgcc_r/Makefile.
${LIB} was wrong at dependency-parsing time, so dependencies for
libgcc_r*.a were wrong.  This somehow worked right, except libgcc_r*.a
were always out of date.
1999-10-03 02:43:20 +00:00
marcel
5bf7ce284b sigset_t change (part 5 of 5)
-----------------------------

Most of the userland changes are in libc. For both the alpha
and the i386 setjmp has been changed to accomodate for the
new sigset_t. Internally, libc is mostly rewritten to use the
new syscalls. The exception is in compat-43/sigcompat.c

The POSIX thread library has also been rewritten to use the
new sigset_t. Except, that it currently only handles NSIG
signals instead of the maximum _SIG_MAXSIG. This should not
be a problem because current applications don't use any
signals higher than NSIG.

There are version bumps for the following libraries:
  libdialog
  libreadline
  libc
  libc_r
  libedit
  libftpio
  libss

These libraries either a) have one of the modified structures
visible in the interface, or b) use sigset_t internally and
may cause breakage if new binaries are used against libraries
that don't have the sigset_t change. This not an immediate
issue, but will be as soon as applications start using the
new range to its fullest.

NOTE: libncurses already had an version bump and has not been
      given one now.

NOTE: doscmd is a real casualty and has been disconnected for
      the moment. Reconnection will eventually happen after
      doscmd has been fixed. I'm aware that being the last one
      to touch it, I'm automaticly promoted to being maintainer.
      According to good taste this means that I will receive a
      badge which either will be glued or mechanically stapled,
      drilled or otherwise violently forced onto me :-)

NOTE: pcvt/vttest cannot be compiled with -traditional. The
      change cause sys/types to be included along the way which
      contains the const and volatile modifiers. I don't consider
      this a solution, but more a workaround.
1999-09-29 15:18:46 +00:00
peter
d1578b946c #include <termios.h> 1999-08-30 08:10:42 +00:00
peter
c81dbb3c98 $Header$ -> $FreeBSD$ 1999-08-28 05:11:36 +00:00
peter
289c0d262f $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
obrien
f6333bd1a1 Try to get /usr/include/readline back into the snapshots.
Submitted by:	bde
1999-08-25 03:40:55 +00:00
obrien
e71ab7f5d2 MFS: Revert shared lib major version number back to 3. 1999-08-21 07:10:11 +00:00
obrien
4deb739865 {EGCSDIR}->{SRCDIR} + associated tweaks.
This is in prepreparation of the gcc-2.95 upgrade.

Also seems I was -I'ing several GCC directories I did not need to.
1999-08-16 05:00:59 +00:00
obrien
7981feaa10 {EGCSDIR}->{SRCDIR} + associated tweaks.
This is in prepreparation of the gcc-2.95 upgrade.
1999-08-16 04:58:10 +00:00