Commit Graph

2200 Commits

Author SHA1 Message Date
obrien
8a605012cb Use Bison with "--broken-undeftoken-init". 1999-08-14 22:44:36 +00:00
obrien
9444d395e7 Rather than deleting the grammer files during building, move them out of the
way.  This way they are available for inspection when debugging problems.
1999-08-14 22:40:01 +00:00
obrien
c996db5cca Due to brain damage on the FSF people, we can not longer pass "config.h"
type settings on the compiler command line.  FSF put their version of our
"__P()" macro in config.h, thus ``config.h'' required now.
1999-08-14 22:32:36 +00:00
obrien
9898e7b718 Fixes for Bison 1.25->1.28 upgrade. 1999-08-14 22:30:36 +00:00
ru
efee6ff463 Unbroke zforce.
PR:		8348
Submitted by:	Christoph Weber-Fahr <wefa@callcenter.systemhaus.net>
1999-08-11 10:34:57 +00:00
bde
e89dba8766 Support 21-bit minor numbers. Avoid wasting a byte in their octal
representation by generating the same format as tar-1.13 (use a single
space as the terminator for 7-digit octal numbers).  This is POSIX.1
conformant (2-byte terminators are just a bug or historical wart in
old versions of gnu tar).  All devices created by `MAKEDEV all' except
rsa0.ctl can now be handled by tar(1).
1999-08-11 08:03:39 +00:00
bde
5751308302 Forgotten in previous log message:
PR:		misc/12920
1999-08-08 07:31:47 +00:00
bde
2961d6c092 Install c++filt in /usr/libexec/${OBJFORMAT}. The version that
was installed in /usr/bin normally got clobbered when objformat
was installed.  Indirection through objformat is correct although
underscore handling is the only thing that differs for aout and
elf -- going through objformat is the easiest way to set c++filt's
underscore handling flag correctly.
1999-08-08 07:30:02 +00:00
obrien
5ea8af9f94 Use Byacc rather than Bison. 1999-08-02 10:02:07 +00:00
obrien
c3361a64f3 Clarify that "-w" ignores horizontal white space changes. 1999-08-01 16:07:09 +00:00
obrien
6cf22037d6 Only use Bison to generate cc1plus's parse code. 1999-08-01 15:44:51 +00:00
hoek
d8e7cb0632 Remove explicit testing of the NOFSCHG variable. Its functionality (in this
file) is now superceeded by INSTALLFLAGS_EDIT in bsd.{prog,kmod,lib}.mk.
1999-07-31 20:32:31 +00:00
ache
09d662a760 Tune table since 0200-0206 is not available, add more chars 1999-07-31 15:51:57 +00:00
ache
0e2729dbf2 Add more koi8-r chars 1999-07-31 13:17:47 +00:00
ache
0ea18b65fa install msafer.7 1999-07-31 12:20:29 +00:00
nik
42deb67b93 Reflect the change from the /etc/weekly to /etc/periodic/weekly/*.
PR:             docs/12734
Submitted by:   Alexey M. Zelkin <phantom@scorpion.crimea.ua>
1999-07-30 21:12:35 +00:00
imp
3749aa91bd Add -S to nroff and troff invocations of man. 1999-07-30 19:35:56 +00:00
mpp
83c679fadf 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
4d5385f5ab 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
03e315b2fb 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
fba71d479b Use Yacc rather than Bison. 1999-07-28 07:22:08 +00:00
obrien
ac585f72b0 The Unix way is arguments come before an input file name, not after. 1999-07-28 07:19:38 +00:00
markm
f94e0ad72a 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
37bb3eb20c 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
af123b3755 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
3179d631ae Don't override the (correct) default for BINDIR. 1999-07-04 15:51:39 +00:00
gallatin
bee5e990d8 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
8c28d877f7 Fix placement of signal trampoline. 1999-06-13 19:41:50 +00:00
ache
ed11896ff7 little optimization of locale sensing code 1999-06-09 00:07:10 +00:00
ache
5b46e8e2a8 Just ignore malformed locale variable unless -d specified 1999-06-08 14:59:12 +00:00
ache
ec826d342d Localize NEQN part too 1999-06-07 19:23:04 +00:00
ache
307eff3ce6 Add ability to read/write localized manpages 1999-06-07 18:36:00 +00:00
ache
efdb8e1c5a remove getopt & friend declarations, now unistd.h included 1999-06-05 16:05:40 +00:00
ache
d477f5811f fix typo preventing to include unistd.h 1999-06-05 15:59:51 +00:00
billf
e5bd0a0525 Add the 'advocacy' category, sort this document. 1999-05-30 23:59:36 +00:00
kris
c250e6c016 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
64f6661827 don't include Makefile.inc twice 1999-05-28 04:43:35 +00:00
ache
a4377c0b28 upgrade to 4.0 1999-05-28 04:26:18 +00:00
dfr
8e65268e47 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
ea0b369105 Install g2c.h header incase others want to call libg2c from C.
Submitted by:	Steve
1999-05-23 10:02:46 +00:00
jb
fe6833d758 Add a missing backslash from the last commit. (Broke installworld) 1999-05-23 02:11:41 +00:00
hoek
6889aee76f Use BINOWN and BINGRP (some people do change these...) 1999-05-22 19:38:04 +00:00
ache
bf97145111 fix downcase() for chars with 8bit 1999-05-13 15:59:27 +00:00
ache
ccb41f4d18 fix typo uid_t -> gid_t
add unsigned char cast to ctype macros
1999-05-13 15:48:18 +00:00
ache
735e962fe8 upgrade to perl 5.00503 1999-05-13 15:47:04 +00:00
dt
57f243926b Add one more dependency (oops). 1999-05-13 12:26:09 +00:00
dt
93e9d28b3b Added some missing dependencies. 1999-05-12 19:27:44 +00:00
bde
ef58f8fd63 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
5a04887787 Install gdbserver and gdbreplay in /usr/bin, not /usr/libexec/elf. 1999-05-08 12:08:06 +00:00
dfr
9dde455f7c 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
6ee8d71106 Add core-regset.c to the Makefile to allow debugging elf corefiles. 1999-05-07 19:53:05 +00:00
markm
467d4f6833 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
a7b21ea3ad Correct SYNOPSIS (remove args from synopsis that are actually arguments
to flags).

PR:		docs/9658
1999-05-04 18:12:49 +00:00
obrien
5fbe0fca4d _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
75bcb24eef Remove old bmake framework for gdb. It has moved to live next to binutils. 1999-05-02 19:51:47 +00:00
dfr
49203dc524 * 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
d6cb64b24f Enable gdb on the alpha. 1999-05-02 16:11:43 +00:00
markm
84e013e6a2 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
264fceef68 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
6b9ebd7c42 * 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
e96268a725 Disable building gdb in preparation for importing gdb-4.18 1999-05-02 09:57:53 +00:00
obrien
20d86ca9fc Add more bits of libF77.
Submitted by:	jmz
1999-05-01 22:30:14 +00:00
obrien
d0f5bbe97a * 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
e36058b2ec 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
d60898ec2f Handle byte counts for >2G archives
PR:		11389
Submitted by:	Adrian Chadd <adrian@FreeBSD.org>
1999-04-29 19:59:24 +00:00
obrien
f999fe682d 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
9a0dd7fc67 Make gdb work with kernel after the SMP vmspace sharing changes. 1999-04-28 01:27:55 +00:00
imp
296200fa40 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
eb019ef09c 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
e9f9c60c1e Hookup FORTRAN info docs.
Submitted by:	Mark Murry
1999-04-25 17:09:48 +00:00
obrien
435c4089d3 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
ba73108e2e 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
c63cc12121 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
0843d910d1 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
9b512bf44d 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
645a202f7e 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
99f42eae7d This duplicates gnu/usr.bin/cc/c++filt. 1999-04-18 10:25:57 +00:00
obrien
8768d7d88d Hookup libg2c. (define NO_FORTRAN if you don't want it built) 1999-04-18 09:50:16 +00:00
obrien
c8ac8006aa libg2c -- EGCS's version of libf2c (plus enhancements). 1999-04-18 09:48:40 +00:00
obrien
fb67c013f7 Add FORTRAN support. 1999-04-18 09:44:36 +00:00
obrien
6d33c7fbff Move HAVE_CONFIG_H define to global cc/ Makefile so all can share the benifits. 1999-04-18 09:42:56 +00:00
obrien
c3969efe13 *** empty log message *** 1999-04-18 09:41:49 +00:00
obrien
f597ff4a36 Use inherited BINDIR defintion. 1999-04-18 09:39:38 +00:00
obrien
980cec438f 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
caa9359052 Hookup the new FORTRAN compiler. Define `NO_FORTRAN' to not compile it. 1999-04-18 09:34:01 +00:00
obrien
9052dec1ef Add the EGCS g77 FORTRAN compiler. 1999-04-18 09:33:25 +00:00
obrien
1b8d3678ba Minimum change to convert from home-grown f77 to EGCS's g77.
(Pre-bdelinted)
1999-04-18 09:22:56 +00:00
obrien
a5ed1ef1b1 Make room for g77. 1999-04-18 09:17:31 +00:00
obrien
fcddec6036 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
ec590b6e2c 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
df6c2a5c09 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
b71e2d6929 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
e7f729662f 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
8edc571a6c Look in the new place for GCC bits. 1999-04-10 08:07:34 +00:00
bde
5d64991676 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
c309bcbcc0 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
ada2cd285e Clean up some stuff that's no longer used. 1999-04-08 15:43:36 +00:00
peter
c0a748d149 Clean up the multilib stuff so that it actually works..
cc -aout now works again.
1999-04-08 15:11:44 +00:00
obrien
3cde66db34 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
8cf2e6b0ef Due to other explicit dependancies, don't treat tree-check.h as a SRCS. 1999-04-08 09:57:51 +00:00
obrien
b25aa308ff Fix a circular dependancy. 1999-04-08 09:21:52 +00:00
obrien
732f78ae33 Missed a "\" in a continuation line. 1999-04-08 09:13:39 +00:00
obrien
fecd8f827b alpha/freebsd-elf.h has been merged with alpha/freebsd.h 1999-04-08 08:39:16 +00:00
obrien
af1ee2c189 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
2a35f71573 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
c1c34605d0 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
46d92717ee Cometic cleanup.
Pre-bdelinted by:	bde
1999-04-08 07:20:33 +00:00
obrien
c4896e0415 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
530b29e036 Use Haifa scheduler on the Alpha. 1999-04-06 20:08:01 +00:00
obrien
5e7b2101ff * 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
f1d4322476 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
5b4c922992 Crap! I grabbed the wrong Makefile from the test machine. 1999-04-05 10:21:30 +00:00
peter
7532300570 Fix type mismatch.. 1999-04-05 10:18:50 +00:00
obrien
2b32482479 Fix .for loop continuation lines style bugs.
Submitted by:	bde
1999-04-05 09:01:45 +00:00
obrien
9beaea47a5 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
7d9a0d919c Add iostream Info docs. 1999-04-05 08:07:41 +00:00
obrien
63821afb9f 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
obrien
646e7daf01 osfcn.h (part of libg++) is going away, so don't try to include it. 1999-04-05 05:08:20 +00:00
obrien
2290c6a5dd _G_config.h is now dynamically created. 1999-04-05 01:16:03 +00:00
obrien
d3677726f5 Conditionalize one more i386'ism. 1999-04-04 20:47:33 +00:00
obrien
4ff7b0a20f Attempt to creating the right ``tm.h'' file for the Alpha. 1999-04-04 20:41:50 +00:00
obrien
237df16e8b Attempt at creating the right ``tm.h'' file for the Alpha. 1999-04-04 20:40:45 +00:00
imp
4595bbb007 Remove mkstemp.c from build. This is now in libc.
Tested by: make buildworld
1999-04-04 20:29:43 +00:00
obrien
9d79851d47 didn't get latest version:
Don't conditionalize -I${.CURDIR}/../cc_tools
1999-04-04 17:11:00 +00:00
obrien
800fceb0a4 This is old C++ code -- no need for rtti or exceptions. 1999-04-04 16:44:33 +00:00
obrien
d1a9d0c824 Minimum set of changes to switch from Gcc 2.7.2 (in contrib/gcc) to Egcs 1.1.2
(in contrib/egcs)
1999-04-04 16:36:35 +00:00
obrien
7d7cae8f98 Commit msg for rev 1.20 should probably have added that gnu/lib/libregex was
the only lib that was using the SHLIB_* values from gnu/lib/Makefile.inc.
Thus I simply added the to the Makefile here.
1999-04-03 22:54:47 +00:00
obrien
6fa718f761 Makefile.inc was politing all subdir's with SHLIB_{MAJOR,MINOR} definitions.
Since we aren't keeping all the GNU libs at the same versions, this is
useless and causes us to build a shared libgcc, which we don't want to do.
1999-04-03 22:52:35 +00:00
bde
5847b403d4 echo -> ${ECHO}. 1999-04-03 07:04:53 +00:00
obrien
fba3cb7ab8 `make world' works fine -- no reason to revert the move to gnu/lib/ 1999-04-02 17:35:14 +00:00
steve
ad18285af7 Missed a '/' in the last commit.
PR:		10909
Submitted by:	Yasuhiro Fukama <yasuf@big.or.jp>
1999-04-01 19:42:09 +00:00
obrien
f8c7ec1135 Add bits we were getting from gnu/usr.bin/cc/Makefile.inc. 1999-03-31 06:40:40 +00:00
obrien
59e0228778 Hookup libgcc at gnu/lib instead of gnu/usr.bin/cc
(libgcc was repository copied for me by Peter)
1999-03-31 06:30:40 +00:00
obrien
797280f87c Document -y/--bzip2/--bunzip2 flag. 1999-03-29 11:25:45 +00:00
steve
0c9808ee38 Defer the expansion of $PATTERN until it has a useful value and not
one that may have existed in the user's environment.

PR:		6795
Submitted by:	Greg Lehey <grog@lemis.com>
1999-03-24 17:06:47 +00:00
julian
253b40da85 Need to translate more .h to .ph then just /usr/include &
/usr/include/sys.  Specifically we need /usr/include/machine
since "syslog.h" includes "machine/ansi.h".  To be safe we
translate all of /usr/include/* and /usr/include/*/*.

sample error case:
         echo "require 'syslog.ph';" | /usr/bin/perl
will fail when syslog.ph tries to include machine/ansi.ph

Submitted by:	Doug Ambrisko
1999-03-18 19:39:07 +00:00
peter
c10b9d47ee Update bmake glue for cvs-1.10 1999-03-18 09:37:57 +00:00
obrien
d21e84f56a Add new -y/--bzip2/--bunzip2 flag. With all the ports that are going to
bzip2 as the compression mechanism, this makes life easier.

Obtained from:	bzip2 website
1999-03-17 12:09:31 +00:00
torstenb
bcc5d7289f Install uuxqt sgid uucp. Since "rnews" should not be executable for
everyone (to prevent fake-postings) and modern Inn installs
rnews as news.uucp and mode 4550 this is the only save way to allow
uuxqt to process rnews batches.
1999-03-13 17:35:18 +00:00
bde
8e1b457aef Don't use backslash-newline to split the too-long line for
".Fn dialog_ftree ...", since my synopsis checker doesn't support it
and no other too-long .Fn lines are split.
1999-03-05 14:43:29 +00:00
imp
3742e223f0 Add TARGET_ARCH=mipsel and TARGET_ARCH=mipseb as a valid targets.
Unlike the unisex architecutres we've had so far, mips is bisexual.
These tools can produce either byte sex, and the compiler/make
determines the proper gender to use.  Otherwise, we'd have to have had
mipsel and mipseb in all the places that we have just mips.  And there
are other complications with doing that (binutils doesn't like to
build mips tools without both byte genders, it seems).

Introduced BINUTIL_ARCH so that other bisexual architectures can a
generic mechanism.

We cannot just define MACHINE_ARCH as mips because we need to
differentiate big and little endian types of binaries.  Discussions on
freebsd-arch have hashed out this issue (and the parallel libc
issues).  NetBSD is moving towards mipsel and mipseb for their two
flavors of mips ports (in time for 1.4, if this change hasn't already
been accomplished).

I've been building i386 worlds with this tree for a three months with
these files in place with no ill effects.
1999-03-01 04:01:57 +00:00
obrien
e5f6f64e44 I don't know why the version was bumped to 1.11.3, nothing from the real
GNU 1.11.3 got in when this change was made.  thepish's submitted fixes
unbroke --norecurse.
1999-02-28 09:11:20 +00:00
ache
5cb54dc62f use minimum length for strcoll too 1999-02-14 09:44:56 +00:00
ache
4167316b12 remove collating optimization - not work with substituted characters 1999-02-13 15:45:30 +00:00
ache
6f0e5b8d83 use strcoll() where it is easy to sort german ss and similar properly 1999-02-13 13:05:04 +00:00
wosch
8cb072fdec $Id$ misspelled as $Id
Submitted by: bde
1999-02-11 17:09:27 +00:00
wosch
8e7edf802b Added myself as maintainer. 1999-02-09 17:23:03 +00:00
obrien
f35509ca7e Fix white-space spamming. 1999-02-08 01:32:04 +00:00
markm
40180d872f Add perl5 userland (actually localland) to MANPATH list. 1999-02-04 11:43:10 +00:00
rnordier
0461893bd5 Drop outdated FreeBSD version number from test script.
Submitted by	: Sue Blake <sue@vedanix.welearn.com.au>
PR		: 9650
1999-01-24 07:10:34 +00:00
bde
8a9262cb57 Fixed ifdef for libintl in previous commit (the location of libintl.a's
obj dir is only indirectly related to the location of libtxi.a's obj
dir).

Fixed about 3 style bugs in previous commit.

Fixed my bug in rev.1.7.  "../../Makefile.inc" worked as an alias for
"../Makefile.inc" in some cases, but it gives endless recursion when
there is an obj dir in one of the subdirs.
1999-01-20 02:08:07 +00:00
bde
2a9ff0ca74 Fixed breakage of cross-compiling in previous commit. The installed
version of makeinfo must be used.  The fix breaks bootstrapping of
texinfo by a simple `make' in the texinfo directory -- `make world'
must be used to bootstrap it if you don't know how to do it manually.

