Commit Graph

2261 Commits

Author SHA1 Message Date
jb
6321dca496 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
59dcf5a046 Add support for additional architectures. 1999-11-06 21:38:41 +00:00
jb
def8da7129 Add support for additional architectures. 1999-11-06 21:28:22 +00:00
jb
b1941ed9e5 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
86e5daf08b 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
d6ff5f1a9a 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
b6a400c781 Add binutils support for additional architectures. 1999-11-06 21:02:48 +00:00
obrien
7620194553 Our capibilities updated for GCC 2.95.2. 1999-11-06 05:57:53 +00:00
obrien
7e7f6fec00 Minor cosmetic changes in an attempt to improve consistancy. 1999-11-04 04:46:04 +00:00
ache
9d735305e6 Describe localized directories naming convention
Submitted by:	mostly by phantom
1999-10-30 22:15:19 +00:00
ache
a2d0bee110 Localize it
Submitted by:	phantom
1999-10-30 21:18:52 +00:00
obrien
972baf2ed0 `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
0b4f15f37a Upgrade grep to version 2.3 1999-10-28 10:34:55 +00:00
tg
d5152f15d2 Bring back texindex from the dead. Some ports use it to format their docs. 1999-10-25 10:35:39 +00:00
mpp
ca47257e31 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
29127d3b8e 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
3d4895684d Add a comment explaing the linking and segrated the old and new cases a little. 1999-10-12 20:27:53 +00:00
obrien
bf70525792 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
1dc4a82010 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
3ce2709100 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
5bf7ce284b 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
096f256383 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
05af469f85 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
20f9db93a6 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
e78be029b7 mdoc(7)'fy
Empty sections commented.
1999-09-23 13:42:19 +00:00
ache
0104ffca0e 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
353c1a6746 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
17bce01dd1 Change distribution to krb4 in preparation for K5. 1999-09-19 22:32:09 +00:00
ache
92276bfd6c fix LOCALEDIR 1999-09-15 18:55:17 +00:00
peter
e2c605abd0 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
f237fc6e74 install localized files 1999-09-11 19:56:05 +00:00
ache
635e0faa0b install hyphen.us-ru under locale subdir 1999-09-11 19:27:35 +00:00
ache
114bca6fd9 localize it
Submitted by: Alexey Zelkin <phantom@crimea.edu>
1999-09-11 18:30:23 +00:00
ache
e9f7dec9e5 localize it
Submitted by: Alexey Zelkin <phantom@crimea.edu>
1999-09-11 18:21:16 +00:00
peter
f7fdcd93d4 $Revision$ -> $FreeBSD$ 1999-09-06 07:33:51 +00:00
phantom
fc46bb8275 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
d8c5650755 $Source$,$Revision$ -> $FreeBSD$ 1999-09-05 17:35:31 +00:00
peter
605340bddb Clean up some $Log$ debris, including some real messes. 1999-09-05 17:31:55 +00:00
markm
f376ecbba1 Fix for new Common Error system. 1999-09-05 14:07:40 +00:00
markm
7b71ff3e66 Oops. Forgot to cvs add these for threads support. 1999-09-04 19:17:13 +00:00
markm
f863534104 Allow perl to be built with thread support.
Submitted by:	Doug Ambrisko <ambrisko@whistle.com>
1999-09-04 10:02:04 +00:00
chris
88c5a87f09 Remove superfluous tab in `Fix:' field.
Cosmetic, and done mostly for consistency.
1999-09-02 12:00:49 +00:00
peter
d1578b946c #include <termios.h> 1999-08-30 08:10:42 +00:00
peter
c81dbb3c98 $Header$ -> $FreeBSD$ 1999-08-28 05:11:36 +00:00
peter
c148814ac6 gcc 2.6 is kinda obsolete now. 1999-08-27 23:47:15 +00:00
peter
289c0d262f $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
ru
5fed2c0cfa Don't install /etc/manpath.config.sample. 1999-08-27 08:43:58 +00:00
obrien
f6333bd1a1 Try to get /usr/include/readline back into the snapshots.
Submitted by:	bde
1999-08-25 03:40:55 +00:00
obrien
e71ab7f5d2 MFS: Revert shared lib major version number back to 3. 1999-08-21 07:10:11 +00:00
ru
9deab5cc47 Remove unused MANBIN directive. 1999-08-20 10:44:51 +00:00
obrien
5ed155cd62 A "=" should have been "+=".
Submitted by:	Mikhail Teterin <mi@aldan.algebra.com>
1999-08-20 08:53:23 +00:00
peter
0b6fbc2a5b 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
9d22c29093 - 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
07419aec71 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
4deb739865 {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
7981feaa10 {EGCSDIR}->{SRCDIR} + associated tweaks.
This is in prepreparation of the gcc-2.95 upgrade.
1999-08-16 04:58:10 +00:00
obrien
242733a2af Purely cosmetic changes -- fix Id's 1999-08-16 04:27:28 +00:00
obrien
b3af8b5f4b 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
8bafaafa91 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
e873ea78b5 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
aae3aaba82 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
8470008abd Use Bison with "--broken-undeftoken-init". 1999-08-14 22:44:36 +00:00
obrien
033405c257 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
d3366f3614 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
9ab63a4a40 Fixes for Bison 1.25->1.28 upgrade. 1999-08-14 22:30:36 +00:00
ru
51e8eceb2d Unbroke zforce.
PR:		8348
Submitted by:	Christoph Weber-Fahr <wefa@callcenter.systemhaus.net>
1999-08-11 10:34:57 +00:00
bde
d3695c1d03 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
f0457b9b57 Forgotten in previous log message:
PR:		misc/12920
1999-08-08 07:31:47 +00:00
bde
a4f669aaaf 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
110c68efc7 Use Byacc rather than Bison. 1999-08-02 10:02:07 +00:00
obrien
7263583ccb Clarify that "-w" ignores horizontal white space changes. 1999-08-01 16:07:09 +00:00
obrien
3766f18249 Only use Bison to generate cc1plus's parse code. 1999-08-01 15:44:51 +00:00
hoek
814ee99b50 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
2e30179cc4 Tune table since 0200-0206 is not available, add more chars 1999-07-31 15:51:57 +00:00
ache
deba43bd2e Add more koi8-r chars 1999-07-31 13:17:47 +00:00
ache
5b271012aa install msafer.7 1999-07-31 12:20:29 +00:00
nik
5ccc55dc34 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
348bbbeb37 Add -S to nroff and troff invocations of man. 1999-07-30 19:35:56 +00:00
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
obrien
26216b12ae osfcn.h (part of libg++) is going away, so don't try to include it. 1999-04-05 05:08:20 +00:00
obrien
f166d8accb _G_config.h is now dynamically created. 1999-04-05 01:16:03 +00:00
obrien
9c9c4fe46a Conditionalize one more i386'ism. 1999-04-04 20:47:33 +00:00
obrien
c0d9655488 Attempt to creating the right ``tm.h'' file for the Alpha. 1999-04-04 20:41:50 +00:00
obrien
1a7add86bb Attempt at creating the right ``tm.h'' file for the Alpha. 1999-04-04 20:40:45 +00:00
imp
e346b32961 Remove mkstemp.c from build. This is now in libc.
Tested by: make buildworld
1999-04-04 20:29:43 +00:00
obrien
dd605303bb didn't get latest version:
Don't conditionalize -I${.CURDIR}/../cc_tools
1999-04-04 17:11:00 +00:00
obrien
ef35474d0b This is old C++ code -- no need for rtti or exceptions. 1999-04-04 16:44:33 +00:00
obrien
582be693c1 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
ec6e9e9eda 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
63cec2dc39 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
1b04986c84 echo -> ${ECHO}. 1999-04-03 07:04:53 +00:00
obrien
3ab362d927 `make world' works fine -- no reason to revert the move to gnu/lib/ 1999-04-02 17:35:14 +00:00
steve
d76ed5205a 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
87a3771235 Add bits we were getting from gnu/usr.bin/cc/Makefile.inc. 1999-03-31 06:40:40 +00:00
obrien
c901bebef2 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
917c0ee769 Document -y/--bzip2/--bunzip2 flag. 1999-03-29 11:25:45 +00:00
steve
5a6b8d466c 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
2d87eb9712 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
fec5512e0c Update bmake glue for cvs-1.10 1999-03-18 09:37:57 +00:00
obrien
4be2884249 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
4910372f0c 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
402c0ea9be 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
4697c1d0cc 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
10973fdbbf 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
c9385fa2e5 use minimum length for strcoll too 1999-02-14 09:44:56 +00:00
ache
d6fcbb03bc remove collating optimization - not work with substituted characters 1999-02-13 15:45:30 +00:00
ache
4124fd16f0 use strcoll() where it is easy to sort german ss and similar properly 1999-02-13 13:05:04 +00:00
wosch
bd5d8f3547 $Id$ misspelled as $Id
Submitted by: bde
1999-02-11 17:09:27 +00:00
wosch
09f406ace9 Added myself as maintainer. 1999-02-09 17:23:03 +00:00
obrien
63e9231cca Fix white-space spamming. 1999-02-08 01:32:04 +00:00
markm
1ec675bbfe Add perl5 userland (actually localland) to MANPATH list. 1999-02-04 11:43:10 +00:00
rnordier
297d15938f 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
8421f831f8 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
53e99dd22f 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
8c857c9d16 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
a8b74b8641 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
72339915e0 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
8dee629e98 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
7f30565a7a Fix some more turdage from the original ./configure.
Submitted by: bde
1999-01-14 20:27:26 +00:00
markm
19c8038692 Update this area for Texinfo-3.12.
Submitted by:	lkoeller@cc.fh-lippe.de
1999-01-14 20:00:46 +00:00
danny
7570a5c9f7 MF22 - allow dates to 2069
Submitted by:	Arjan de Vet <Arjan.deVet@adv.iae.nl>
1999-01-13 06:31:55 +00:00
danny
a602dc10e4 Allow --newer and friends to handle dates beyond 1999/12/31 1999-01-12 18:43:38 +00:00
peter
72fe4b3241 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
ffcc901f03 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
1331b59885 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
edceb2d6b3 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
58ce405aac 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
e8eb0a612e Add support for building on MIPS based systems. 1998-12-16 04:59:53 +00:00
jkoshy
64959e9518 Add a reference to man(7). 1998-12-03 02:32:20 +00:00
dillon
a6ae27dbc4 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
d465d69601 Use mmap for reading files. This is faster than read(). 1998-11-14 23:37:32 +00:00
imp
de27adfbe9 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
1ff00a2ea3 Fix paths. This sorts out the remaining p5-* port-creation hassles. 1998-10-17 07:10:43 +00:00
bde
4bdfdd372a 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
45d6171cea 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
34ec08b0e2 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
3ed74bd188 Install gdb in /usr/lib/aout or /usr/lib/elf depending on format. 1998-10-15 00:15:01 +00:00
markm
1a4682eadb Damn - dirname(1) is not available this early. Work-around. 1998-10-12 06:00:30 +00:00
markm
c911fd70c5 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
9f6be4544f 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
e437eb9b9d 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
518d6b5e04 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
462ff1335f 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
a9d48ca059 space/tab problem 1998-10-02 13:01:59 +00:00
jkh
d930f627e8 Add documentation for tree functions.
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-10-02 11:24:38 +00:00
jkh
cc238ccf3e Add documentation for new tree functions.
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-10-02 11:23:47 +00:00
obrien
5a6b93580f Install z*grep manpages 1998-10-02 07:14:32 +00:00
ache
075825e3cb add /usr/share/perl/man 1998-10-02 01:06:30 +00:00
markm
e9048d87aa Allow NOSUIDPERL to DTRT. 1998-09-30 20:24:59 +00:00
jkh
529bc17dcb Add missing free()
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-09-30 12:10:16 +00:00
jkh
8519f5f0a0 Add missing free().
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-09-30 12:09:12 +00:00