Commit Graph

3113 Commits

Author SHA1 Message Date
kris
2fdf0ba50e Disallow libdialog to be used in setugid applications; it is chock full
of buffer overflows.

MFC after:      3 days
2002-10-12 20:32:03 +00:00
mp
a03dd822b1 Fix function parameter lists to be correct and eliminate compiler warnings. 2002-10-12 18:08:44 +00:00
obrien
1411aacb26 Update for 2.13 10-Oct-2002 import. 2002-10-12 04:38:20 +00:00
obrien
99a0609081 Update for 2.13 10-Oct-2002 import. 2002-10-12 04:24:35 +00:00
obrien
c8a413b441 Shut up GCC, don't shadow Version 6 standard functions. 2002-10-12 04:06:13 +00:00
obrien
21dc3119fa Talk about punting and not going to any trouble to DTRT:
contrib/binutils/include/getopt.h
	/* Many other libraries have conflicting prototypes for getopt, with
	   differences in the consts, in stdlib.h.  To avoid compilation
	   errors, only prototype getopt for the GNU C library.  */

so manually define HAVE_DECL_GETOPT since configure doesn't offer any way
to set it... and its unistd.h not stdlib.h dang it.
2002-10-12 03:55:09 +00:00
obrien
ac0491b37e Seems the warnings Binutils 2.13 grew now makes it impossible for WARNS != 0
all 64-bit machines.
2002-10-12 03:04:42 +00:00
obrien
b81f987ed3 The 2.13-almost.1 import was done on 10/10, not 11/10. 2002-10-12 00:18:25 +00:00
obrien
64254d0aad Update for 2.13 10-Oct-2002 import. 2002-10-12 00:17:34 +00:00
obrien
109f9bf9eb GDB plays nice with Binutils again. 2002-10-11 20:23:06 +00:00
obrien
11ecf41867 Use the new FreeBSD vectors from Binutils 2.13.1. 2002-10-11 19:39:18 +00:00
obrien
f0cb964f2b Binutils 2.13 grew some warnings that make WARNS != 0 now impossible on
sparc64.
2002-10-11 17:40:20 +00:00
obrien
17d5c60012 Turn off GDB for now. It and the new binutils just aren't agreeing on our
binary format.
2002-10-11 16:22:37 +00:00
ru
d98d164666 New Russian hyphenation patterns from the teTeX distribution.
Use the new .hpfa request to append them to English patterns.
2002-10-11 12:20:02 +00:00
ru
84690dde55 This commit was generated by cvs2svn to compensate for changes in r104895,
which included commits to RCS files with non-trunk default branches.
2002-10-11 12:13:17 +00:00
ru
30c21c6586 Russian hyphenation patterns from teTeX. 2002-10-11 12:13:17 +00:00
ru
83305ff8ce koi8-r was repo-copied to ru.KOI8-R by joe@. 2002-10-11 11:00:51 +00:00
obrien
a9d5f78a61 Sync with 2.13. Reduce forking by using multiple sed expressions rather
than piping thru tr(1).  Also prefer case over for+test, as case will
handle regex's nicely.

Note we can't exactly follow the real 2.13 genscripts.sh as we wind up with
multiple "'s in search paths.  It is too late tonight to track down why.
2002-10-11 10:07:46 +00:00
obrien
db9d87808b witch over to the new FreeBSD bfd vec and emulation 2002-10-11 09:36:20 +00:00
obrien
e643128469 Switch over to the new FreeBSD emulation and bfd vec 2002-10-11 09:31:55 +00:00
ru
683dd9f551 Groff 1.18.1 comes in with ANSI color support, enabled by default.
In "nroff" mode, italic font renders as an underlined text, which
makes it indistinguishable from the bold text on color monitors
(cons25 terminal type), yet it requires the less(1)'s -R option.
(Refer to the new grotty(1) manpage for details.)