Fixed at least 7 style bugs in previous commit.
1999-01-19 23:36:05 +00:00
markm
f3ee7f08a3 Back out the last commit; it broke things.
NB! NB! NB! GUYS - the perl5 build is extremely nasty!! Please run all
changes to it past me _before_ committing. There are some very subtle
gotchas.
1999-01-17 09:53:34 +00:00
peter
7c3f6f9c5c Remove BINFORMAT/a.out/elf default hackery, it's elf by default internally
and doesn't need to use this.
1999-01-16 13:22:35 +00:00
peter
08978e6ed8 Typo: s/local/locale/ in LOCALEDIR.
Submitted by:	Seigo TANIMURA <tanimura@naklab.dnj.ynu.ac.jp>
1999-01-15 12:27:02 +00:00
ache
7acb984cf8 fix optimize= settings - configpm understand only =' or =" as variables
and treat any other stuff as comments
1999-01-15 04:14:52 +00:00
markm
db09219b24 Fix some more turdage from the original ./configure.
Submitted by: bde
1999-01-14 20:27:26 +00:00
markm
344b6fe4dc Update this area for Texinfo-3.12.
Submitted by:	lkoeller@cc.fh-lippe.de
1999-01-14 20:00:46 +00:00
danny
e1d7101f1e MF22 - allow dates to 2069
Submitted by:	Arjan de Vet <Arjan.deVet@adv.iae.nl>
1999-01-13 06:31:55 +00:00
danny
c4e1dcd27e Allow --newer and friends to handle dates beyond 1999/12/31 1999-01-12 18:43:38 +00:00
peter
19680c7841 When doing a setuid script, the usual #!/usr/bin/perl detects it and execs
/usr/bin/sperl5.00502 to implement it, so that name had better exist..

