Commit Graph

422 Commits

Author SHA1 Message Date
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
obrien
242733a2af Purely cosmetic changes -- fix Id's 1999-08-16 04:27:28 +00:00
mpp
aae3aaba82 Various man page cleanup:
- Sort xrefs
- Be consistent with section names as outlined in mdoc(7).
- Other misc mdoc cleanup.

PR:		doc/13144
Submitted by:	Alexey M. Zelkin <phantom@cris.net>
1999-08-15 09:06:06 +00:00
ache
63ee6a9447 don't include Makefile.inc twice 1999-05-28 04:43:35 +00:00
ache
4f2512a268 upgrade to 4.0 1999-05-28 04:26:18 +00:00
dfr
d29ad2b6b2 Use the correct width integer on both i386 and alpha.
Reviewed by: Steve Price <sprice@hiwaay.net>
1999-05-23 13:43:04 +00:00
obrien
d85ebd29d2 Install g2c.h header incase others want to call libg2c from C.
Submitted by:	Steve
1999-05-23 10:02:46 +00:00
obrien
ee930285c2 _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
obrien
4081c85fd1 Add more bits of libF77.
Submitted by:	jmz
1999-05-01 22:30:14 +00:00
obrien
9e947e8ed8 * Add MAIN.c
* be more selective what I add to CLEANFILES (what was I previously thinking??)
1999-05-01 22:23:29 +00:00
obrien
0be16f9afe JMZ says:
Add an emply MAIN__() function. This avoid an unresolved reference error
   during link phase when using fortran subroutines with non-fortran 'main()'.

Obtained from:  src/lib/libF77/MAIN.c rev 1.1 by jmz
1999-05-01 22:22:42 +00:00
imp
35d2979599 Use braces to avoid potentially ambiguous else clause.
main's return type is int not void.

