Commit Graph

1573 Commits

Author SHA1 Message Date
Marcel Moolenaar
0917704bd4 ${MACHINE} -> ${MACHINE_ARCH}
All Makefiles now use MACHINE_ARCH for the target architecture.
Unification is required for cross-building.

Tags added to:
	sys/boot/Makefile
	sys/boot/arc/loader/Makefile
	sys/kern/Makefile
	usr.bin/cpp/Makefile
	usr.bin/gcore/Makefile
	usr.bin/truss/Makefile

usr.bin/gcore/Makefile:
	fixed typo: MACHINDE -> MACHINE_ARCH
1999-11-14 13:54:44 +00:00
John Baldwin
8081b10e66 Fix man so that it does not allow command line arguments to expand when
executing apropos or whatis.  This prevents `man -k ';echo foo'` from
executing `echo foo` and causes apropos to print an error message instead.

Add $FreeBSD$ while I am here.

Noticed by:	chris
1999-11-13 00:11:50 +00:00
Marcel Moolenaar
2205071966 Make binutils for Alpha work on i386 machine, by properly defining
whether the host machine has a 64-bit long or not.
1999-11-12 16:53:58 +00:00
John Birrell
d19f65c59d Replace freebsdelf with freebsd in BINDIR
Requested by: obrien
1999-11-07 08:07:02 +00:00
John Birrell
e806769bd7 These have been repo-copied to i386-freebsd. 1999-11-07 06:13:35 +00:00
John Birrell
8e3f8ad334 These have been repo-copied to alpha-freebsd. 1999-11-07 06:11:36 +00:00
John Birrell
4ed1406b4c Replace freebsdelf with freebsd in most places.
Requested by: obrien
1999-11-07 06:01:35 +00:00
John Birrell
da93b590fb After a repo copy of as_{alpha,i386,mips} to {alpha,i386,mips}-freebsd,
tidy up the logic that works out which sub-directories to build.

The new directories with freebsdelf suffixes now have freebsd suffixes
after a repo move by Peter at the request of David O'Brien.
1999-11-07 05:59:25 +00:00
John Birrell
bf5c062675 Replace freebsdelf with freebsd in BINDIR.
[ alpha-freebsd, i386-freebsd and mips-freebsd were repo-copied
  by Peter (one of the repo-men) ]

Requested by: obrien
1999-11-07 05:56:04 +00:00
John Birrell
4fecd2e259 Add support for additional architectures. 1999-11-06 22:52:33 +00:00
John Birrell
86f001b84c Use the simplified genscripts.sh and set the cross-compiled library
directory to /usr/cross/${MACHINE_ARCH}-freebsdelf/usr/lib so that
the cross tools behave the same way that the host versions do. When
building cross tools, Cygnus doesn't set the default library directory.
This doesn't suit FreeBSD IMHO.

Add WinNT emulation support too. You only get this if you've set
BINUTILSDISTDIR because the contrib/binutils repository doesn't
contain the required sources.
1999-11-06 22:46:45 +00:00
John Birrell
08d64a6b65 Use the simplified genscripts.sh and set the cross-compiled library
directory to /usr/cross/${MACHINE_ARCH}-freebsdelf/usr/lib so that
the cross tools behave the same way that the host versions do. When
building cross tools, Cygnus doesn't set the default library directory.
This doesn't suit FreeBSD IMHO.
1999-11-06 22:44:32 +00:00
John Birrell
6eb9b41026 This is a simplified version of the binutils script which better suits
the (few) things that the FreeBSD makefiles need to specify.
1999-11-06 22:40:15 +00:00
John Birrell
a719bd2fd1 Add a BINUTILSDISTDIR hook here too. 1999-11-06 22:36:40 +00:00
John Birrell
6fc579d56c This one might be a bit controversial. 8-)
gas for i386 targeted to NT for those (like me) who have to do work
targeted to NT, but can't stand actually looking at it all day long.
I cross build apps on FreeBSD and just run them on NT later. Life is
better that way.
1999-11-06 22:26:43 +00:00
John Birrell
7426ce67f6 gas for m68k targeted to NetBSD's a.out format. Useful for porting or
even just building applications targeted to NetBSD.

