Commit Graph

402 Commits

Author SHA1 Message Date
wollman
ce10b298df Make GCC's back end be shared among all languages. cc, c++, and cpp now
no longer link against the whole library, since they don't require much
from it, but just compile the few small modules they actually need static.

This should save a measurable amount of space; compare:

-r-xr-xr-x  1 bin   bin   155648 Sep 18 18:00 cc1*
-r-xr-xr-x  1 root  bin  1048576 Sep 18 17:33 cc1.noshae*

Of course, the library takes up a bit of space, but when you add in the
savings from the C++ compiler, you more than make up the difference:

-r--r--r--  1 bin  bin  1157344 Sep 18 18:27 /usr/lib/libcc_int.so.26.0
-r-xr-xr-x  1 bin  bin  491520 Sep 18 18:27 /usr/libexec/cc1plus*
1994-09-18 22:35:55 +00:00
rgrimes
45a0fdee2d Add q modifier (for long longs) support to -Wformat.
Reviewed by:	bde
1994-09-18 21:25:02 +00:00
swallace
8d67c8cc5d Add LDDESTDIR to ld command.
Add -I${DESTDIR}/usr/include to cpp command.
1994-09-18 19:41:38 +00:00
bde
11fe93eee4 Unmap hints file when finished with it, so that it can go away
completely when ldconfig unlinks it.  If init is shared, then the
referenced unlinked copy of the hints file created by running
ldconfig in /etc/rc caused the file system to be unclean after
every reboot.
1994-09-15 20:48:55 +00:00
bde
797f1dafb8 Install libregex.h with the correct owner, group and mode. 1994-09-15 19:52:50 +00:00
jkh
7f2bca9909 Add NOMAN, fix Id. 1994-09-15 13:12:23 +00:00
jkh
a8e42c3cae Add NOMAN, fix Id line. 1994-09-15 13:11:36 +00:00
jkh
e0988033f8 Set NOMAN properly, correct Id line. 1994-09-15 13:10:41 +00:00
jkh
6337e4dfcd Change install -c to install ${COPY} as per Rod's comments. At least
we've got one Makefile that uses this in the tree now! :-)
1994-09-15 12:42:45 +00:00
jkh
6b305c3da5 Fix typo, add -c to install so that files aren't moved out on first
install! :-)
1994-09-15 12:10:03 +00:00
jkh
dfabce15d1 Cleaned up comments, added Id lines. 1994-09-15 12:09:36 +00:00
jkh
b01b790ba8 Add texinfo to the list of SUBDIR targets. 1994-09-15 11:11:32 +00:00
swallace
63f357dd4f Added ${DESTDIR} in the line
CFLAGS+= -I$(.CURDIR)/. -I${DESTDIR}/usr/include/readline -I$(.CURDIR)/../bfd
1994-09-15 05:17:59 +00:00
gclarkii
a7c9d6c8b5 This commit was generated by cvs2svn to compensate for changes in r2726,
which included commits to RCS files with non-trunk default branches.
1994-09-13 13:51:34 +00:00
gclarkii
31fbfe9beb Import of GNU Info 3.0 in bmake format 1994-09-13 13:51:34 +00:00
rgrimes
d2516625b3 Include of bsd.prog.mk should almost always be the last line of the file.
Fix missing ${DESTDIR} in 2 places (rgrimes)
Submitted by:	bde
1994-09-12 05:10:07 +00:00
rgrimes
8e5d951531 Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 21:41:41 +00:00
gclarkii
c1cd92a87b Deleted checks for libcrypt as not nessecery for 2.0. 1994-09-11 19:55:57 +00:00
gclarkii
c2fc3688fc Added CURDIR directives for some installs.
Reviewed by: Gary Clark II
Submitted by: Rod Grimes
1994-09-11 19:53:02 +00:00
gclarkii
0c6bf1f73b Added includes for Makefile.inc (/usr/src/gnu/usr.bin/Makefile.inc)
Reviewed by: Gary Clark II
Submitted by: Rod Grimes
1994-09-11 19:52:29 +00:00
gclarkii
227a0d1584 Changed AF_LOCAL to AF_LOCAL_XX so as not to conflict with 4.4 socket.h
Added casts to shutup warnings in doio.c
1994-09-11 03:17:33 +00:00
pst
790ad2fa59 libg++ include files being installed in /usr/include instead of
/usr/include/g++

