1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
Commit Graph

41 Commits

Author SHA1 Message Date
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
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
Peter Wemm
fce15c9ab3 Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +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
Joshua Peck Macdonald
63c9b0f9ee Same. 1997-01-11 05:45:40 +00:00
Peter Wemm
210d012784 Use ${INSTALL} -C instead of -c. I did it with -C originally, but during
testing I changed it to -c to check for missed files by looking at time
stamps in /usr/include/g++.

Submitted by: "Philippe Charnier" <charnier@xp11.frmug.org>
1996-10-07 23:38:08 +00:00
Peter Wemm
74a20d397d Oops, an editing error at one point meant I had missed the osfcn.h header
(it was directly underneath where bool.h used to be in the list, I think
 I must have not been paying attention and deleted a word from the wrong
 line.  The machine that I was testing on still had an (old?) osfcn.h file)

Pointed out by: Andreas Klemm <andreas@klemm.gtn.com>
1996-10-04 15:11:42 +00:00
Peter Wemm
cb03015500 To the Attic we go.. 1996-10-04 09:02:59 +00:00
Peter Wemm
73456abd78 Update to use the contrib/libg++ version, now that my (slow) 486 has
finished a 'make world'.
1996-10-04 08:43:37 +00:00
Bruce Evans
5b963fa12e Fixed DPADD. 1996-09-05 17:16:10 +00:00
Peter Wemm
1153e298b7 oops!! back out last accidental commit! (gcc-2.7.2.1 tweak that I gave up
on..)
1996-08-30 02:12:08 +00:00
Peter Wemm
345be915f7 cmp -s || install -c ==> install -C 1996-08-30 02:12:07 +00:00
Jordan K. Hubbard
526195ad0d General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 19:08:36 +00:00
Peter Wemm
f10ff67db6 This version is no longer needed, and probably better off gone. It
tried to parse the format string to estimate how much space it needed.
It didn't know all of the formats..
1996-05-27 11:01:09 +00:00
Peter Wemm
6065a0be11 This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
Peter Wemm
a5b996a7ec recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
Bruce Evans
48cfb668fc Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.

Previously I missed dozens of Makefiles that skip the install after
using `cmp -s' to decide that the install isn't necessary.
1995-08-06 12:24:38 +00:00
Doug Rabson
2b7f9b5ea1 Define CPLUSPLUSLIB so that bsd.lib.mk will add c++rt0.o to call
constructors and destructors.
Add -lgcc_pic to LDADD for the shared library since C++ code uses stuff from
libgcc and we no longer have a shared libgcc.  Should this be done by
CPLUSPLUSLIB?
1995-07-05 15:04:47 +00:00
Rodney W. Grimes
4399be3cbd Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
Andrey A. Chernov
4769e93ea2 Add missing include 1995-05-12 19:21:46 +00:00
Andrey A. Chernov
a5d744927b Bump major number, function deleted 1995-05-08 16:10:34 +00:00
Rodney W. Grimes
edbae4a194 Pretty much a complete rewrite of this Makefile.
Remove private mkdir command for /usr/include/g++, this is now
handled by mtree.

Make the whole file fit in 80 column output, sort the SRCS list and
split into .c and .cc sources.

Use $Id$ instead of $FreeBSD$ since we pulled support for this.

Add DPADD to match LDADD and now include <bsd.prog.mk> to define
the DPADD values (This is a hack until the .mk stuff can be corrected
so that ${LIB*} is visiable in bsd.lib.mk.)

Optimize beforeinstall target by eliminating a subshell.
1995-03-20 09:38:21 +00:00
Jordan K. Hubbard
47d5df1d7d The destructor always assumed that it would be called on objects created from
ONE constructor routine.  This was bogus - there is also a system provided
constructor which does not allocate a pattern buffer.  Make less assumptions.
1995-02-14 12:35:03 +00:00
Andrey A. Chernov
c7d2093e06 Change all 'regoff_t' occurances to 'int'. GNU typedefed it as 'int',
but BSD 4.4 typedefed it as 'off_t'. Make _RX_C_ hook for sucessful
rx.c compilation
1994-12-09 02:26:23 +00:00
Andrey A. Chernov
de0c026bbb Change #include order to not redifine __P 1994-12-09 01:51:16 +00:00
Andrey A. Chernov
9b39c00d7d Regcomp, re_comp eliminating 1994-12-09 01:08:56 +00:00
Andrey A. Chernov
97f0be939c More kosher regexp eliminating, based on BSD date now 1994-12-09 01:08:01 +00:00
Andrey A. Chernov
3f3f840110 Eliminate buggy regcomp and re_comp implementations,
we already have them in another place.
1994-12-09 00:46:42 +00:00
Andrey A. Chernov
3cab153245 Add -lcompat to LDADD for insque/remque (they treated as part of library) 1994-11-24 21:02:00 +00:00
Andrey A. Chernov
97b8db5f63 For unknown reason _G_HAVE_SYS_RESOURCE was defined to 0 instead
of 1. (we have it). Please check gnu2bmake script
1994-11-23 21:11:20 +00:00
Andrey A. Chernov
284cd8b7b9 Add missing osfcn.h 1994-11-23 21:00:24 +00:00
Andrey A. Chernov
5c19f0147a Remove regex.h, it conflicts with our POSIX regex.h and we already
have it under different name: gnuregex.h (from libregex)
Change all references of <regex.h> to <gnuregex.h>
1994-11-17 21:44:49 +00:00
Jordan K. Hubbard
c9902b6aaa Fix merge conflicts. 1994-11-13 06:11:02 +00:00
Jordan K. Hubbard
be25b01844 Michael Reifenberger's libg++ port
Submitted by:	mr
1994-11-13 05:57:35 +00:00
Jordan K. Hubbard
b3f6f5fbb3 Michael Reifenberger's libg++ 2.6.1 port.
Submitted by:	mr
1994-11-13 05:54:27 +00:00
Andrey A. Chernov
0f61271c87 Add LDADD += -lcurses 1994-10-12 02:13:39 +00:00
Paul Traina
5c6fac27eb libg++ include files being installed in /usr/include instead of
/usr/include/g++

Submitted by:	pst
1994-09-10 07:15:59 +00:00
Garrett Wollman
74492d4f90 Bogus little commit to see if my change to log_accum.pl actually worked.
CVS:
1994-09-09 22:22:36 +00:00
Rodney W. Grimes
99551f06bc ljo:
You need to fix the libio/_G_config.h file around lines 42-44. After
  that everything should be OK. You should have seen many warning error
  messages about this file. There are missing "short" "char" keywords
  the file.

Michael:
  Apply the following patch

rgrimes:
  The patch to include/_G_config.h is highly questionable and has been
  marked as such.

Reviewed by:    rgrimes
Submitted by:   L Jonas Olsson <ljo@ljo-slip.DIALIN.CWRU.Edu>
Submitted by:   Michael Reifenberger <root@rz-wb.fh-sw.de>
1994-09-09 15:12:31 +00:00
Poul-Henning Kamp
61d5ffaf10 I belive this should be makeable under 2.0. There may be outstanding
issues in these areas:
    .h's installed
    .hP's installed
    -lcurses interaction
    files needed in ~/legal for copyleft reasons.
1994-08-08 05:52:55 +00:00