Commit Graph

2032 Commits

Author SHA1 Message Date
mpp
9d756f809f Make direct calls to nroff work again. Rev 1.5 of contrib/gnu/nroff/nroff.sh
broke nroff because it added the '-S' option to the troff call, which
requires that the tmac.safer macro package be installed.

Since 90% of our *roff calls are probably generated by man(1), and
man(1) calls groff directly, I'm not really sure what rev 1.5 of nroff.sh
was trying to fix, but at least now nroff works again.

Broken by: imp
1999-07-30 19:15:16 +00:00
sheldonh
cef6367707 Add an example for folks who can never remember how to generate a
recursive diff for use with send-pr(1).

PR:	12440
Requested by:	David Kelly <dkelly@hiwaay.net>
1999-07-29 18:57:39 +00:00
obrien
f979029f4c Go back to using Bison for now, due to `make world' breakage.
BTW, if our src/contrib/bison is upgraded from 1.25 to the current 1.27
offering, the build breaks exactly the same way....
1999-07-29 09:49:29 +00:00
obrien
ebe74fdfd5 Use Yacc rather than Bison. 1999-07-28 07:22:08 +00:00
obrien
a4b8ba086c The Unix way is arguments come before an input file name, not after. 1999-07-28 07:19:38 +00:00
markm
2b8424c728 Remove paths that are listed as compulsory (sorta). /usr/local is not
guaranteed to be there on a new system. This fixes whereis' "Could not
stat file..." errors.
1999-07-25 19:33:06 +00:00
hoek
5f438d3a61 Respect the NOFSCHG variable. Add an $Id$ while I'm here, for whatever
reason Makefiles need $Id$.
1999-07-05 02:46:20 +00:00
bde
7c7c72da38 Fixed missing prototype for address_to_line(). One call passes an
int where an unsigned long is expected.  This was fatal on i386's
with 64-bit longs.
1999-07-04 16:00:04 +00:00
bde
1f3f20e6c0 Don't override the (correct) default for BINDIR. 1999-07-04 15:51:39 +00:00
gallatin
8055b17e85 Live & postmortem kernel debugging support for the alpha platform.
This was modeled after NetBSD's kernel debugging support.

Reviewed by: Doug Rabson <dfr@nlsystems.com>
1999-06-21 15:00:15 +00:00
dt
fee8b19d53 Fix placement of signal trampoline. 1999-06-13 19:41:50 +00:00
ache
f6ef687561 little optimization of locale sensing code 1999-06-09 00:07:10 +00:00
ache
b00495cccd Just ignore malformed locale variable unless -d specified 1999-06-08 14:59:12 +00:00
ache
958c8db399 Localize NEQN part too 1999-06-07 19:23:04 +00:00
ache
dc1229d27b Add ability to read/write localized manpages 1999-06-07 18:36:00 +00:00
ache
db8fbbf0e2 remove getopt & friend declarations, now unistd.h included 1999-06-05 16:05:40 +00:00
ache
a14f93868e fix typo preventing to include unistd.h 1999-06-05 15:59:51 +00:00
billf
d6b7b90dd4 Add the 'advocacy' category, sort this document. 1999-05-30 23:59:36 +00:00
kris
2c39f0fd7d Fixes from OpenBSD:
Add $Id$
Removes temp file exploits in gzexe (predictable filenames)
Fixes some typos
Fixes a buffer overrun in gzip -S
Don't prepend /usr/local/bin to path in scripts
Correct location of /usr/share/misc/termcap

Obtained from:	OpenBSD
1999-05-28 13:23:27 +00:00
ache
63ee6a9447 don't include Makefile.inc twice 1999-05-28 04:43:35 +00:00
ache
4f2512a268 upgrade to 4.0 1999-05-28 04:26:18 +00:00
dfr
d29ad2b6b2 Use the correct width integer on both i386 and alpha.
Reviewed by: Steve Price <sprice@hiwaay.net>
1999-05-23 13:43:04 +00:00
obrien
d85ebd29d2 Install g2c.h header incase others want to call libg2c from C.
Submitted by:	Steve
1999-05-23 10:02:46 +00:00
jb
607daee4a1 Add a missing backslash from the last commit. (Broke installworld) 1999-05-23 02:11:41 +00:00
hoek
1dea181fa6 Use BINOWN and BINGRP (some people do change these...) 1999-05-22 19:38:04 +00:00
ache
f2852710e4 fix downcase() for chars with 8bit 1999-05-13 15:59:27 +00:00
ache
e737f5837f fix typo uid_t -> gid_t
add unsigned char cast to ctype macros
1999-05-13 15:48:18 +00:00
ache
d053d4314f upgrade to perl 5.00503 1999-05-13 15:47:04 +00:00
dt
dc84355ef1 Add one more dependency (oops). 1999-05-13 12:26:09 +00:00
dt
8ea195fa53 Added some missing dependencies. 1999-05-12 19:27:44 +00:00
bde
167e3b025f Fixed some regressions in rev.1.40:
- rev.1.39 was clobbered.
- PROG was defined twice, once as nm.
- style bugs.
1999-05-11 08:07:51 +00:00
dfr
e6c289aed0 Install gdbserver and gdbreplay in /usr/bin, not /usr/libexec/elf. 1999-05-08 12:08:06 +00:00
dfr
551edfd501 Implement corefiles for FreeBSD/alpha. This requires a separate change to
the kernel which is awaiting review.
1999-05-07 21:49:06 +00:00
dfr
e53213fbe3 Add core-regset.c to the Makefile to allow debugging elf corefiles. 1999-05-07 19:53:05 +00:00
markm
307cd2910e Remove $Log garbage from these; it was causing failure when expanded.
Found by: Udo Schweigert <ust@cert.siemens.de>
1999-05-05 19:09:48 +00:00
ghelmer
1d4a1667d4 Correct SYNOPSIS (remove args from synopsis that are actually arguments
to flags).

PR:		docs/9658
1999-05-04 18:12:49 +00:00
obrien
ee930285c2 _G_USING_THUNKS probably applies to a.out too.
(well we define DEFAULT_VTABLE_THUNKS=1 for G++ in the a.out case, so it seems
likely)

Submitted by:	jdp
1999-05-02 21:22:50 +00:00
dfr
c3bff79c67 Remove old bmake framework for gdb. It has moved to live next to binutils. 1999-05-02 19:51:47 +00:00
dfr
5ba529d419 * Merge gdb/doc/Makefile into binutils/doc/Makefile
* Update build for gdbserver and gdbreplay to work under binutils
* Fix gdbserver to use PT_GETREGS etc to access registers, removing the
  dependancy on the u-area.
* Make gdbserver work on the alpha.
1999-05-02 19:50:18 +00:00
dfr
32ac729330 Enable gdb on the alpha. 1999-05-02 16:11:43 +00:00
markm
f0a7b5b632 System Perl is now 5.00503! There is support for threads, but this is
not currently enabled. Thread-boffins are welcome to send me patches.
1999-05-02 15:29:56 +00:00
dfr
9d9f67f5dd Enable building gdb under binutils for i386. I can't enable the alpha build
yet since CVS is hiding one of my files.
1999-05-02 11:38:12 +00:00
dfr
64bb59fd59 * Add bmake framework for using gdb alongside binutils. The old bmake
framework was repository copied from gnu/usr.bin/gdb.
* Add alpha support.
1999-05-02 11:32:14 +00:00
dfr
2500018199 Disable building gdb in preparation for importing gdb-4.18 1999-05-02 09:57:53 +00:00
obrien
4081c85fd1 Add more bits of libF77.
Submitted by:	jmz
1999-05-01 22:30:14 +00:00
obrien
9e947e8ed8 * Add MAIN.c
* be more selective what I add to CLEANFILES (what was I previously thinking??)
1999-05-01 22:23:29 +00:00
obrien
0be16f9afe JMZ says:
Add an emply MAIN__() function. This avoid an unresolved reference error
   during link phase when using fortran subroutines with non-fortran 'main()'.

Obtained from:  src/lib/libF77/MAIN.c rev 1.1 by jmz
1999-05-01 22:22:42 +00:00
peter
7634f5f76b Handle byte counts for >2G archives
PR:		11389
Submitted by:	Adrian Chadd <adrian@FreeBSD.org>
1999-04-29 19:59:24 +00:00
obrien
522e272a7b Rather than hack config/freebsd.h to contain our hacks for a native compiler,
just include them in tm.h (as built from cc/cc_tools/Makefile).

This will reduce the diffs from the vendor sources.

Excellent idea by:	jdp
1999-04-28 18:48:08 +00:00
luoqi
ff48ed9c3e Make gdb work with kernel after the SMP vmspace sharing changes. 1999-04-28 01:27:55 +00:00
imp
35d2979599 Use braces to avoid potentially ambiguous else clause.
main's return type is int not void.

Reviewed by: obrien and chuckr
1999-04-25 22:14:06 +00:00
obrien
d2b4c4a138 use `target' macro crafted in parent Makefile rather than making our own
Submitted by:	Warner Losh
1999-04-25 17:23:28 +00:00
obrien
d0bc3cab3a Hookup FORTRAN info docs.
Submitted by:	Mark Murry
1999-04-25 17:09:48 +00:00
obrien
e227e38657 Remove several explicit rules. The two for exceptioni.o and typeionfoi.o
aren't needed as those files aren't part of libstdc++ any longer.  Another
isn't needed as Cygnus doesn't compile with -frtti.