Submitted by:	pst
1994-09-10 07:15:59 +00:00
gclarkii
1da28de8c9 This commit was generated by cvs2svn to compensate for changes in r2635,
which included commits to RCS files with non-trunk default branches.
1994-09-10 06:27:55 +00:00
gclarkii
bd9f085842 Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
wollman
7ae6d81d71 Bogus little commit to see if my change to log_accum.pl actually worked.
CVS:
1994-09-09 22:22:36 +00:00
paul
1b075f107b Added some missing ${.CURDIR} and removed some that shouldn't have
been there. It should build and install fine with and without an
obj dir now.
1994-09-09 19:50:44 +00:00
paul
e935f018a7 Enabled send-pr 1994-09-09 19:48:23 +00:00
rgrimes
ae0202f3c6 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
rgrimes
68697bb86c Reenable libg++ 1994-09-09 15:10:37 +00:00
bde
874994c7cd Disable one of my extensions (function profiler epilogues) that
we're not ready for yet.  gcc and all profiled libraries will need
to be recompiled.  I suspect that the dependencies aren't complete
enough to do this automatically.
1994-09-02 20:39:41 +00:00
dg
1095f127fc Use gnumalloc to help reduce memory consumption. 1994-08-29 17:38:28 +00:00
paul
31fb6031b6 Added misc category
Submitted by:	Paul Richards
1994-08-29 07:35:02 +00:00
paul
65de050908 Fix some bad spacing in send-pr.sh that stopped mail working,
changed the category selection.
Submitted by:	Paul Richards
1994-08-29 06:15:30 +00:00
paul
6cece6dd2e Set up the problem categories.
Reviewed by:
Submitted by:
1994-08-29 04:13:24 +00:00
paul
35b3792d9b Added send-pr for sending in bug reports.
Reviewed by:
Submitted by:
1994-08-29 04:02:54 +00:00
bde
4b07d8e782 Add dependencies on libraries to DPADD. Someday this should be done
automagically.  -lfoo has to be right to work, but ${LIBFO0} is too
easy to forget or misspell; nothing checks it and it should be
different for shared libraries.
1994-08-28 18:49:06 +00:00
bde
7a562692a6 Use standard clean, cleandir and obj targets.
Don't use $@.

Uniformize the man Makefiles for shell scripts.  It should't take such
large Makefiles to install one script and one man page each.
1994-08-28 18:33:48 +00:00
bde
72011dcfa3 Remove stale clone of obj target. 1994-08-28 18:25:55 +00:00
bde
52042be992 Add dependencies on libraries to DPADD.
Move another include of bsd.prog.mk to the end.
1994-08-28 18:18:19 +00:00
bde
60115a8ba9 Centralize declarations of library names. 1994-08-28 18:12:38 +00:00
bde
fc79ecf3e0 Use ${ECHO} instead of echo' so that make -s' is fairly quiet. 1994-08-28 17:44:10 +00:00
bde
6d1bd3be60 We do have <dirent.h>, and it was harmful to pretend that we don't.
Several files in uucp/libunix included <sys/dir.h> and defined dirent
as direct, but <sys/dir.h> defines direct as dirent.  This macro
recursion is not allowed by cpp in traditional mode.  The 2.0 mkdep
uses cpp in traditional mode (another bug) so cpp prints a error
message and exits with a nonzero status.  The error status leaks out
of the pipe (another bug) so mkdep "succeeds".  It may even succeed.
1994-08-28 16:04:56 +00:00
wollman
189837a5f0 Install ld.so immutable. 1994-08-26 19:11:14 +00:00
bde
a9f5e2f0f4 Fixed Makefile for make depend some more. The .depend target was not
being created and config.h depended on Makefile.inc being in the wrong
directory so real dependencies were not being checked.  The "depend"
target was not created either so "make depend" always found work to do.
1994-08-25 08:36:26 +00:00
paul
53b6f73ce0 Changed cc26 to cc
Reviewed by:
Submitted by:
1994-08-24 21:17:33 +00:00
jkh
9c110258c6 From: Tom Pavel <PAVEL@SLAC.Stanford.EDU>
Subject: man returns 1

In 1.1.5.1, man returns a status of 1 if the lookup succeeds and 0 if
it fails.  Here is a patch for what I believe is a simple oversight:

Submitted by:	jkh
1994-08-24 07:26:23 +00:00
paul
8312f29778 Fixed up everything so that the version of gcc that we install from the
FreeBSD system sources installs itself as the standard cc and c++. I've
fixed c++ to call cc instead of gcc and removed all the symlinks
that get created to g** version of the binaries. This means that
you can install a second version of gcc that does use the g prefix
alongside the "system" version of gcc. The only conflict is libgcc
but since we install it as libcc.so.26 and nothing else is likely
to that should be ok.

Reviewed by:
Submitted by:
1994-08-23 17:18:58 +00:00
paul
8388777da0 Added -f to rm so install doesn't abort if the file doesn't exist.
Reviewed by:
Submitted by:
1994-08-20 06:28:37 +00:00
dg
38d39efec5 Don't explicitly define __FreeBSD__ - this is no longer necessary. 1994-08-19 12:24:45 +00:00
wollman
723735466d Define __FreeBSD__ to be 2. 1994-08-10 06:12:51 +00:00