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