Reviewed by: obrien and chuckr
1999-04-25 22:14:06 +00:00
obrien
e227e38657 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
obrien
a1f564650c Hookup libg2c. (define NO_FORTRAN if you don't want it built) 1999-04-18 09:50:16 +00:00
obrien
1c8df85eb1 libg2c -- EGCS's version of libf2c (plus enhancements). 1999-04-18 09:48:40 +00:00
obrien
edc3a3e0a4 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
obrien
52bb7ceaf6 Create a libgcc with POSIX threads support.
Submitted by:	Luoqi Chen <luoqi@chen.ml.org> (reorganized by me)
1999-04-14 00:24:03 +00:00
obrien
86f93f2461 Missed a "\" in a continuation line. 1999-04-08 09:13:39 +00:00
obrien
5a2edaf715 alpha/freebsd-elf.h has been merged with alpha/freebsd.h 1999-04-08 08:39:16 +00:00
obrien
2abaf8ce10 Don't require gcc/config/${MACHINE_ARCH}/xm-freebsd.h when we already know
the contents of it.  Instead create it, so all arch's are consistent.
1999-04-08 08:19:28 +00:00
obrien
b270fa44ff 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
obrien
0a64c9e421 Cometic cleanup.
Pre-bdelinted by:	bde
1999-04-08 07:20:33 +00:00
obrien
08ed5edfec 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
obrien
76efc1ac22 * Fix indentation style bug.
* Missed a "<" on the /dev/null redirection in the runtime-info.h generation.

Submitted by:	missing "<" by bde
1999-04-06 13:26:48 +00:00
obrien
cc94f76f3d Crap! I grabbed the wrong Makefile from the test machine. 1999-04-05 10:21:30 +00:00
obrien
1199bf314a Fix .for loop continuation lines style bugs.
Submitted by:	bde
1999-04-05 09:01:45 +00:00
obrien
fac38aaff0 Add iostream Info docs. 1999-04-05 08:07:41 +00:00
obrien
f166d8accb _G_config.h is now dynamically created. 1999-04-05 01:16:03 +00:00
obrien
9c9c4fe46a Conditionalize one more i386'ism. 1999-04-04 20:47:33 +00:00
obrien
c0d9655488 Attempt to creating the right ``tm.h'' file for the Alpha. 1999-04-04 20:41:50 +00:00
obrien
582be693c1 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
obrien
ec6e9e9eda Commit msg for rev 1.20 should probably have added that gnu/lib/libregex was
the only lib that was using the SHLIB_* values from gnu/lib/Makefile.inc.
Thus I simply added the to the Makefile here.
1999-04-03 22:54:47 +00:00
obrien
63cec2dc39 Makefile.inc was politing all subdir's with SHLIB_{MAJOR,MINOR} definitions.
Since we aren't keeping all the GNU libs at the same versions, this is
useless and causes us to build a shared libgcc, which we don't want to do.
1999-04-03 22:52:35 +00:00
obrien
87a3771235 Add bits we were getting from gnu/usr.bin/cc/Makefile.inc. 1999-03-31 06:40:40 +00:00
obrien
c901bebef2 Hookup libgcc at gnu/lib instead of gnu/usr.bin/cc
(libgcc was repository copied for me by Peter)
1999-03-31 06:30:40 +00:00
bde
402c0ea9be Don't use backslash-newline to split the too-long line for
".Fn dialog_ftree ...", since my synopsis checker doesn't support it
and no other too-long .Fn lines are split.
1999-03-05 14:43:29 +00:00
jdp
ffcc901f03 Switch to using ".So" as the extension for PIC object files rather
than ".so".  The old extension conflicted with well-established
naming conventions for dynamically loadable modules.

The "clean" targets continue to remove ".so" files too, to deal with
old systems.
1999-01-09 21:51:00 +00:00
bde
edceb2d6b3 Avoid using ld -O' (as in bsd.lib.mk). ld -O' seems to have caused only
non-problems for elf -- `ld -elf -O foo.tmp -x -r foo' apparently puts
the result in a.out so it has essentially no effect.
1998-12-27 17:25:27 +00:00
bde
58ce405aac Removed rotten, unused implicit rules. The ld -O in one might have been
harmful if it were used.
1998-12-27 16:52:55 +00:00
imp
e8eb0a612e Add support for building on MIPS based systems. 1998-12-16 04:59:53 +00:00
peter
9f6be4544f libg++ and libstdc++ also have internal calls to libm. Programs using the
shared versions should not need to add -lm unless the program uses libm
itself.  Strictly speaking, libg++ depends on libstdc++, but libstdc++
has dynamic dependencies on some exception tables and binutils doesn't
seem to like it when a secondary library has undefined references.  It
doesn't seem to care when -lstdc++ is added on the command line to ld
though.  Anyway, the c++ driver adds -lstdc++ explicitly, so that should
be OK.  c++ also adds -lm explicitly too, even though it wouldn't need
to now. [except for statically linked binaries as .a files don't have an
equivalent of automatic internal shared object dependencies.]
1998-10-11 04:56:03 +00:00
peter
518d6b5e04 Replace use of non-standard ld -O with a ld -o / mv combination as used
elsewhere in the tree.  Binutils doesn't support the -O hack^H^H^H^H
extension.  (actually, it ignores it for option compatability with some
other OS).
1998-10-06 11:28:29 +00:00
jkh
cc238ccf3e Add documentation for new tree functions.
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-10-02 11:23:47 +00:00
jkh
8519f5f0a0 Add missing free().
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-09-30 12:09:12 +00:00
jkh
8064cb05e7 Add examples for tree functions.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-29 12:22:46 +00:00
jkh
2447cf8621 Add support for saved trees.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-29 12:22:36 +00:00
jkh
f9db8b1233 Update tree function and remove gratuitous .h file.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-28 16:12:49 +00:00
jkh
d9a7d2ce1a Unbump the minor number; guess this doesn't happen in the ELF world
anymore and maybe we should nuke the meaning if MINOR altogether. :)
1998-09-28 00:52:53 +00:00
jkh
a27c9f956a Add some new functionality which I promised to add over a year a go and
shamefully dropped on the floor.  I need to add it now since it does a
minor number bump, but otherwise the current functionality of libdialog
is unchanged (in all its evil glory) and the change is non-intrusive.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-26 12:29:57 +00:00
imp
4da8db7501 Fix bogus length restriction on readlink. Use sizeof(buf) - 1 rather
than the size of the directory name.  Fix style bug which increased
the number of lines > 80 characters by one.

Pointed out by: bde
1998-09-10 16:14:29 +00:00
imp
e38600c29f Use size of structure rather than hard coded 256 in readlink. This change
either came from OpenBSD, or was inspired by work done there.
1998-09-09 17:12:58 +00:00
cracauer
40c6bdc10d Document why the library is still not being build as shared.
PR:		gnu/7811
1998-09-09 10:21:12 +00:00
bde
38a5b98a25 Fixed munging of the SUBDIR list in rev.1.16-1.18. 1998-09-02 14:56:59 +00:00
dfr
c077a48b51 All libs build on alpha now. 1998-08-31 13:47:38 +00:00
dfr
d3af000c01 Get definition of va_list from <stdarg.h>. 1998-08-31 13:47:03 +00:00
jb
e6edac6dac BINFORMAT -> OBJFORMAT ready for E-day. 1998-08-30 01:57:55 +00:00
jb
3d49984384 Change the aux field type to long instead of int so that it is large
enough to hold a man-sized pointer.
1998-08-20 21:39:28 +00:00
bde
fd69522643 Use a different hack for building libgcc2: `XCC= ${CC}' instead of
`XCC= <relative cc> -B<path to relative cc1> ...'.  This is equivalent
when cc and cc1, etc. have just been bootstrapped by `make world'.
The relative versions normally won't work if the target system is
not binary compatible.  Bootstrapping different versions of gcc
without going through `make world' is slightly more broken than
before.

Uniformized macro names (P1OBJS -> LIB1POBJS, etc.).

Don't give full paths to sources.
1998-07-08 00:45:50 +00:00
jkoshy
0d7d76d982 Spelling corrections.
PR: 6868
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-06 05:50:53 +00:00
eivind
631316592f Don't blow away parts of the sourcetree on a 'make clean'. This was
only harmful for building from a read-only filesystem - the parts
blown away were old rm'ed directories.
1998-05-24 21:51:50 +00:00
jb
a5e834b886 Change the order of the include paths so that the architecture specific
directory is searched before the generic one. You can guess what was
happening.. all the world's assumed to be 32-bit.
1998-05-15 06:42:37 +00:00
dfr
e2f2fa5616 This was broken for ELF builds. 1998-04-30 07:38:27 +00:00
ache
2786576745 Upgrade to 2.2 1998-04-28 07:16:24 +00:00
bde
eb2023510e Support building of libgcc.a without building all of gcc. This is
useful for bootstrapping.  Compatible versions of gcc and cc1 should
should be installed before using this feature.
1998-03-23 12:23:13 +00:00
bde
fc45e76739 Don't use beforedepend to complicate and break things. The usual
fix of putting generated source files in SRCS breaks many special
cases (many dependencies had to be incomplete for ${.ALLSRC}
not to give .h files that would break compiling with c++ -c).
Reduce these special cases to the general case so that SRCS works
normally and bsd.lib.mk handles most of the complications.  Now
we only have to duplicate rules from bsd.lib.mk to add special
CFLAGS in some cases.
1998-03-20 15:10:59 +00:00
bde
e835626991 Put sources in SRCS and don't depend on them in beforedepend. IIRC,
this is to fix `make -j50' where `make -j18' worked.  The race may
just have been more likely to be lost for -j50.
1998-03-12 13:03:06 +00:00
bde
c6e6ad163c Don't add streambuf.cc to SRCS twice. 1998-02-25 01:23:28 +00:00
jb
728d7b8b1a Just one of these libs left to port to alpha. 1998-02-19 07:30:06 +00:00
jb
109ee64102 Modify for MACHINE_ARCH support instead of assuming just x86.
Added alpha and m68k stuff.
1998-01-25 09:45:00 +00:00
jb
35c19115cd Avoid building x86 specific libraries on Alpha. 1998-01-10 22:50:00 +00:00
jraynard
00f77bac6a <gnuregex.h> is rather old and breaks AWK's regex matching. Use a newer
version instead.
1997-10-19 13:39:55 +00:00
jkh
90cf2421d2 Fix improperly re-entrant code which caused the menu spammage we've
been seeing since 2.2.1.
Pointed-in-the-right-direction by:	phk
1997-10-12 12:09:46 +00:00
peter
ad28c59277 _G_VTABLE_LABLE_PREFIX is different between ELF and a.out
('_vt.' vs '__vt$')
1997-09-20 09:58:49 +00:00
peter
4ba5a2f4cf Insert first cut of hooks for compiling under ELF. 1997-08-29 14:02:14 +00:00
peter
e6477d723f Insert hooks for building under elf. 1997-08-29 13:58:08 +00:00
bde
f4b3a54dfb Backed out previous commit. mp.h is installed from libmp and should not
be installed from here.
1997-08-21 15:51:51 +00:00
andreas
6f6fafa081 during the ,beforeinstall' target mp.h has to be installed as well
to /usr/include. Otherwise chkey and newkey can't be compiled
properly during make world.
1997-08-17 21:24:06 +00:00
ache
996854ba04 Upgrade to 2.1 1997-06-07 13:18:30 +00:00
asami
e9c4d2d63c Add ${DESTDIR} in front of absolute paths.
Reviewed by:	bde
1997-05-23 08:33:59 +00:00
jdp
af706d2990 Bye bye CPLUSPLUSLIB hack! It's not needed any more.
Don't merge this into -2.2 unless you understand the dependencies on
c++rt0, bsd.lib.mk, and gcc -shared.  I.e., let me do it.
1997-05-06 00:49:36 +00:00
bde
815bc7a10e Fixed synopsis. There was a missing arg, 3 args with the wrong type,
and many apparent dependendcies on <sys/types.h> from use of u_char.
<dialog.h> avoids u_char, so avoid it here too.
1997-04-13 12:36:42 +00:00
bde
861773bb6d Fixed bogus existence test related to searching for a nearby obj
directory.  The object (= current) directory always exists, so
don't search for it.

Use ${.TARGET} instead of deprecated $@.
1997-04-10 16:33:32 +00:00
peter
f974471097 Oops. Missed the Complex number add case of code generation.. :-]
Fixes PR#3239.

Submitted by: Takeshi WATANABE <watanabe@crayon.earth.s.kobe-u.ac.jp>
1997-04-09 16:00:07 +00:00
jkh
7325fee01e YAMF22 1997-03-29 19:51:48 +00:00
ache
48e0c6e052 Fix various overflows for items longer then menu width.
Fix cursor place after PgUp/PgDn.

Should go into 2.2
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1997-02-28 19:18:47 +00:00
peter
245ba20d12 Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
ache
97cd1933ff When wrong directory choosed and chdir failed, directory name
was not reset to old name causing any file choosen put error
diagnostic about wrong directory, fix it by resetting back
to old name after chdir failed.

Add \r as alias to \n, some telnets have problem with that.

Should go into 2.2
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su> & me
1997-02-18 14:26:24 +00:00
jkh
83c2f5687e Go on one of my periodic rampages through this code, trying to make
it DTRT.  In the process, discover the usual 10-15 evil bogons which
have been lurking in it for years.  This closes, for one thing, the
recent report Mike Smith made about nested checklist menus returning
with the scrolling region messed up.
1997-01-17 08:19:19 +00:00
ache
98c1aecc7e Simplify using SRCDIR 1997-01-16 18:20:05 +00:00