I know this will upset some people (outside FreeBSD).
1999-11-06 22:21:57 +00:00
John Birrell
e9cf6a0347 gas for powerpc targeted to FreeBSD. 1999-11-06 22:16:59 +00:00
John Birrell
4e51edb129 gas for m68k targeted to FreeBSD. 1999-11-06 22:14:26 +00:00
John Birrell
9daea63040 gas for sparc targeted to FreeBSD as ELF32 for a start (suject to change). 1999-11-06 22:12:24 +00:00
John Birrell
1009ce833e Don't change the name when building a cross-tool. Just set the BINDIR
to /usr/libexec/cross/${MACHINE_ARCH}-freebsdelf.
1999-11-06 21:59:29 +00:00
John Birrell
e60947e1ad Add the BINUTILSDISTDIR hook here too. 1999-11-06 21:55:33 +00:00
John Birrell
19bf8ac856 Change CROSS_TARGETS to CROSS_FORMATS because that makes more sense.
Check if already cross-compiling and only build the cross-tools if
not cross-compiling (to save time).
1999-11-06 21:54:21 +00:00
John Birrell
53149093a0 Add support for additional architectures. 1999-11-06 21:38:41 +00:00
John Birrell
015520102a Add support for additional architectures. 1999-11-06 21:28:22 +00:00
John Birrell
fe8e7c2346 Change CROSS_TOOLS to CROSS_ARCH because that makes more sense.
Allow for the case where the host architecture might also be listed
in CROSS_ARCH, so don't do things twice. This situation can arise if you
want NT support in binutils (CROSS_ARCH=i386 CROSS_FORMAT=winnt).
1999-11-06 21:13:47 +00:00
John Birrell
2e734fae4e Teach binutils how to understand NT format objects and libs. This is useful
for those who want to objdump --disassemble things that they're not
supposed to. 8-)
1999-11-06 21:09:40 +00:00
John Birrell
3ba3ae906a Add a BINUTILSDISTDIR hook to provide a path to a full binutils release
outside the contrib files that FreeBSD distributes. This for use by
those who want to work on porting FreeBSD to additional architectures.
1999-11-06 21:04:46 +00:00
John Birrell
08630cfd05 Add binutils support for additional architectures. 1999-11-06 21:02:48 +00:00
David E. O'Brien
b7969a0a9b Our capibilities updated for GCC 2.95.2. 1999-11-06 05:57:53 +00:00
David E. O'Brien
da488b7086 Minor cosmetic changes in an attempt to improve consistancy. 1999-11-04 04:46:04 +00:00
Andrey A. Chernov
b78133c1d9 Describe localized directories naming convention
Submitted by:	mostly by phantom
1999-10-30 22:15:19 +00:00
Andrey A. Chernov
fb17926b0c Localize it
Submitted by:	phantom
1999-10-30 21:18:52 +00:00
David E. O'Brien
96ace1a290 `make' will fail if hash.h exists for some reason and gxx-hash needs to be
rebuilt.  Fix this.

Submitted by:	bde
1999-10-30 08:08:29 +00:00
Ruslan Ermilov
be59282c27 Upgrade grep to version 2.3 1999-10-28 10:34:55 +00:00
Thomas Gellekum
23300421c7 Bring back texindex from the dead. Some ports use it to format their docs. 1999-10-25 10:35:39 +00:00
Mike Pritchard
aac3d24d7c Correctly document the -V and --version options.
PR:		docs/14417
Submitted by:	Greg Lewis <glewis@trc.adelaide.edu.au>
1999-10-21 11:30:10 +00:00
Ruslan Ermilov
a4e449c8a3 Cast tp[-2] to unsigned char before comparing.
PR:		14011
Ignored by:	maintainer
Obtained from:	GNU grep 2.3
1999-10-13 12:06:35 +00:00
David E. O'Brien
831ac5c655 Add a comment explaing the linking and segrated the old and new cases a little. 1999-10-12 20:27:53 +00:00
David E. O'Brien
047419e54f Change the name of the file generaged from gxx.gperf from "hash.h" to
"gxx-hash.h" with hopes of getting Cygnus to do the same.  We create a link
to the old name for now.
1999-10-12 20:25:11 +00:00
David E. O'Brien
d0248b64a3 Move -I of cc_tool/ before the GCCDIR ones.
When I imported EGCS into contrib/egcs/ I failed to prune out
egcs/gcc/cp/hash.h which is generated from gxx.gperf.  Thus `cc1plus' wasn't
using the hash.h we generated by cc/cc_tools/Makefile, but rather the one in
egcs/gcc/cp/.

