Commit Graph

389 Commits

Author SHA1 Message Date
David E. O'Brien
e4f5e0bb93 libg2c -- EGCS's version of libf2c (plus enhancements). 1999-04-18 09:48:40 +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
a10a6b606b 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
David E. O'Brien
bed346f6bd Missed a "\" in a continuation line. 1999-04-08 09:13:39 +00:00
David E. O'Brien
61f6abe41d alpha/freebsd-elf.h has been merged with alpha/freebsd.h 1999-04-08 08:39:16 +00:00
David E. O'Brien
339895b8a0 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
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
d63360da03 * 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
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
3da8ad7260 Conditionalize one more i386'ism. 1999-04-04 20:47:33 +00:00
David E. O'Brien
8c1efc3ea6 Attempt to creating the right ``tm.h'' file for the Alpha. 1999-04-04 20:41:50 +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
David E. O'Brien
fb018a3d1f 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
David E. O'Brien
7b7a0120f8 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
David E. O'Brien
2862adb22e Add bits we were getting from gnu/usr.bin/cc/Makefile.inc. 1999-03-31 06:40:40 +00:00
David E. O'Brien
b3f059f4d5 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
Bruce Evans
e06fbe492b 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
John Polstra
f92bdbd010 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
Bruce Evans
757c94feaa 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
Bruce Evans
2f0c4e01f6 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
Warner Losh
b4965dcd84 Add support for building on MIPS based systems. 1998-12-16 04:59:53 +00:00
Peter Wemm
3c343fc067 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 Wemm
6c1d8f3fd8 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
Jordan K. Hubbard
90103ada10 Add documentation for new tree functions.
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-10-02 11:23:47 +00:00
Jordan K. Hubbard
8091c27e9f Add missing free().
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-09-30 12:09:12 +00:00
Jordan K. Hubbard
a53cd3d253 Add examples for tree functions.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-29 12:22:46 +00:00
Jordan K. Hubbard
0726f7f509 Add support for saved trees.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-29 12:22:36 +00:00
Jordan K. Hubbard
31f0cd629b 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
Jordan K. Hubbard
92587d7333 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
Jordan K. Hubbard
2a09091a34 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
Warner Losh
486a7ab25b 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
Warner Losh
1508e89cc6 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
Martin Cracauer
270f65a70c Document why the library is still not being build as shared.
PR:		gnu/7811
1998-09-09 10:21:12 +00:00
Bruce Evans
9a15012667 Fixed munging of the SUBDIR list in rev.1.16-1.18. 1998-09-02 14:56:59 +00:00
Doug Rabson
2d9dae457a All libs build on alpha now. 1998-08-31 13:47:38 +00:00
Doug Rabson
11c0474d23 Get definition of va_list from <stdarg.h>. 1998-08-31 13:47:03 +00:00
John Birrell
8deb7ff0b0 BINFORMAT -> OBJFORMAT ready for E-day. 1998-08-30 01:57:55 +00:00
John Birrell
6bdef94d87 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
Bruce Evans
07b64a25d2 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
Joseph Koshy
9c727d2ca9 Spelling corrections.
PR: 6868
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-06 05:50:53 +00:00
Eivind Eklund
97c44d070c 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
John Birrell
d73d5c86a3 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
Doug Rabson
bbba152305 This was broken for ELF builds. 1998-04-30 07:38:27 +00:00
Andrey A. Chernov
70fedb5298 Upgrade to 2.2 1998-04-28 07:16:24 +00:00
Bruce Evans
5317c2da24 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
Bruce Evans
1bcade7428 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
Bruce Evans
c9cbce0fdb 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
Bruce Evans
3b95f72be4 Don't add streambuf.cc to SRCS twice. 1998-02-25 01:23:28 +00:00
John Birrell
c9fc383199 Just one of these libs left to port to alpha. 1998-02-19 07:30:06 +00:00
John Birrell
2a4a5158b6 Modify for MACHINE_ARCH support instead of assuming just x86.
Added alpha and m68k stuff.
1998-01-25 09:45:00 +00:00
John Birrell
d7ad72179f Avoid building x86 specific libraries on Alpha. 1998-01-10 22:50:00 +00:00
James Raynard
70ebe6afcb <gnuregex.h> is rather old and breaks AWK's regex matching. Use a newer
version instead.
1997-10-19 13:39:55 +00:00
Jordan K. Hubbard
d1b7206119 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 Wemm
a1aae50cc5 _G_VTABLE_LABLE_PREFIX is different between ELF and a.out
('_vt.' vs '__vt$')
1997-09-20 09:58:49 +00:00
Peter Wemm
3d9616690c Insert first cut of hooks for compiling under ELF. 1997-08-29 14:02:14 +00:00
Peter Wemm
7e48c2c416 Insert hooks for building under elf. 1997-08-29 13:58:08 +00:00
Bruce Evans
4963bbb24d 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 Klemm
91234c7966 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
Andrey A. Chernov
a78e048ac2 Upgrade to 2.1 1997-06-07 13:18:30 +00:00
Satoshi Asami
2a48a07b0c Add ${DESTDIR} in front of absolute paths.
Reviewed by:	bde
1997-05-23 08:33:59 +00:00
John Polstra
e91cc88467 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
Bruce Evans
18b29797da 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
Bruce Evans
16ecf60500 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 Wemm
c67b1734f5 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
Jordan K. Hubbard
ab9b932c99 YAMF22 1997-03-29 19:51:48 +00:00
Andrey A. Chernov
5ee71a0d7b 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 Wemm
fce15c9ab3 Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
Andrey A. Chernov
113b1c5fe5 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
Jordan K. Hubbard
a59ff6e254 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
Andrey A. Chernov
3d0c754cd0 Simplify using SRCDIR 1997-01-16 18:20:05 +00:00
Jordan K. Hubbard
75c6403334 Allow emacs-style next/prev characters as well as arrow keys so that
I can offer this as a consistent feature.
1997-01-15 02:50:48 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Jordan K. Hubbard
af481cbbf4 Turn this into legal texinfo. Since I don't know what the author
intended (and clearly, neither did the author :) I've just used the
bullet list attribute everywhere.
1997-01-13 05:02:49 +00:00
Peter Wemm
24f481e12f Patch up the readline info building. This one is a bit of a problem
since the source name is not the same as the texinfo name so we have to
use SRCS=.  This means we can't build two info sets in the same directory
so I've split it.
1997-01-12 08:10:55 +00:00
Peter Wemm
b80cceb72f Disconnect the doc subdir until somebody fixes this. I don't see how this
could possibly have worked during the testing before the last commit. :-(
1997-01-12 05:01:29 +00:00
Joshua Peck Macdonald
63c9b0f9ee Same. 1997-01-11 05:45:40 +00:00
Joshua Peck Macdonald
97d7a9e33f Added section and entry annotations. 1997-01-11 03:19:32 +00:00
Joshua Peck Macdonald
0e4dbbc03c Add the missing annotations. 1997-01-11 03:07:52 +00:00
Andrey A. Chernov
8ef1c5d67a Add -f to ln 1997-01-06 19:27:17 +00:00
Andrey A. Chernov
42446c543a Use contrib version now 1997-01-05 16:19:58 +00:00
Joerg Wunsch
65fb557e51 Pull the fix from rev 1.31.2.1; i've accidentally committed it to
2.2 first.
1996-12-26 18:47:11 +00:00
Jordan K. Hubbard
fac5450c4f Somewhere along the way, multiple targets started working and nobody
noticed.
1996-12-14 16:40:05 +00:00
Jordan K. Hubbard
ae5b2dcf86 Add another hateful global to libdialog (what the heck, there are already
so many).  For now, the only extended attribute implemented is NO ECHO,
useful for things like passwords.  See TESTS/input2.c for an example.
This should go into 2.2.
1996-12-14 16:14:21 +00:00
Jordan K. Hubbard
fb46ad63d7 Line up some of these OK boxes properly again. 1996-12-12 11:05:59 +00:00
Mark Murray
d6eb2faa42 Fix libmp to be more Berkely compatible.
This is a very safe 2.2 candidate.

Submitted by:	Nick Sayer <nsayer@quack.kfu.com>
1996-12-07 13:03:29 +00:00
Joerg Wunsch
857bb723a2 Disable the inclusion of the Posix regexp stuff into libgnuregexp.
We've already got it in libc, but both libraries are incompatible
wrt. their header files and internal data structures.  This
incompatibility caused the expr(1) on the fixit floppy to mysteriously
dump core for the colon operator.

Strong 2.2 candidate, since it fixes the usage of MAKEDEV on the fixit
floppy.  I'd like to get it reviewed by somebody else though.

Observed by: andreas
1996-11-16 22:53:45 +00:00
Jordan K. Hubbard
a4a3782b70 STL object files missing from libstdc++ - fix.
This closes PR#1975 and was on my TODO list, so I'm breaking my own "no more
commits before I fly!" rule and taking care of this, since it was at the
very top and Peter shamed me in to taking care of it.  This is definitely
a 2.2 candidate.

Submitted-By: Mark Diekhans <markd@Grizzly.COM>
1996-11-15 18:09:09 +00:00
Andrey A. Chernov
1b142f3fd2 Replace collate_range_cmp with its code (GNU variant) 1996-10-31 05:14:27 +00:00
Mark Murray
ebebb88b8d Fix the dependancies.
Thanks Andrey!
Submitted by:	ache
1996-10-24 18:03:53 +00:00
Mark Murray
3200ac9848 Fix this so that dependancies work properly.
Thanks Andrey!
Submitted by:	ache
1996-10-24 18:00:43 +00:00
Mark Murray
206907362b BMakefile for gmp-2.0.2
Requested by: ache
Made world by: chuckr
1996-10-20 09:29:39 +00:00
Mark Murray
3d9f2d2e10 BMakefiles for gmp-2.0.2
Requested by: ache
Made world by: chuckr
1996-10-20 09:28:03 +00:00
Mark Murray
5eb857037b Remove the old libgmp. Version 2.0.2 is about to hit prime time. 1996-10-20 09:23:44 +00:00
Mark Murray
504fa96f30 Remove the old libgmp. Version 2.0.2 is about to hit prime time. 1996-10-20 09:11:57 +00:00
Mark Murray
537b19adb4 Import of GNU MP 2.0.2
This is a clean import with only the non-x86 bits removed. Makefiles and
other will follow.

Requested by:	Andrey Chernov
Made world by:	Chuck Robey
1996-10-20 08:09:18 +00:00