So turn off the color support for now (when generating catpages),
until we figure out what do we do with this new feature.  I have
a patch for grotty(1) that tells it to use the "reverse video"
attribute to render the italic font.  Once this is accepted, we
can turn color support back on (if there won't be any objections
from the community).
2002-10-11 09:16:24 +00:00
ru
b48d7a100e Upgrade to Groff 1.18.1. 2002-10-11 08:58:14 +00:00
obrien
b6731a278e Yesterday was the 10th month of the year, not the 11st. 2002-10-11 08:40:19 +00:00
obrien
542cd1321d *sigh* The GNU folks want to layer and abstract yet another standard API.
This time remove the xregex redirection and just directly use their own
gnuregex.
2002-10-11 07:42:20 +00:00
obrien
ef04e46415 Really update for 2.13 10-Oct-2002 import. (this time for sure Rocky) 2002-10-11 06:48:16 +00:00
obrien
9ec27cc871 Update for 2.13 10-Oct-2002 import. 2002-10-11 06:28:05 +00:00
obrien
bd7ac0d55d Update for 2.13 10-Oct-2002 import - Identify the version correctly 2002-10-11 06:23:02 +00:00
obrien
4b0c6b0a8a Don't do WARNS setting here. 2002-10-11 06:20:41 +00:00
kan
cba39ebdcd Add multilib_options variable definition.
Approved by:	obrien
2002-10-10 04:56:35 +00:00
ru
b1adf94578 Print the OS name in the right place in the document title. 2002-10-09 08:51:52 +00:00
ru
0f00011b24 Added bzip2 variants to the NAME section.
Added missing break.
Remove the statement that -J requires zlib(3).
2002-10-07 09:08:07 +00:00
obrien
3079aa5131 Allow -J to simultaneously do non-bzip2 grepping.
Don't allow -J and -Z together.