When I imported contrib/gcc/ I did prune gcc/cp/hash.h.  Unfortunately the
GCC maintainers weren't smart on their file nameing and there is also a
egcs/gcc/hash.h (name overloading does NOT work as well on the filesystem
as in C++...).  Due to the -I ordering we are were then picking up gcc/hash.h
when compiling `cc1plus'.
1999-10-12 20:22:38 +00:00
Mark Murray
535989d7d0 Rename a macro; it gets set at "make world" time, and I had a local
mod that masked this. D'uh.
1999-09-25 06:59:10 +00:00
Mark Murray
948f185ef5 Fix problem where a macro is not properly initialised in the !THREAD
case. Simple reodering does it.

Thanks to:	sos
1999-09-24 19:39:34 +00:00
Mark Murray
3ea5059f1e Low-level, but significant cleanup of Perl's build process.
This should significantly ease "make; make install" loops.
1999-09-24 15:32:11 +00:00
Alexey Zelkin
b3b888492a mdoc(7)'fy
Empty sections commented.
1999-09-23 13:42:19 +00:00
Andrey A. Chernov
dd14a64ec2 install hyphen.us-ru from GROFF_DIST/tmac/locale
repository move GROFF_DIST/troff/hyphen.us-ru to GROFF_DIST/tmac/locale
required
1999-09-21 20:51:36 +00:00
Alexey Zelkin
c6d6e7726f Correct spelling : ascii -> ASCII
PR:		docs/13702
Submitted by:	Stephen J. Roznowski <sjr@home.com>
Reviewed by:	mpp
1999-09-20 09:15:23 +00:00
Mark Murray
38efe8d18c Change distribution to krb4 in preparation for K5. 1999-09-19 22:32:09 +00:00
Andrey A. Chernov
1b45e33270 fix LOCALEDIR 1999-09-15 18:55:17 +00:00
Peter Wemm
77dec3a0c7 Add a hook for disabling cvs and collect a few similar options together.
(We do this on freefall as we use a tweaked /usr/bin/cvs wrapper)
1999-09-15 03:52:17 +00:00
Andrey A. Chernov
3e6ef2e23d install localized files 1999-09-11 19:56:05 +00:00
Andrey A. Chernov
6801fbaaa3 install hyphen.us-ru under locale subdir 1999-09-11 19:27:35 +00:00
Andrey A. Chernov
ef5920ee6c localize it
Submitted by: Alexey Zelkin <phantom@crimea.edu>
1999-09-11 18:30:23 +00:00
Andrey A. Chernov
198f193685 localize it
Submitted by: Alexey Zelkin <phantom@crimea.edu>
1999-09-11 18:21:16 +00:00
Peter Wemm
d63cfe5faf $Revision$ -> $FreeBSD$ 1999-09-06 07:33:51 +00:00
Alexey Zelkin
cb0ec4da2e Fix problem with manpages which contain ``-'' (dash) symbol in
Name Description (.Nm) field.

PR:		bin/13456
Reviewed by:	mpp, jkh
1999-09-06 05:38:47 +00:00
Peter Wemm
14e6d6ffe3 $Source$,$Revision$ -> $FreeBSD$ 1999-09-05 17:35:31 +00:00
Peter Wemm
072ca4aea0 Clean up some $Log$ debris, including some real messes. 1999-09-05 17:31:55 +00:00
Mark Murray
63b51f8be4 Fix for new Common Error system. 1999-09-05 14:07:40 +00:00
Mark Murray
15a7acf286 Oops. Forgot to cvs add these for threads support. 1999-09-04 19:17:13 +00:00
Mark Murray
3c044221da Allow perl to be built with thread support.
Submitted by:	Doug Ambrisko <ambrisko@whistle.com>
1999-09-04 10:02:04 +00:00
Chris Costello
d4f6f2f108 Remove superfluous tab in `Fix:' field.
Cosmetic, and done mostly for consistency.
1999-09-02 12:00:49 +00:00
Peter Wemm
a1a4f1a0d8 $Header$ -> $FreeBSD$ 1999-08-28 05:11:36 +00:00
Peter Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Ruslan Ermilov
43faa6dff6 Don't install /etc/manpath.config.sample. 1999-08-27 08:43:58 +00:00
Ruslan Ermilov
7a4acb8075 Remove unused MANBIN directive. 1999-08-20 10:44:51 +00:00
David E. O'Brien
db70bcf5b0 A "=" should have been "+=".
Submitted by:	Mikhail Teterin <mi@aldan.algebra.com>
1999-08-20 08:53:23 +00:00
Peter Wemm
d3c6699913 Make gcc work on the Alpha again. alpha/alpha.h is used instead of svr4.h 1999-08-19 21:19:36 +00:00
Ruslan Ermilov
80e770cf63 - Add an OPTIONAL_MANPATH directive (same as MANDATORY_MANPATH,
except an absence of the directory is not considered an error
  and doesn't produce a warning).
  Put /usr/local/lib/perl5/*/man under OPTIONAL_MANPATH.

- An order of directives in manpath.config is now irrelevant.

- Get rid of infinite loop when PATH is unset or NULL, and
  MANDATORY_MANPATH directory doesn't exist.

- mdoc(9)ify manpage.

Reviewed by:	des, markm, sheldonh
1999-08-16 11:34:57 +00:00
David E. O'Brien
5e796f18b4 Rev 1.36 also includes functional chagnes I intended to commit seperately.
Configuration header inclusion has been moved around to reduce diffs from
the offical GCC distribution.  We now generate the same ``tm.h'' produced by
gcc's `configure' script [minus all the "#ifdef IN_GCC"'s].

Jeff Law of EGCS/Cygus says the new "approved" way of doing configure-related
includes is to list them all in ``tm.h'' rather than having the architure
config headers include large numbers of other configure headers.
1999-08-16 09:55:16 +00:00
David E. O'Brien
b08a091980 Purely cosmetic cleanups.
- Id tag layout wrong.
 - "FOO =" -> "FOO=".
 - 4 space indention on continuation lines rather than a <tab>

Basic idea checked by:	bde
1999-08-16 04:10:48 +00:00
David E. O'Brien
b14868f6b3 Reduce the number of -I's. I have no idea why I thought I needed extra ones.
Submitted by:	bde
1999-08-15 22:36:41 +00:00
David E. O'Brien
c86942dc66 Move "LIBGCC_SPEC" to freebsd-native.h as it is not approapiate for
submitting to the GCC mainainers for folding into the stock GCC.
1999-08-15 21:59:46 +00:00
Mike Pritchard
2ce66fb320 Various man page cleanup:
- Sort xrefs
- Be consistent with section names as outlined in mdoc(7).
- Other misc mdoc cleanup.

PR:		doc/13144
Submitted by:	Alexey M. Zelkin <phantom@cris.net>
1999-08-15 09:06:06 +00:00
David E. O'Brien
0931d97ff3 Use Bison with "--broken-undeftoken-init". 1999-08-14 22:44:36 +00:00
David E. O'Brien
440976accd 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
David E. O'Brien
880f7ea13b 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
David E. O'Brien
08937b5aac Fixes for Bison 1.25->1.28 upgrade. 1999-08-14 22:30:36 +00:00
Ruslan Ermilov
994b5741d9 Unbroke zforce.
PR:		8348
Submitted by:	Christoph Weber-Fahr <wefa@callcenter.systemhaus.net>
1999-08-11 10:34:57 +00:00
Bruce Evans
2336ecd56f 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
Bruce Evans
d04f1c6acc Forgotten in previous log message:
PR:		misc/12920
1999-08-08 07:31:47 +00:00
Bruce Evans
bb9ac9f631 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
David E. O'Brien
b7ade9cbfd Use Byacc rather than Bison. 1999-08-02 10:02:07 +00:00
David E. O'Brien
6e7b8c218d Clarify that "-w" ignores horizontal white space changes. 1999-08-01 16:07:09 +00:00
David E. O'Brien
c4dfebb2a6 Only use Bison to generate cc1plus's parse code. 1999-08-01 15:44:51 +00:00
Tim Vanderhoek
de50b4a3b8 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
Andrey A. Chernov
dd15a36091 Tune table since 0200-0206 is not available, add more chars 1999-07-31 15:51:57 +00:00
Andrey A. Chernov
9bb5be80ec Add more koi8-r chars 1999-07-31 13:17:47 +00:00
Andrey A. Chernov
96f0e50b5e install msafer.7 1999-07-31 12:20:29 +00:00
Nik Clayton
13bc97efa9 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
Warner Losh
d8bbd3e143 Add -S to nroff and troff invocations of man. 1999-07-30 19:35:56 +00:00
Mike Pritchard
430256ad16 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
Sheldon Hearn
ae996dee37 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
David E. O'Brien
33f62e7951 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
David E. O'Brien
62562698d8 Use Yacc rather than Bison. 1999-07-28 07:22:08 +00:00
David E. O'Brien
316dc6cb31 The Unix way is arguments come before an input file name, not after. 1999-07-28 07:19:38 +00:00
Mark Murray
210f9eb552 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
Tim Vanderhoek
e20ff07727 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
Bruce Evans
adbaeacdd6 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
Bruce Evans
636c549064 Don't override the (correct) default for BINDIR. 1999-07-04 15:51:39 +00:00
Andrew Gallatin
4331c85a32 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