Reviewed by:	markm (a while ago)
1999-01-12 07:57:01 +00:00
jdp
cdc7b4adbe Switch to using ".So" as the extension for PIC object files rather
than ".so".  The old extension conflicted with well-established
naming conventions for dynamically loadable modules.

The "clean" targets continue to remove ".so" files too, to deal with
old systems.
1999-01-09 21:51:00 +00:00
n_hibma
6031c7805f Ignore return value for strip. Avoids make world going pop
because of

strip maybe_stripped
strip: maybe_stripped: File format not recognized
*** Error code 1

in I/usr/src/gnu/usr.bin/binutils/strip
1999-01-08 10:33:12 +00:00
bde
366b091473 Avoid using ld -O' (as in bsd.lib.mk). ld -O' seems to have caused only
non-problems for elf -- `ld -elf -O foo.tmp -x -r foo' apparently puts
the result in a.out so it has essentially no effect.
1998-12-27 17:25:27 +00:00
bde
09e86f5a35 Removed rotten, unused implicit rules. The ld -O in one might have been
harmful if it were used.
1998-12-27 16:52:55 +00:00
imp
6eeeda7edb Add support for building on MIPS based systems. 1998-12-16 04:59:53 +00:00
jkoshy
7004747055 Add a reference to man(7). 1998-12-03 02:32:20 +00:00
dillon
cc46f8b5a6 Added reference to mdoc(7) and mdoc.samples(7) to the bottom of
man(1).  The man manual page is the obvious first place that people
    who are trying to write manual pages look.
1998-12-01 06:35:06 +00:00
wosch
ae75c547c5 Use mmap for reading files. This is faster than read(). 1998-11-14 23:37:32 +00:00
imp
0e73deedb4 Another instance where we default to elf only on alpha, but should
default to aout only on i386.
1998-10-26 18:27:32 +00:00
markm
7f707911ca Fix paths. This sorts out the remaining p5-* port-creation hassles. 1998-10-17 07:10:43 +00:00
bde
f46bbd6101 Split up rule for ${COMMONHDRS} so that `make -j N' doesn't create the
6 headers up to 6 times concurrently.  Debugged by Don Lewis
(Don.Lewis@tsc.tdk.com).