Partially submitted by:	knu
2002-10-06 07:02:30 +00:00
dd
cb1615844b choosen -> chosen
PR:		42962
Submitted by:	Scott D Friedemann <sdf@expertune.com>
2002-10-01 23:15:32 +00:00
ru
6ceaeda051 Pass our idea of a manpage's locale from man(1) down to mdoc(7). 2002-09-30 11:00:04 +00:00
ru
f961c7e4c7 French -mdoc localization.
Submitted by:	gioria
Reviewed by:	blackend, ru
2002-09-30 08:06:11 +00:00
ru
71b10d2a60 libusb -> libusbhid did not reach here. 2002-09-30 07:54:49 +00:00
ru
384c80db65 FreeBSD 4.6, 4.6.2, 4.7 and 4.8 are now officially supported in -mdoc. 2002-09-30 07:51:46 +00:00
peter
0a7f0ba37e Zap now-unused SHLIB_MINOR 2002-09-28 00:25:32 +00:00
markm
84072d95a3 Avoid linting GNU contrib'ed stuff, even if the build engineer asked
for it (via WANT_LINT). It's Just Too Noisy.
2002-09-25 09:55:20 +00:00
obrien
d56eff1783 There is need to have a special BINUTIL_ARCH when we can use our more
common place TARGET_ARCH.
2002-09-22 05:29:37 +00:00
obrien
2a2c364d7e gdb now builds on sparc64. 2002-09-19 17:08:32 +00:00
obrien
0987f2ef37 Fix GNU coding violations. 2002-09-18 16:20:49 +00:00
obrien
55e39b20ec Stop using 3 distinct and far varied coding styles in a single file.
Pretend to actually adhere to the GNU coding standards.
2002-09-18 16:14:36 +00:00
bde
8c5b22b9d1 Re-axe. 2002-09-17 10:03:24 +00:00
bde
09e171ef7f Make `as' compile before it is axed. It still uses the archaic BSD
interface setbuffer(), and emulates setbuffer() on USG systems using a
#define of setbuffer() in terms of setvbuf().  The #define is correctly
ifdefed in some places but was not correctly ifdefed here -- i.e., BSD
was essentially configured as USG here.  This became fatal when <stdio.h>
was de-__P(())ified without testing.  This file gets included before
<stdio.h>, so the #define now affects (and breaks)
`setbuffer<left parentheses>' in <stdio.h> where it didn't affect
`setbuffer<whitespace>'.
2002-09-17 10:01:02 +00:00
bde
91d09bb4fb Un-axe this so that it can be fixed before it is axed. 2002-09-17 09:57:07 +00:00
kan
3d3147e47c Bmake bits for GCC 3.2.1-prerelease libstdc++.
Connect two new source and one header file to the build.

Approved by:	obrien
2002-09-17 04:23:29 +00:00
obrien
b58b89fc83 BANG! BANG! BANG! Put these bits out of their misery.
Murdered by members of:	a.out.die.die.die

ELF is the 1 true path now.  So make good on the src/Makefile threat that
building a.out will not be supported post 4.x.  These bits should either
resurface as a port, or a new port using the latest Binutils bits.  The
later will not support our SunOS-style shared a.out libs; but we shouldn't
need such support by this point in time.
2002-09-17 01:54:56 +00:00
peter
a51c9b6627 Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha
2002-09-17 01:49:00 +00:00
obrien
2a4cb24fb4 Disable building of the a.out gas and ld. They will become ports. 2002-09-17 01:43:21 +00:00
obrien
16ce5cfd95 Create bzgrep. 2002-09-16 04:27:29 +00:00
obrien
1e46ffd648 We're going to have to use a TARGET_ARCH of "x86_64" rather than "x86-64"
to make building GCC happy.
2002-09-12 15:56:21 +00:00
wollman
605a22100e Quiet another annoying warning. 2002-09-09 17:44:08 +00:00
eric
5825d567f8 Adhere to guidelines when testing for null strings.
Submitted by:	rwatson
2002-09-03 17:39:26 +00:00
peter
f3bcf9ce47 cvs-1.11.2 seems to bug out if HAVE_MMAP is not defined. It hoses its
internal buffer management somehow (an off by one perhaps).  HAVE_MMAP
wasn't detected because configure has a bogus declaration of malloc
which conflicted with stdlib.h.  Sigh.
2002-09-02 11:35:13 +00:00
peter
7cf015cd88 version.h is now autogenerated in 1.11.2, not version.c 2002-09-02 06:00:09 +00:00
peter
0e00fb0e5e Update for 1.11.1p1 -> 1.11.2 import 2002-09-02 05:59:33 +00:00
peter
33b78bdfe9 It seems CVSvn.texi isn't used anymore. 2002-09-02 05:59:02 +00:00
kan
5edce35840 Connect new files added with GCC 3.2.1 import to the build.
Approved by:	obrien
2002-09-01 21:21:56 +00:00
obrien
84a9d83087 Update for 2.12.1 20-July-2002 import. 2002-09-01 18:03:55 +00:00
obrien
9e3c08d6b1 Update for 2.12.1 20-July-2002 import. 2002-08-31 20:57:53 +00:00
keramida
d77d592ac1 Typo in [^[:alnum:]] character class.
PR:		docs/41728
Submitted by:	osgene@web.de
2002-08-31 02:26:19 +00:00
keramida
d86ee60055 Our gnats sets Confidential to "no" by default.
PR:		docs/41727
Submitted by:	osgene@web.de
Reviewed by:	des
2002-08-29 22:59:22 +00:00
eric
7d9d298c39 Use the default pager if the environment variable is blank.
PR:		37662
MFC after:	5 days
2002-08-27 09:31:27 +00:00
keramida
3423ef22d8 Document -p option of diff.
PR:		docs/41887
Submitted by:	tobez
2002-08-26 00:13:06 +00:00
ru
f381d6e10a Removed the (never-released) FreeBSD 4.6.1.
Inspired by:	bmah's commit to www/en/releases/4.6.1R
2002-08-14 16:57:14 +00:00
murray
8c01a595e7 Add definition for FreeBSD 4.6.2. 2002-08-14 06:32:17 +00:00
ru
ce971426f4 mdoc(7) police: Removed redundant .Ns calls. 2002-08-13 16:07:28 +00:00
ru
dfc3706596 can not -> cannot. 2002-08-13 14:10:36 +00:00
blackend
4eec5270bc Add PowerPC category.
PR:		docs/41595
Submitted by:	Christian Brueffer <chris@unixpages.org>
MFC after:	3 days
2002-08-13 10:30:55 +00:00
ru
8714facb13 Added Russian translation of the .Ex -std macro.
MFC after:	3 days
2002-08-07 17:47:24 +00:00
ru
ec399842ca POSIX.1-2001 says ``man -k'' should produce results equivalent to
the ``grep -Ei'' searching.

MFC after:	3 days
2002-08-07 17:39:35 +00:00
ru
a8adf98c82 Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
2002-07-29 09:40:17 +00:00
peter
2d279f09c9 Recognize frames for lcall_syscall and int0x80_syscall.
Reminded by:	bde
2002-07-28 18:46:49 +00:00
ru
cd7c90d38f s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
ru
0b1947f6a9 Move the definition of FreeBSD 4.6 back to where it belongs. 2002-07-18 09:32:15 +00:00
murray
b9e6663674 Add definition for FreeBSD 4.6.1. 2002-07-18 09:22:33 +00:00
mike
c13b46838e This isn't quite ready for WARNS=3 in the sparc64 case.
Noticed by:	sparc64 tinderbox
2002-07-16 16:10:39 +00:00
charnier
abd215c87f The .Nm utility 2002-07-14 15:12:00 +00:00
keramida
eea24f3d3e Add note about the info documentation of diff(1).
It contains a detailed description of the =format option part.

PR:		docs/36464
Submitted by:	Gary W. Swearingen <swear@blarg.net>
2002-07-11 21:11:26 +00:00
keramida
18c9f9fd09 Mention zegrep and zfgrep too,
and what their equivalent grep options are.

PR:		docs/35603
Submitted by:	"Gary W. Swearingen" <swear@blarg.net>
2002-07-11 20:12:15 +00:00
obrien
ce3a73d11c Make our i386 hacks in a less vendor file disturbing manner. 2002-07-10 07:48:45 +00:00
obrien
d760a3490f Stop trying to reimplement libkvm on i386. Instead use it directly and
consistently on all platforms.

Submitted by:	gallatin
2002-07-10 06:58:25 +00:00
obrien
bad07578ef Target specific FreeBSD kgdb hacks. 2002-07-10 06:40:03 +00:00
sheldonh
d55813b261 Revert previous delta; warnings fixed by obrien:
rev 1.5		rc/contrib/gdb/gdb/gdbserver/gdbreplay.c
2002-07-09 17:29:37 +00:00
sheldonh
c3699a5335 Define NO_WERROR to unbreak world until the maintainer has had time
to coordinate fixes for this contrib code.
2002-07-09 08:37:36 +00:00
peter
76a86b952e Bandaid for sparc64. Do not build libstdc++.so for now on sparc64.
Binaries compiled with it segfault.
2002-07-08 10:53:35 +00:00
ru
63a69b4eb0 Add the missing dependency (gdbint.info: gdb-cfg.texi).
This should resume parallel builds, among other things.
2002-07-04 11:33:59 +00:00
ru
343b6542a9 Fixed CLEANFILES. 2002-07-04 07:15:31 +00:00
des
b11caeadba Add the "java" category. 2002-07-03 00:35:09 +00:00
sheldonh
ee600f404c Reconnect gdb info file to the build.
Submitted by:	Szilveszter Adam <sziszi@bsd.hu>
2002-07-01 07:58:18 +00:00
obrien
e479ad14de Don't need these any more. 2002-06-30 05:29:43 +00:00
obrien
f0b6832824 Dike out bits specific to i386. This pretty much means no kgdb for
non-i386 platforms.

I would however like to see a shared file here.  If a function or two cannot
be shared we should create ${TARGET_ARCH}/kvm-fbsd-${TARGET_ARCH}.c.
2002-06-30 04:47:43 +00:00
obrien
b0f65ab232 Bmake bits for GDB 5.2. 2002-06-30 03:24:05 +00:00
mp
34d5973c19 Reflect new gdb directory structure. 2002-06-29 18:19:53 +00:00
obrien
ade0701504 I don't see any reason to conditionalize this. 2002-06-29 17:55:17 +00:00
obrien
6dbff7f2c1 Bmake bits for GDB 5.2. 2002-06-29 16:52:15 +00:00
obrien
c5dacda2d6 Turn back on GDB.
gdbserver does not build, but I've gone about as far with GDB as I'm going
to right now.
2002-06-29 03:19:35 +00:00
obrien
654fdc5b16 Best guess at configurations for our other arches. (totally untested) 2002-06-29 03:18:28 +00:00
obrien
d0166e6800 Allow to compile and at least startup on sparc64. 2002-06-29 03:16:40 +00:00
obrien
c2b054dc11 Bmake bits for GDB 5.2. 2002-06-29 01:16:01 +00:00
obrien
7ed83702a3 There will be no GDB related .info files unless someone that cares about them
sends a patch.
2002-06-28 03:41:56 +00:00
obrien
afbd143f56 NO! We DON'T wany any libintl action here. 2002-06-28 01:33:53 +00:00
obrien
cb3d46aa8a Things Gdb 5.2 wants to know about us. 2002-06-28 00:34:05 +00:00
obrien
63fdb8e6ba NO_GDB while it is being upgraded. 2002-06-27 22:59:11 +00:00
eric
ad5da01926 Correctly state the size of the help message.
Sponsored by: Apple
2002-06-24 20:57:44 +00:00
obrien
2fb4e582b3 For the benefit of those Emacs users amongst us, only cut out gdb.info
rather than *.info.
2002-06-22 17:10:53 +00:00
obrien
c0791760bd When linking staticaly libtermcap is a postrequisite of libreadline.
Otherwise `tgoto' (only used by libreadline) isn't resolved.