Noticed by:	bde & my initial mispelling of ".So".
1999-04-25 16:59:54 +00:00
obrien
a099f8cc73 Sorry didn't get this in the last commit: MACHINE_ARCH changes courtesy
of Warner Losh <imp@village.org>.  (he's got plans for FreeBSD mips :-))
1999-04-22 20:12:21 +00:00
obrien
c506ddebe9 Use GNU_ARCH' in most places where MACHINE_ARCH' was used. Building for
mips has some particularlies.
1999-04-22 19:35:16 +00:00
imp
b4fe1fc062 For mips assembler, we need to define TARGET_BYTES_BIG_ENDIAN to be
zero when building for little endian machines.

Correct the target names for mips.  We just use the generic targets
for mips elf, so the mipse[lb]-unknown-freebsd emulation types don't
exist.
1999-04-22 07:19:20 +00:00
obrien
6b5c8c5794 Have config/i386/freebsd.h directly include att.h. I have no idea why stock
EGCS doesn't just do this.  None of the rest of our other platforms will need
this file.
1999-04-22 00:20:36 +00:00
imp
3e5b295613 TARGET was being defined wrong, causing ld to always fail. It is the
name of the bfd target, not the gnu-standard target name.  Corrected
to be elf32-{big,little}mips from mipse[bl]-unknown-freebsd.

DEFAULT_EMULATION was bogusly defined, causing ld to always fail (this
was masked by the TARGET bogosity).  Define correctly as elf32bmip and
elf32lmip.  Mips doesn't follow the same conventions as i386 and alpha
do in this area.

ld now appears to work correctly for the uncommitted mips changes to
egcs.
1999-04-21 07:46:06 +00:00
obrien
9af4b2b5ea This duplicates gnu/usr.bin/cc/c++filt. 1999-04-18 10:25:57 +00:00
obrien
a1f564650c Hookup libg2c. (define NO_FORTRAN if you don't want it built) 1999-04-18 09:50:16 +00:00
obrien
1c8df85eb1 libg2c -- EGCS's version of libf2c (plus enhancements). 1999-04-18 09:48:40 +00:00
obrien
b710768bd3 Add FORTRAN support. 1999-04-18 09:44:36 +00:00
obrien
025141faad Move HAVE_CONFIG_H define to global cc/ Makefile so all can share the benifits. 1999-04-18 09:42:56 +00:00
obrien
97db6d0b10 *** empty log message *** 1999-04-18 09:41:49 +00:00
obrien
7a7b31aa6c Use inherited BINDIR defintion. 1999-04-18 09:39:38 +00:00
obrien
c00cfee64b Include the parent Makefile.inc so we get a proper BINDIR definition.
As explained by:	bde
1999-04-18 09:36:11 +00:00
obrien
b89c50491d Hookup the new FORTRAN compiler. Define `NO_FORTRAN' to not compile it. 1999-04-18 09:34:01 +00:00
obrien
f5af675abe Add the EGCS g77 FORTRAN compiler. 1999-04-18 09:33:25 +00:00
obrien
5a2a7a621f Minimum change to convert from home-grown f77 to EGCS's g77.
(Pre-bdelinted)
1999-04-18 09:22:56 +00:00
obrien
d26d808af6 Make room for g77. 1999-04-18 09:17:31 +00:00
obrien
edc3a3e0a4 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
obrien
52bb7ceaf6 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
markm
3f5095a2fa As the INFO stuff un doc/ works, we may as well build/install it.
OK'ed by:	obrien
1999-04-13 17:56:28 +00:00
bde
33795a33e0 Cleaned up egcs changes (mainly to minimise diffs with the gcc version
and restore order to sorted lists).
1999-04-11 04:32:42 +00:00
bde
b4d0b18a23 Fixed unusable dependencies in `.depend'. The following comment in the
code still applies, but the code attached to it had rotted:

# ../Makefile.inc will put an absolute path to our objdir in CFLAGS.
# Prevent mkdep from using it, so that we don't have to give rules for
# aliases of generated headers.

Many other makefiles seem to have the same bug (i.e., spelling "." as
"${.OBJDIR}" or as an even more complicated alias in -I directives).
1999-04-11 04:11:27 +00:00
obrien
812333ae22 Look in the new place for GCC bits. 1999-04-10 08:07:34 +00:00
bde
20977f06d8 Fixed world breakage. Fixed (?) building with -jN (N > 1).
The previous commit made things worse by breaking the -j0 case and
moving around the breakage for the -jN case.  The fix involves
restoring .ORDER statements that were deleted in the previous commit,
removing wrong special handling of tree-check.h, and rewriting the
generation of fudged dependencies based on an idea I got from the
previous commit (filter out problematic objects first).
1999-04-09 18:46:48 +00:00
obrien
2034f40c32 Another fix for -jN building -- the last fix didn't fix it for everybody.
Submitted by:	Luoqi Chen <luoqi@watermarkgroup.com>
1999-04-08 23:37:46 +00:00
peter
217c68f1e1 Clean up some stuff that's no longer used. 1999-04-08 15:43:36 +00:00
peter
272c0ffe18 Clean up the multilib stuff so that it actually works..
cc -aout now works again.
1999-04-08 15:11:44 +00:00
obrien
5810f4ab82 Remove some of the dependencies. This removes the cycles I was getting on
`make -j 8' builds.
1999-04-08 12:26:07 +00:00
obrien
7b5f3ba39b Due to other explicit dependancies, don't treat tree-check.h as a SRCS. 1999-04-08 09:57:51 +00:00
obrien
36332ab857 Fix a circular dependancy. 1999-04-08 09:21:52 +00:00
obrien
86f93f2461 Missed a "\" in a continuation line. 1999-04-08 09:13:39 +00:00
obrien
5a2edaf715 alpha/freebsd-elf.h has been merged with alpha/freebsd.h 1999-04-08 08:39:16 +00:00
obrien
2abaf8ce10 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
obrien
760f9d518d alpha/freebsd-elf.h is being folded into alpha/freebsd.h
Submitted by:	Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
1999-04-08 07:38:51 +00:00
obrien
b270fa44ff 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
obrien
0a64c9e421 Cometic cleanup.
Pre-bdelinted by:	bde
1999-04-08 07:20:33 +00:00
obrien
08ed5edfec 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
obrien
4413bdb033 Use Haifa scheduler on the Alpha. 1999-04-06 20:08:01 +00:00
obrien
76efc1ac22 * 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
peter
ac4f7c6b40 Zap the genclass makefile too, it's gone. (It was part of g++ - a hack to
create classes from templates manually)
1999-04-06 02:13:11 +00:00
obrien
cc94f76f3d Crap! I grabbed the wrong Makefile from the test machine. 1999-04-05 10:21:30 +00:00
peter
cc69e950c0 Fix type mismatch.. 1999-04-05 10:18:50 +00:00
obrien
1199bf314a Fix .for loop continuation lines style bugs.
Submitted by:	bde
1999-04-05 09:01:45 +00:00
obrien
9bdf51c483 Turn off src/gnu/usr.bin/genclass -- it is OBE as it was part of libg++. 1999-04-05 08:48:08 +00:00
obrien
fac38aaff0 Add iostream Info docs. 1999-04-05 08:07:41 +00:00
obrien
eae521d2fd Correct contents for the EGCS compiler documentation.
Currently it is unbuildable, but an info-aware developer should be able to get
this working w/o too much trouble.
1999-04-05 07:10:13 +00:00