Fixed some disorder.
1998-10-16 16:53:15 +00:00
markm
999b2a26da Properly install the *.h files in CORE and Config.pm where it wants to be.
This should fix a substantial number of broken p5-* ports.

Tested-on:	x11-toolkits/p5-Tk (Amongst others)
1998-10-15 18:50:04 +00:00
bde
70384b7198 Fixed breakage of gdbreplay's and gdbserver's BINDIR in previous commit.
They may belong in /usr/libexec/{aout,elf}, but objformat doesn't
support that.

Fixed bogus `?=' assignments for BINDIR.
1998-10-15 14:15:09 +00:00
peter
a6292aab94 Install gdb in /usr/lib/aout or /usr/lib/elf depending on format. 1998-10-15 00:15:01 +00:00
markm
649247b935 Damn - dirname(1) is not available this early. Work-around. 1998-10-12 06:00:30 +00:00
markm
425d320cfb Very substantial debug/improvement of the FreeBSD/Perl5 build.
o make install ; make install now works
o make all ; make all is quiet the second time
o Dependancies are properliy debugged; this means that make -jN has a
  far hihjer likelyhood of working.
o a proper 'link farm' has been constructed for the build. This
  dramatically simplifies the dependancy tangle.
o for perldoc's use, all the .pod files are installed.
o the man3 docs are properly compressed.
o the man pages and libary code are installed by the makefiles, not
  by a perl script.
o at the end, h2ph is run.
1998-10-11 18:13:42 +00:00
peter
b90965ea82 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
bde
25cc8a3af3 Fixed searching for section "1aout" man pages. Section numbers must be
single digits or in the section list.
1998-10-10 13:11:39 +00:00
peter
294bb4e7f6 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
jdp
1c1bced85b Don't build the info pages for the old assembler. Instead, build
and install the info pages for the new assembler and linker.
1998-10-03 03:59:47 +00:00
ache
3ce560cca5 space/tab problem 1998-10-02 13:01:59 +00:00
jkh
4efcd761d4 Add documentation for tree functions.
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-10-02 11:24:38 +00:00
jkh
f8449c691c Add documentation for new tree functions.
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-10-02 11:23:47 +00:00
obrien
95a6256d17 Install z*grep manpages 1998-10-02 07:14:32 +00:00
ache
707baf1b08 add /usr/share/perl/man 1998-10-02 01:06:30 +00:00
markm
3d01a589de Allow NOSUIDPERL to DTRT. 1998-09-30 20:24:59 +00:00
jkh
3a49858517 Add missing free()
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-09-30 12:10:16 +00:00
jkh
8c53fd8a5a Add missing free().
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-09-30 12:09:12 +00:00
markm
e510f7ce00 Fix the shared library configuration stuff.
Noticed by: Ollivier Robert
1998-09-29 18:58:16 +00:00
jkh
17bef22a9b Add examples for tree functions.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-29 12:22:46 +00:00
jkh
81bba8eebb Add support for saved trees.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-29 12:22:36 +00:00
jkh
64d785a8b4 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
jkh
3a0ff5c174 Teach this code about the new tree functionality of libdialog.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-28 16:11:22 +00:00
jkh
359969e8fd 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
markm
d223340d6c Repairs to make the ports system work again. Currently, the ports
are installed in the same place as on 2.2.*; this will almost
certainly change in the future.

While I'm here, finish off the shared library brouhaha with miniperl.
1998-09-26 16:17:06 +00:00
jkh
0ab3e82c20 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
markm
b5ab421d3d Part #2 (final) of suidperl repair. 1998-09-24 17:25:26 +00:00
markm
04169caab2 More make cleanups.
1) Part of the NOSHARED fix; I messed this up and managed to get
   perl installed without being linked to the shared library libperl.so.
   This broke Perl in ELF when linking in shared objects.

2) Start of a cleanup of the man3 page location. This will (eventually)
   allow for a the ports to put their pages in the "normal" ${PREFIX}-
   based location.

3) Nuke cruft.
1998-09-23 06:05:28 +00:00
markm
76891ded88 Big cleanup of the perl build.
1) Inspired by JB's finding of a hardcoded /usr/bin/ranlib in the
   config files, these have been properly cleaned up and have
   been personalised for FreeBSD, not MarkM.

2) Inspired by Peter, copying of the lib/ext etc dirs has been
   replaced by a link farm.

3) Common code has been moved to a higher-level Makefile.inc.

This has been tested with a make -j8.
1998-09-22 12:00:59 +00:00
roberto
2210d9e04a Change rst0 into rsa0 in the man page too. Correct the spelling of
POSIXLY_CORRECT while I'm here.

Pointed out by:	Andreas Klemm
1998-09-22 09:55:09 +00:00
roberto
da3e3661ec The default tape device should be /dev/rsa0 for CAM. 1998-09-21 17:20:08 +00:00
jb
14b7d62d0f I danced with the devil and found the needle in the haystack!
Remove the /usr/bin path to ranlib and just let the build environment
set the path. Running an aout version of ranlib on an elf library
is something we'd prefer not to do. I'm surprised that the build
didn't spit any errors when it did this. Shrug.
1998-09-21 08:44:24 +00:00
dfr
d50c9db046 Supply correct type widths etc. for alpha. 1998-09-16 18:57:57 +00:00
markm
8d84a4bd8b Generalise the build a bit more.
1) Fix up the NOSHARED stuff (bde)
2) Accomodate CFLAGS (vanilla)
3) Provide separate files for i386 and alpha (Doug Rabson)

In case 3, the supplied files were corrupted, but the concepts
sound enough, so I just copied what exists into
config.SH-{elf|aout}.{i386|alpha}. Alpha team, go ahead and do what
is necessary on config.SH-elf.alpha. :-)
1998-09-16 17:25:52 +00:00
jdp
426b033aca Fix GDB so that it can handle ELF core dumps. 1998-09-14 22:49:02 +00:00
brian
4884feacae Remove Id keywords from files that are still on the vendor branch
This will make life easier when upgrading.
Suggested by:	bde
1998-09-14 22:11:37 +00:00
markm
a7aa4e264b Add a link perl --> perl5.00502
Asked-for-by: Asami-San (for ports)
1998-09-14 18:34:19 +00:00
brian
8a70c22e66 Add Id keyword 1998-09-13 23:11:13 +00:00
markm
b8cebd3b49 Allow libperl to be a shared library.
This has the delightful side effect of fixing ELF .so objects.

Asked-for-by: peter
1998-09-12 19:16:33 +00:00
markm
d379053cd5 Fix parallel building.
(Tested by make -j12 buildworld on a 4-cpu SMP box).

Address (but not solve) ELF shareable objects causing perl to
dump core. (I have a heck of a lot to learn about ELF).

Lots of help by: bde, jkh, jb and others
1998-09-12 15:45:30 +00:00
imp
3ed93d1d07 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
markm
c0b860dd59 Dorkus sum. I managed to commit an earlier version of this. This fixes the
broken perl build.

* NOTE * * NOTE * * NOTE *

PERL5 RELIES IN A MAKE WORLD FOR THE BOOTSTRAP!!

* NOTE * * NOTE * * NOTE *
1998-09-10 10:51:11 +00:00
markm
158a2e0d02 Remove the NOPERL block to building Perl5.
Perl 5 will rebuild/bootstrap itself next time a make world is done
with this in effect.
1998-09-09 19:30:45 +00:00
imp
30ac0ab2e4 Fix fencepost error in readlink; inspired by OpenBSD 1998-09-09 17:14:17 +00:00
imp
263dc28979 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
kato
4d5502a117 Change i386 in a few paths to ${MACHINE} to support MACHINE=pc98. 1998-09-09 11:22:28 +00:00
cracauer
9ed28a71ad Document why the library is still not being build as shared.
PR:		gnu/7811
1998-09-09 10:21:12 +00:00
markm
fbd3e8a019 Bring in the Perl5 BMake files. This ends the easy stuff.
I'll be doiung the rest in stages.
1998-09-09 07:20:33 +00:00
markm
86eacbc97d Old Perl is leaving us. Goodbye, faithful friend. 1998-09-09 06:49:33 +00:00
markm
fb80469d42 Set NOPERL while I spend the rest of the day bringing in Perl5.
This will doubtless confuse someone, but I'd rather have this than
breakage.
1998-09-09 06:01:11 +00:00
jkoshy
1ac4458de9 Fix typo.
PR:		7809
Submitted by:	Amakawa Shuhei <amakawa@sf.t.u-tokyo.ac.jp>
1998-09-09 03:04:53 +00:00
dfr
0bd9bbece1 Update alpha configuration files and remove i386 target from
libbinutils/config.h - it is declared in the arch Makefile.
1998-09-07 08:18:34 +00:00
jb
fdf6ac2904 Install the legacy man file in section 1aout. 1998-09-07 05:46:09 +00:00
jdp
dcabfbef90 Update for import of binutils-2.9.1.
Submitted by:	Doug Rabson <dfr>
1998-09-06 23:01:53 +00:00
bde
9d304d286e Fixed munging of the SUBDIR list in rev.1.16-1.18. 1998-09-02 14:56:59 +00:00
jb
a412f2d924 MACHINE -> MACHINE_ARCH to allow PC98 to define MACHINE=pc98.
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-08-31 20:48:13 +00:00
dfr
91041d6808 All libs build on alpha now. 1998-08-31 13:47:38 +00:00
dfr
130199b7dc Get definition of va_list from <stdarg.h>. 1998-08-31 13:47:03 +00:00
jb
47725a66f4 Missed some BINFORMATs. Fingers! Can't live with 'em. Can't live without 'em. 1998-08-30 02:46:35 +00:00
jb
d91da70d13 BINFORMAT -> OBJFORMAT ready for E-day. I tossed a coin to decide this
one. We'll probably need to revisit gdb after E-day.
1998-08-30 02:01:07 +00:00
jb
ad07d4a0af BINFORMAT -> OBJFORMAT ready for E-day. 1998-08-30 01:57:55 +00:00
jb
fd4d97f90a Make the build tools static to avoid trying to use the shared loader
before it is installed.

This upsets Bruce because the host boostrap build forces tools to be
static anyway. He says I'm abusing NOTOOLS in src/Makefile by using
it to do a aout->elf transition build. One day I'll find a place to
install host tools like these to allow a true cross build.
1998-08-20 21:45:46 +00:00
jb
7b4f8cf94a 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
jb
082768ed36 Install binutils tools in /usr/libexec/elf like on i386 so that objformat
can be used to select them. The purpose of this is not necessarily to
allow another host format, but to allow us to use the objformat trickery
for cross compilation.
1998-08-18 06:51:08 +00:00
markm
bf8fa236c3 Fix LIBDIR so kerberised CVS will work. 1998-08-15 17:26:36 +00:00
thepish
9791c081c6 PR: 7488
Submitted by:	lhecking@nmrc.ucc.ie
merge from stable
1998-08-05 03:44:46 +00:00
bde
07b57947e1 Fixed printf format warnings for non-errors. This change is null unless
a system header defines a macro __printf0like() using the new printf0
format attribute.  uucp's internal ulog() function isn't actually
printf-like but uucp normally declares it as such.
1998-08-02 14:35:35 +00:00
nectar
607ec35706 fixed: tar will extract file even if -C command fails
tar now exits with new exit code EX_BADDIR after a failed chdir()
in name_next(), name_match(), and name_from_list().
PR:		bin/2394
Submitted by:	Satoshi Asami <asami@freebsd.org>
1998-07-27 18:40:09 +00:00
jkoshy
0d3374deb8 Add Xref to ldd(1).
PR: 7397
1998-07-26 04:16:04 +00:00
phk
f4e69ebf9b During compilation of a Fortran program f2c/f77 will spew the
name of entry points, functions, subroutines, and program to
stderr error.  The enclosed patches do 3 things:

     (1) Silenced the output to stderr.
     (2) Added a -v option to f2c and f77.  This will turn on a verbose
         mode, and dumps quite a bit of stuff to stderr.
     (3) Updated the f2c man page.

PR:		7369
Submitted by:	Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1998-07-24 07:13:57 +00:00
des
23eea447a5 For every directory in ${PATH} that ends with "/bin", look for a
corresponding directory ending in "/man".

PR:		7215
Submitted by:	Wayne Scott <wscott@ichips.intel.com>
1998-07-09 12:39:08 +00:00
jkoshy
dfdd427382 fix description of `-C' option to match behaviour in the sources:
`-C' can be used both when creating and extracting files.  Further,
a `-C' inside the argument list causes a `chdir()' to the named
directory before the subsequent filename arguments to be interpreted.