Submitted by:	bde
2002-06-22 17:07:45 +00:00
obrien
0ebcd6afe4 Take the guaranteed fix -- turn off .info docs for now until we get the
gdb docs sorted out.
2002-06-22 16:52:34 +00:00
obrien
0df2d84178 Grre-^#$(*+#@$!@% I hate .info files, I really do (thus I have NO_INFO set...)
Don't try to read files from a non-existant gdb.291/.
2002-06-22 08:08:51 +00:00
obrien
e2bd215de7 We need to link with libiberty.a before libreadline.so. Both supply
xmalloc() and xrealloc() and the mixed usage of xmalloc in some .c's from
libiberty.a and other .c's from libreadline.so produces an unusable binary
on the Alpha.

While I am here, preventatively move other libs in the link order.

Submitted by:	gallatin
2002-06-21 19:05:20 +00:00
obrien
b3f1347661 Remove GAWK. I removed it from the build 2 weeks ago and the world
did not end.  So finish the deed.
2002-06-20 20:54:54 +00:00
obrien
690ea8569d Disconnect the docs until we figure out if there are any with v3. 2002-06-19 05:38:45 +00:00
dougb
8a805cf640 Teach mdoc about the 4.6 release 2002-06-18 00:41:47 +00:00
dougb
1f8d67dfae In addition to exiting the dialog via ESC, the user could also have
exited via \r, \n, or ' ' (space); all of which are valid,
non-error responses.
2002-06-13 23:39:35 +00:00
obrien
016feefa33 Allow one to profile FORTRAN77 programs. 2002-06-09 00:03:56 +00:00
obrien
ec1445e1ae Restore revision 1.15 (use profiled C++ libs) which wasn't on the WIP_GCC31
branch and thus was lost in the shuffle on the move to Gcc 3.1.
2002-06-08 19:58:31 +00:00
obrien
21588aac50 Fix compiling FORTRAN77 programs. 2002-06-08 18:48:40 +00:00
ache
74144f756f Activate new GNU sort from contrib 2002-06-08 10:34:12 +00:00
obrien
5e61aad926 Read specs from /usr/libdata/gcc/specs if it exists. 2002-06-06 03:47:02 +00:00
obrien
6a22781391 The best we can do about man pages for the moment. 2002-06-05 21:30:46 +00:00
obrien
928b97006a We haven't used this libg++ header since 1999/04/05 05:36:37. 2002-06-05 17:02:37 +00:00
obrien
b4b9e6670e Search the "backward" C++ compatibility include dir also. 2002-06-05 16:10:59 +00:00
obrien
beb46f8dc8 We don't need bsd.dep.mk here. 2002-06-05 15:40:39 +00:00
ru
a30fd02923 SUBDIR is initially empty. 2002-06-05 07:00:41 +00:00
ru
9b5411c3a6 Canonicalize. 2002-06-05 06:59:10 +00:00
ru
44cb520bdb Back out addition of a plus sign.
DPADD and LDADD belong to individual makefiles.
2002-06-05 06:58:33 +00:00
sobomax
9db950024f Collapse lib and tar dirs into single top-level directory.
Suggested by:   obrien
2002-06-04 21:16:18 +00:00
obrien
3db542eeb9 Remove GNU awk. 2002-06-04 21:14:34 +00:00
obrien
88e35be20b Install the i386 MMX headers, and IA-64 intrinsics functions.
Requested by:	peter
2002-06-04 20:00:29 +00:00
obrien
de6ca3ba07 We don't need this library any more. 2002-06-04 19:45:09 +00:00
sobomax
fe1fa7db54 Don't forget to include ../Makefile.inc. 2002-06-04 11:28:09 +00:00
sobomax
487ffcd195 Add bmake bits for building GNU tar from src/contrib/tar. 2002-06-04 11:14:49 +00:00
sobomax
e6cbf87777 Send our ancienv GNU tar into Attic.
Suggested by:	ps
2002-06-04 11:14:06 +00:00
mike
9b39ed7b94 Use POSIX macros for wait(2)-style status information instead of the
deprecated 4.2/4.3BSD wait union.  Fix some nearby pid_t/int
confusion.
2002-06-03 23:13:11 +00:00
ru
03744f08ef Do not overwrite mm locale files. 2002-06-03 15:12:42 +00:00
obrien
4769e37d2a Turn on the math function stub stubs.
Submitted by:	Martin Blapp <mb@imp.ch>
I believe OK with:	peter
2002-06-02 17:49:08 +00:00
ru
1ea6cbb8c2 The new bsd.incs.mk is powerful enough to handle this wrinkle. 2002-05-31 11:45:34 +00:00
wollman
1bd96bef8d Add used includes of <stdlib.h>. 2002-05-30 19:49:21 +00:00
alfred
f0facdc5dd Check for defined(__i386__) instead of just defined(i386) since the compiler
will be updated to only define(__i386__) for ANSI cleanliness.
2002-05-30 07:00:42 +00:00
obrien
dccfdff5f9 Tweak so that .o's are written into src/contrib/gcc 2002-05-29 22:26:05 +00:00
obrien
abda074068 Build docs not out of libobc++.295 2002-05-29 21:14:48 +00:00
peter
8b1c546166 Put on peril sensitive sunglasses and turn C++ stuff back on. 2002-05-29 00:48:14 +00:00
peter
f974920a72 Add some build glue for libstdc++. I'm not a C++ person, but this seems
to work at least for the non-hairy stuff.  The main wrinkle here is that
a whole mess of include files get installed and under different names.
An earlier version of this built a shadow include tree first in the obj
directory, but this depends on the 'make includes' functionality.

