Commit Graph

2124 Commits

Author SHA1 Message Date
jb
d5d7a3b29c 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
jb
47de024332 Add support for additional architectures. 1999-11-06 22:52:33 +00:00
jb
ad17b38961 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
jb
784c945815 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
jb
bf7fc4d842 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
jb
2ae5556e27 Add a BINUTILSDISTDIR hook here too. 1999-11-06 22:36:40 +00:00
jb
bd1e6db4e7 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
jb
7d3a83b936 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
jb
de35b9abf7 gas for powerpc targeted to FreeBSD. 1999-11-06 22:16:59 +00:00
jb
e065470a0d gas for m68k targeted to FreeBSD. 1999-11-06 22:14:26 +00:00
jb
35e9d19767 gas for sparc targeted to FreeBSD as ELF32 for a start (suject to change). 1999-11-06 22:12:24 +00:00
jb
c6ea37bf95 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
jb
d0eb5a23f2 Add the BINUTILSDISTDIR hook here too. 1999-11-06 21:55:33 +00:00
jb
6ef586b36c 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
jb
567669e847 Add support for additional architectures. 1999-11-06 21:38:41 +00:00
jb
3ea8335f12 Add support for additional architectures. 1999-11-06 21:28:22 +00:00
jb
b73e56d56a 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
jb
6d7f1bfd31 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
jb
9f8593a4cf 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
jb
fe646c069e Add binutils support for additional architectures. 1999-11-06 21:02:48 +00:00
obrien
bd5c615232 Our capibilities updated for GCC 2.95.2. 1999-11-06 05:57:53 +00:00
obrien
1008eae957 Minor cosmetic changes in an attempt to improve consistancy. 1999-11-04 04:46:04 +00:00
ache
b37892bf5f Describe localized directories naming convention
Submitted by:	mostly by phantom
1999-10-30 22:15:19 +00:00
ache
531da6be11 Localize it
Submitted by:	phantom
1999-10-30 21:18:52 +00:00
obrien
3f22c9f6fb `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
ru
274b690c0a Upgrade grep to version 2.3 1999-10-28 10:34:55 +00:00
tg
5a5660b1f6 Bring back texindex from the dead. Some ports use it to format their docs. 1999-10-25 10:35:39 +00:00
mpp
d57c72b233 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
ru
0d2cdee9ed 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
obrien
49ec3ca559 Add a comment explaing the linking and segrated the old and new cases a little. 1999-10-12 20:27:53 +00:00
obrien
a1948b9ac9 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
obrien
40f8a4d133 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
bde
b786ec9680 Fixed the hack for using "../libgcc/Makefile" in libgcc_r/Makefile.
${LIB} was wrong at dependency-parsing time, so dependencies for
libgcc_r*.a were wrong.  This somehow worked right, except libgcc_r*.a
were always out of date.
1999-10-03 02:43:20 +00:00
marcel
594e4a63a8 sigset_t change (part 5 of 5)
-----------------------------

Most of the userland changes are in libc. For both the alpha
and the i386 setjmp has been changed to accomodate for the
new sigset_t. Internally, libc is mostly rewritten to use the
new syscalls. The exception is in compat-43/sigcompat.c

The POSIX thread library has also been rewritten to use the
new sigset_t. Except, that it currently only handles NSIG
signals instead of the maximum _SIG_MAXSIG. This should not
be a problem because current applications don't use any
signals higher than NSIG.

There are version bumps for the following libraries:
  libdialog
  libreadline
  libc
  libc_r
  libedit
  libftpio
  libss

These libraries either a) have one of the modified structures
visible in the interface, or b) use sigset_t internally and
may cause breakage if new binaries are used against libraries
that don't have the sigset_t change. This not an immediate
issue, but will be as soon as applications start using the
new range to its fullest.

NOTE: libncurses already had an version bump and has not been
      given one now.

NOTE: doscmd is a real casualty and has been disconnected for
      the moment. Reconnection will eventually happen after
      doscmd has been fixed. I'm aware that being the last one
      to touch it, I'm automaticly promoted to being maintainer.
      According to good taste this means that I will receive a
      badge which either will be glued or mechanically stapled,
      drilled or otherwise violently forced onto me :-)

NOTE: pcvt/vttest cannot be compiled with -traditional. The
      change cause sys/types to be included along the way which
      contains the const and volatile modifiers. I don't consider
      this a solution, but more a workaround.
1999-09-29 15:18:46 +00:00
markm
e4f0cee5de 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
markm
0c24afc323 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
markm
f0dc07c27d 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
phantom
363322d22b mdoc(7)'fy
Empty sections commented.
1999-09-23 13:42:19 +00:00
ache
eba48a22cc 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
phantom
34985ba96d 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
markm
0db4844a89 Change distribution to krb4 in preparation for K5. 1999-09-19 22:32:09 +00:00
ache
a9e3ac28b2 fix LOCALEDIR 1999-09-15 18:55:17 +00:00
peter
d8cb4fd6a8 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
ache
ff9a1fc8b0 install localized files 1999-09-11 19:56:05 +00:00
ache
08062e46b5 install hyphen.us-ru under locale subdir 1999-09-11 19:27:35 +00:00
ache
965bab7538 localize it
Submitted by: Alexey Zelkin <phantom@crimea.edu>
1999-09-11 18:30:23 +00:00
ache
f4c8583ed2 localize it
Submitted by: Alexey Zelkin <phantom@crimea.edu>
1999-09-11 18:21:16 +00:00
peter
683cb74ccb $Revision$ -> $FreeBSD$ 1999-09-06 07:33:51 +00:00
phantom
efb458847a 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
77a0970c71 $Source$,$Revision$ -> $FreeBSD$ 1999-09-05 17:35:31 +00:00
peter
f5ff1ff314 Clean up some $Log$ debris, including some real messes. 1999-09-05 17:31:55 +00:00
markm
75a365430a Fix for new Common Error system. 1999-09-05 14:07:40 +00:00
markm
c877ec0e13 Oops. Forgot to cvs add these for threads support. 1999-09-04 19:17:13 +00:00
markm
1e56791ff2 Allow perl to be built with thread support.
Submitted by:	Doug Ambrisko <ambrisko@whistle.com>
1999-09-04 10:02:04 +00:00
chris
30be7ad091 Remove superfluous tab in `Fix:' field.
Cosmetic, and done mostly for consistency.
1999-09-02 12:00:49 +00:00
peter
fe87f1990b #include <termios.h> 1999-08-30 08:10:42 +00:00
peter
51ddb038ec $Header$ -> $FreeBSD$ 1999-08-28 05:11:36 +00:00
peter
8bffa4e794 gcc 2.6 is kinda obsolete now. 1999-08-27 23:47:15 +00:00
peter
cdad5bae8c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
ru
3b551341b5 Don't install /etc/manpath.config.sample. 1999-08-27 08:43:58 +00:00
obrien
1901b70aea Try to get /usr/include/readline back into the snapshots.
Submitted by:	bde
1999-08-25 03:40:55 +00:00
obrien
d44f0746be MFS: Revert shared lib major version number back to 3. 1999-08-21 07:10:11 +00:00
ru
f4dcf8f141 Remove unused MANBIN directive. 1999-08-20 10:44:51 +00:00
obrien
07e499f9b2 A "=" should have been "+=".
Submitted by:	Mikhail Teterin <mi@aldan.algebra.com>
1999-08-20 08:53:23 +00:00
peter
b7ee24da23 Make gcc work on the Alpha again. alpha/alpha.h is used instead of svr4.h 1999-08-19 21:19:36 +00:00
ru
a67498bc19 - 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
obrien
193491d8f0 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
obrien
78f854049e {EGCSDIR}->{SRCDIR} + associated tweaks.
This is in prepreparation of the gcc-2.95 upgrade.

Also seems I was -I'ing several GCC directories I did not need to.
1999-08-16 05:00:59 +00:00
obrien
b7dd9ddd4f {EGCSDIR}->{SRCDIR} + associated tweaks.
This is in prepreparation of the gcc-2.95 upgrade.
1999-08-16 04:58:10 +00:00
obrien
c072088e2f Purely cosmetic changes -- fix Id's 1999-08-16 04:27:28 +00:00
obrien
c33ed1ca31 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
obrien
29b66c01f9 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
obrien
d7f960fee9 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
mpp
a9163c2d6c 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
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