Eg:- "tar -cf a+b.tar -C /a . -C /b ."

PR: 7221
1998-07-09 04:28:19 +00:00
bde
d13e5dcca8 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
bde
6bc5a652a5 Use the installed versions of cc, cc1 and cpp for building underscore.
They have been bootstrapped by `make world' since long before the
hacks here were cloned from ../libgcc/Makefile.  The versions just
built in "../*" normally won't work if the target system is not binary
compatible.

Don't use OBJS to defeat `make depend'; just put generated sources in
SRCS.

Added temporary files to CLEANFILES.
1998-07-08 00:14:15 +00:00
bde
6916e85f0d Use the installed version of perl for `make install'. It is now
bootstrapped by `make world'.  The version just built in ".."
normally won't work if the target system is not binary compatible.
1998-07-07 23:44:43 +00:00
bde
048affc61f Use the installed version of perl for `make depend'. It is now
bootstrapped by `make world'.  The version just built in ".."
normally won't work if the target system is not binary compatible.
The bootstrapped version has a better chance of working.

This makes the fixes and bugs in the previous 3 commits irrelevant.
Rev.1.11 was just wrong and rev.1.10 became unnecessary when
perl/perl was added to build-tools.  Don't expect to build perl/usub
without using `make world' or equivalent if you don't have perl
installed.
1998-07-07 23:32:39 +00:00
bde
f35aa0ff21 Added a `build-tools' target for internal tools. 1998-07-07 01:51:18 +00:00
bde
40827ec4f3 Fixed printf format errors. 1998-06-30 20:48:45 +00:00
bde
805cd0c09e Fixed printf format errors. 1998-06-30 20:14:13 +00:00