More tweaking is certainly going to be needed.
2002-05-29 00:45:51 +00:00
obrien
59f416fcf0 I missed the setting of PREFIX_INCLUDE_DIR when I visually santity checked
the output from a autoconfig run.
2002-05-27 17:48:28 +00:00
bde
edc5c7457a phsyical -> physical
Submitted by:	Andre Guibert de Bruet <andy@siliconlandmark.com>
2002-05-27 13:08:08 +00:00
obrien
0b1a4f9b10 Alpha has crtfastmath also. 2002-05-26 17:16:21 +00:00
obrien
1c24f917c1 Rev 1.12 broke make all' w/o a previous make depends'. 2002-05-26 17:09:31 +00:00
markm
c4089dd479 Trim out this subdir; nothing has been made in here for _ages_. 2002-05-25 21:11:13 +00:00
ache
0a06210fa9 Remove /usr/share/perl/man 2002-05-24 03:21:11 +00:00
markm
73f7d5a477 Remove ptx. It is not used anywhere in the base system, has not been
maintained for years and is very old code. If there is any need for
it, I suspect that ports would be a better place.

No objection from:	current@freebsd.org
2002-05-21 09:20:34 +00:00
gad
71a8393bdd Change parts of the source code to make it closer to style(9), mainly
changing indentation and some comments.  Main goal is not perfect style,
but just to reduce differences with NetBSD.  The object code is exactly
the same after this change as before it (except for assert() statements
which have moved).

