Commit Graph

349 Commits

Author SHA1 Message Date
Bruce Evans
4c06fcce4e 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
David Greenman
6439f9e911 Use gnumalloc to help reduce memory consumption. 1994-08-29 17:38:28 +00:00
Paul Richards
d007e3fbbb Added misc category
Submitted by:	Paul Richards
1994-08-29 07:35:02 +00:00
Paul Richards
20c894b6fb 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 Richards
e348d9c3a8 Set up the problem categories.
Reviewed by:
Submitted by:
1994-08-29 04:13:24 +00:00
Paul Richards
096e440005 Added send-pr for sending in bug reports.
Reviewed by:
Submitted by:
1994-08-29 04:02:54 +00:00
Bruce Evans
2577a8acef 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
Bruce Evans
85b64443ae 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
Bruce Evans
6ad617743b Remove stale clone of obj target. 1994-08-28 18:25:55 +00:00
Bruce Evans
0641ff3b3d Add dependencies on libraries to DPADD.
Move another include of bsd.prog.mk to the end.
1994-08-28 18:18:19 +00:00
Bruce Evans
b8d38c6e17 Centralize declarations of library names. 1994-08-28 18:12:38 +00:00
Bruce Evans
f34a7038a6 Use ${ECHO} instead of echo' so that make -s' is fairly quiet. 1994-08-28 17:44:10 +00:00
Bruce Evans
05e598dc37 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
Garrett Wollman
e410457b74 Install ld.so immutable. 1994-08-26 19:11:14 +00:00
Bruce Evans
e4d49cce30 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 Richards
7cd7695691 Changed cc26 to cc
Reviewed by:
Submitted by:
1994-08-24 21:17:33 +00:00
Jordan K. Hubbard
bd240d5233 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 Richards
6f1537dd90 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 Richards
c13a11ac11 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
David Greenman
e4e244ac16 Don't explicitly define __FreeBSD__ - this is no longer necessary. 1994-08-19 12:24:45 +00:00
Garrett Wollman
0a9783e5a2 Define __FreeBSD__ to be 2. 1994-08-10 06:12:51 +00:00
Jordan K. Hubbard
1a7466e84a Nuke GNU pr.
Reviewed by:
Submitted by:
1994-08-10 00:24:25 +00:00
Jordan K. Hubbard
40735e19b9 Punt duplicate declaration of sys_errlist[].
Submitted by:	jkh
1994-08-09 15:31:52 +00:00
Jordan K. Hubbard
6464a7f87d Delete two redundant declarations of _exit() and exit().
Submitted by:	jkh
1994-08-09 15:15:04 +00:00
Jordan K. Hubbard
ec94de0d83 Remove kgdb for now until we figure out what our gdb strategy is going
to be (having two sucks, and this one doesn't even work for 2.0 now!).
Submitted by:	jkh
1994-08-09 14:48:35 +00:00
Jordan K. Hubbard
1eb04b89a8 Remove redundant (and conflicting) definition of sys_errlist.
Submitted by:	jkh
1994-08-09 12:07:44 +00:00
Jordan K. Hubbard
7129790a6c New 2.0 specific changes.
Reviewed by:
Submitted by:
1994-08-08 20:24:29 +00:00
Jordan K. Hubbard
aeddb76205 Make uucp compile again in 2.0. A little perturbed about the comment
saying that 4.4 uses f_size in statfs, yet we're using b_size.  Anyway,
I've configured things to match our current environment.
Reviewed by:
Submitted by:
1994-08-08 20:24:12 +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
Poul-Henning Kamp
250fc6c839 This gcc-2.6.0 should work with 2.0 1994-08-08 04:45:29 +00:00
Poul-Henning Kamp
1490bf4054 Added -Dbsd4_4, this should close the problem with sys_errlist. 1994-08-08 04:36:16 +00:00
Poul-Henning Kamp
e277531771 gcc260.patch:
moved to the logical name.
libg++-2.6.patch:
	FOO_MAX in limits.h isn't in hex under 2.0 (for the time being ??)
libg++-2.6.tcl:
	it works on my 1.1.5.1 system.  I cannot test it here until gcc-2.6.0
	is installed.
gnu2bmake.tcl:
	enhanced various ways.
README:
	says "don't hack the bmaked sources"
gcc-2.6.0.tcl:
	added the gen-* and md files to the bmaked sources.  Not used by
	makefiles.  Do I need to add other files Garrett ?
1994-08-08 04:30:17 +00:00
Jordan K. Hubbard
e151425678 cc -> cc26 (until Poul-Henning decides how he wants this to look).
Submitted by:	jkh
1994-08-07 21:00:46 +00:00
Jordan K. Hubbard
e59e670cbe Remove libg++ until we have a working one again.
Submitted by:	jkh
1994-08-07 20:58:04 +00:00
Garrett Wollman
82b5b51335 Regenerate conf.h with configure script from original package. 1994-08-05 22:33:44 +00:00
Garrett Wollman
00dc83228f Need -lcompat to link under 2.0. 1994-08-05 22:04:02 +00:00
Garrett Wollman
50098afdd6 Bump shared-library version numbers. 1994-08-05 21:33:53 +00:00
Garrett Wollman
fed0531ef5 Last commit was slightly half-baked; try again. Use <sys/cdefs.h> to get
__P defined, rather than trying to do it ourselves.
1994-08-05 21:31:51 +00:00
Garrett Wollman
17e8000b6f Use __GNU_P not __P. 1994-08-04 20:57:07 +00:00
Garrett Wollman
f785cf91ff Use __GNU_P ratherthan __P. 1994-08-04 20:53:14 +00:00
Poul-Henning Kamp
b75deec600 Here comes the right import of gcc-2.6.0. 1994-08-02 20:15:59 +00:00
Poul-Henning Kamp
94e6204340 This is the tcl-scripts which will convert gcc-2.6.0 to bmake form,
a patch to gcc from Bruce, and to libg++ by me.  I will check in the
actual compiler when Jordan has put in the rest of src/gnu.
1994-08-02 05:22:24 +00:00
Jordan K. Hubbard
66b58bf8b3 Add Chris Demetriou's --unlink changes.
I know that I said earlier that this should be unconditional behaviour,
but I thought about it a little more and concluded that the principle of least
surprise dictates that I make it an option.
1994-06-28 07:12:43 +00:00
Rodney W. Grimes
8ffbd12df2 Fix serious off by one error for FreeBSD keyword, this has been driving
me nuts as it was on by default and that is NOT what I wanted.
1994-06-22 00:51:42 +00:00
Jordan K. Hubbard
a37e71f354 Remove reference to the ld.so man page - ain't no such animal.
Reported by John Lind.
1994-06-17 17:22:16 +00:00
Rich Murphey
699e1b82fb Changes from Paul Kranenburg which bring us into sync with his sources:
handling of errors through the standard err() and warn()
 more fixes for Geoff Rehmet's NULL pointer bug.
 fixes NULL pointer bugs when linking mono and nested X servers.
 supports a `-nostdlib' option.
 accept object files without a symbol table
 don't attempt dynamic linking when `-A' is given

a few variable names have chaged (desc -> fd), and the formatting has
changed which should make it much easier to track his sources.

I tested 'make world' for /usr/src and X twice with these changes.
1994-06-15 22:41:19 +00:00
Jordan K. Hubbard
2ded984659 Make gzip static by default. This is needed because it's such a
frequent companion to tar.
1994-06-15 19:16:58 +00:00
Jordan K. Hubbard
60d5ec6677 Make tar static by default. Don't scream, you'll thank me for this
someday.
1994-06-15 19:16:04 +00:00
Adam David
1d13a7db2a correct location of corefile data segment 1994-06-15 08:24:25 +00:00
Geoff Rehmet
86a13e77dd Bug reported by Jon-Dean Mountjoy <csjm@cs.ru.ac.za>
Paul Kranenburg's description:
ld is in error here, assuming that symbols with N_EXT set always have an
entry in the (global) symbol table: this is not the case for C++ generated
constructor/destructor symbols. I can reproduce your failure by fudging
a "multiply defined" constructor symbol by hand. Checking for `g == NULL'
seems to be a ok as a fence for now.

So:
for now, in do_file_warnings() we check if g == NULL, before trying to generate
any warning messages.  This prevents a NULL pointer dereference.
1994-06-14 12:45:41 +00:00