Reviewed by:	/sbin/md5 on i386
Obtained from:	NetBSD
2002-05-21 00:44:18 +00:00
obrien
ac045ec61f This is only WARNS=0 clean now. 2002-05-19 18:25:41 +00:00
markm
a3136f808a remove perl scripts from the build. 2002-05-18 19:47:57 +00:00
obrien
80a6c1ef01 This is enough to get thru a cross-build. 2002-05-18 18:27:09 +00:00
obrien
4df8032cad The AMD x86-64 Hammer bits. 2002-05-18 11:57:01 +00:00
obrien
392eebf174 Fix the sparc64 build and make the LIB1ASMSRC handling more robust. 2002-05-18 09:46:12 +00:00
phk
dc6816f144 Improve chances that we correctly compile LIB1ASMSRC on all architectures.
sparc64 looked for the nonexistent sparc64/lb1spc.asm file instead
of the sparc/lb1spc.asm file.

arm probably looked for arm/arm/lib1funcs.asm instead of arm/lib1funcs.asm
ia64 probably looked for ia64/ia64/lib1funcs.asm instead of ia64/lib1funcs.asm

i386 and alpha don't seen to use the LIB1ASMSRC.
2002-05-18 09:21:42 +00:00
obrien
7f9fb78993 Segregate MD weirdness a little bit more. Improve cross buildability. 2002-05-18 04:59:57 +00:00
obrien
73a63698a0 Style sync with other platforms. 2002-05-18 04:50:32 +00:00
obrien
2f9891cf77 Use a more API denoting way to handle what is in libc and what isn't. 2002-05-18 04:49:44 +00:00
obrien
fff8069519 Don't build gperf. 2002-05-18 00:20:01 +00:00
obrien
fc5c0b8f29 Don't depend on gperf. 2002-05-18 00:18:00 +00:00
peter
a254817b08 Move LIB1ASMFUNCS from the SYMS variable and explicitly add it to OBJS
later.  Otherwise make will try and build the supposedly assembler .o
files from libgcc2.c - which does not work too well (the .o's have no
content)

Reviewed by:	obrien
2002-05-17 08:59:13 +00:00
peter
877587ce74 Put on peril-sensitive sunglasses and risk touching gcc related build glue
again.  Try and deal with platforms that provide their own crtbegin/end asm
files (ia64 for example).  crtstuff.c does not actually work on ia64 since
libgcc.a doesn't have a few key support functions when built on ia64 so it
is compulsory to use crtbegin.asm and crtend.asm.

Reviewed by:	obrien
2002-05-17 07:55:08 +00:00
obrien
e303f729c6 Remove some WIP bits that I didn't fully clean out before merging to HEAD. 2002-05-17 06:35:44 +00:00
ru
04cbf1cb05 Back out revision 1.30 change.
cc1plus can apparently be built if you happen to have
/usr/bin/gperf, or set CXX to point to a C++ compiler
that can build gperf(1) in the bootstrap-tools stage
of buildworld.
2002-05-17 05:41:47 +00:00
obrien
17aec96489 Post rev 1.39, the PowerPC specific additions to OBJS was getting lost. 2002-05-17 04:18:33 +00:00
obrien
4adece7fd2 Update to Binutils 2.12.0 and stick to the native emulation for now.
This lets us get on the with the task at hand -- porting FreeBSD.
We can get fancy later on.
2002-05-17 03:43:47 +00:00
obrien
623d9d0043 Update to Binutils 2.12.0 release. 2002-05-17 03:43:09 +00:00
obrien
c83489556b Update to Binutils 2.12.0 and stick to the native emulation for now.
This lets us get on the with the task at hand -- porting FreeBSD.
We can get fancy later on.
2002-05-17 03:10:33 +00:00
obrien
cef4417d4b bsd.lib.mk now understands what to do with .asm files.
So we can refer to these files by their real name vs. playing tricks
renaming them during the build.
2002-05-17 03:08:15 +00:00
obrien
ff2300d7aa GCC 3.1 on PowerPC also has the crtsavres C Run Time file. 2002-05-17 03:04:47 +00:00
obrien
0e6872a9ec Do not cut `docs' out of the build with NO_CXX.
There are no longer GNU C++ specific info files, and it was a bug with Gcc
2.95 that NO_CXX would cause the C and CPP info files to not be installed.
2002-05-17 03:00:33 +00:00
ru
af2650e805 MD_EXEC_PREFIX doesn't work for the cross-arch compiler.
The change also makes the `cc -print-search-dirs' output
sane (the pre-3.1 way) in the non-cross case.

Draft reviewed by:	obrien
2002-05-16 15:22:58 +00:00
ru
e55e9be036 Make it possible to build a cross compiler for alpha,
ia64 and sparc64 on systems that do not have atoll(3).
The "cross" here doesn't necessarily mean cross-arch.
2002-05-16 15:18:13 +00:00
markm
344ddc1497 Remove the perl build. Farewell, old friend. 2002-05-16 09:57:11 +00:00
markm
52d70f2d2f Don't build perl. 2002-05-16 08:59:52 +00:00
obrien
5637f2111a Add x86-64 bits. 2002-05-15 22:40:50 +00:00
obrien
ce1704f4f0 The IA-64 config needs to know that we are using GNU ld & as.
Submitted by:	peter
2002-05-15 21:59:46 +00:00
ru
b860787a18 Make sure to not yet build the GNU C++, but still allow
for the C++ progs to be built with e.g. an old compiler,
CXX=/usr/bin/c++, for the time being.
2002-05-15 16:29:45 +00:00
obrien
986b462279 We won't be doing FreeBSD-NT (NTBSD?, BSDNT?) anytime soon.
Same for any m68k platform.
2002-05-15 09:11:11 +00:00
obrien
9139dec5a0 We aren't quite ready to switch emulations and loose the
override ELF_DYNAMIC_INTERPRETER requirement.

Has a good eye:	jmallet
2002-05-15 09:01:03 +00:00
obrien
fb2703d06f We won't be doing FreeBSD/m68k or FreeBSD/rs6k anytime soon.
(not to mention these bits are still at the 2.9.1 level)
2002-05-15 08:33:41 +00:00
mp
51434df12e Make our version tag unique due to our local changes.
PR:		19733
Submitted by:	sheldonh
MFC after:	3 days
2002-05-14 18:17:59 +00:00
obrien
68038c862a Quote {CC} so ccache can be used. 2002-05-14 01:00:25 +00:00
ru
661f00368b Fixed CLEANFILES after bsd.lib.mk sweep. 2002-05-13 15:28:00 +00:00
ru
46bb8fed43 Mark all internal libraries with INTERNALLIB. 2002-05-13 11:24:03 +00:00
ru
bc2e1305d8 Removed now unused INTERNALSTATICLIB.
INTERNALLIB now implies NOPIC and NOPROFILE.
Removed gratuitous NOMAN.
2002-05-13 11:09:07 +00:00
ru
dc9ee40833 Major cleanup of bsd.lib.mk.
Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB.
INTERNALLIB now means to build static library only and don't install
anything.  Added a NOINSTALLLIB knob for libpam/modules.  To not
build any library at all, just do not set LIB.
2002-05-13 10:53:24 +00:00
obrien
1daa12366e Restore some of the implementation from the Bmake gcc 2.95 bits.
In the end, I can do things more like the previous Bmake bits than was
apparent in the middle of the gcc31 WIP.
2002-05-13 03:27:03 +00:00
obrien
3399becf9d I was finally able to repeat the -j breakage on one of my machines. Fix it.
I borrowed some ideas from Ruslan, and made the style match cc_tools/Makefile
2002-05-13 01:54:26 +00:00
ru
4204167002 NOLIB is gone; put INTERNALLIB back for now. 2002-05-12 16:35:34 +00:00
ru
59049318b6 Added new bsd.incs.mk which handles installing of header files
via INCS.  Implemented INCSLINKS (equivalent to SYMLINKS) to
handle symlinking include files.  Allow for multiple groups of
include files to be installed, with the powerful INCSGROUPS knob.
Documentation to follow.

Added standard `includes' and `incsinstall' targets, use them
in Makefile.inc1.  Headers from the following makefiles were
not installed before (during `includes' in Makefile.inc1):

	kerberos5/lib/libtelnet/Makefile
	lib/libbz2/Makefile
	lib/libdevinfo/Makefile
	lib/libform/Makefile
	lib/libisc/Makefile
	lib/libmenu/Makefile
	lib/libmilter/Makefile
	lib/libpanel/Makefile

Replaced all `beforeinstall' targets for installing includes
with the INCS stuff.

Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS,
and for compatibility with NetBSD.  Similarly for INCOWN, INCGRP,
and INCMODE.

Consistently use INCLUDEDIR instead of /usr/include.

gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes
were only lightly tested due to the missing contrib/libstdc++-v3.
I fully tested the pre-WIP_GCC31 version of this patch with the
contrib/libstdc++.295 stuff.

These changes have been tested on i386 with the -DNO_WERROR "make
world" and "make release".
2002-05-12 16:01:00 +00:00
obrien
01532a0d4b Properly build lb1spc.asm on Sparc64. 2002-05-12 14:05:58 +00:00
obrien
14eeafe476 There is no more NOLIB. 2002-05-12 13:49:14 +00:00
obrien
1d595b254a I was not strict enough with my ordering of things to satisfy make(1) nieve
symbol evaluation which causes it to be very sensitive to macro ordering.
2002-05-12 12:44:04 +00:00
obrien
25fbcd7ded Tidy up the cleanfiles. 2002-05-12 12:06:19 +00:00
obrien
29ad76a5ac Fixes for building a.out bits.
Submitted by:	bde
2002-05-12 12:01:12 +00:00
obrien
6ffd9aaeaa Sorry, I did not mean to turn collect2 back on yet. 2002-05-11 04:51:45 +00:00