Mark Murray
826a6331a6
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
David E. O'Brien
0e7fe4f6c0
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
David E. O'Brien
9bfba55ce8
gdb now builds on sparc64.
2002-09-19 17:08:32 +00:00
David E. O'Brien
9ceffc28f3
Fix GNU coding violations.
2002-09-18 16:20:49 +00:00
David E. O'Brien
71791a1d60
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
Bruce Evans
4555d538fd
Re-axe.
2002-09-17 10:03:24 +00:00
Bruce Evans
dcfd61e65c
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
Bruce Evans
a042737eae
Un-axe this so that it can be fixed before it is axed.
2002-09-17 09:57:07 +00:00
David E. O'Brien
c696fb50b3
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 Wemm
66422f5b7a
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
David E. O'Brien
4e6ef0845d
Disable building of the a.out gas and ld. They will become ports.
2002-09-17 01:43:21 +00:00
David E. O'Brien
089f14a27a
Create bzgrep.
2002-09-16 04:27:29 +00:00
David E. O'Brien
1ca4970561
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
Eric Melville
6d1020dae1
Adhere to guidelines when testing for null strings.
...
Submitted by: rwatson
2002-09-03 17:39:26 +00:00
Peter Wemm
ffd0421837
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 Wemm
b5aa73b52f
version.h is now autogenerated in 1.11.2, not version.c
2002-09-02 06:00:09 +00:00
Peter Wemm
27322c93a5
Update for 1.11.1p1 -> 1.11.2 import
2002-09-02 05:59:33 +00:00
Peter Wemm
6332f035be
It seems CVSvn.texi isn't used anymore.
2002-09-02 05:59:02 +00:00
David E. O'Brien
7460e5b18a
Update for 2.12.1 20-July-2002 import.
2002-09-01 18:03:55 +00:00
David E. O'Brien
e0444818b2
Update for 2.12.1 20-July-2002 import.
2002-08-31 20:57:53 +00:00
Giorgos Keramidas
e81b47f153
Typo in [^[:alnum:]] character class.
...
PR: docs/41728
Submitted by: osgene@web.de
2002-08-31 02:26:19 +00:00
Giorgos Keramidas
9f37e65b1d
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 Melville
221e4bc443
Use the default pager if the environment variable is blank.
...
PR: 37662
MFC after: 5 days
2002-08-27 09:31:27 +00:00
Giorgos Keramidas
ba4be60fa0
Document -p option of diff.
...
PR: docs/41887
Submitted by: tobez
2002-08-26 00:13:06 +00:00
Ruslan Ermilov
0f90a39a29
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 Stokely
13a705e1d1
Add definition for FreeBSD 4.6.2.
2002-08-14 06:32:17 +00:00
Ruslan Ermilov
a654c53e16
mdoc(7) police: Removed redundant .Ns calls.
2002-08-13 16:07:28 +00:00
Ruslan Ermilov
e091d0c2ac
can not -> cannot.
2002-08-13 14:10:36 +00:00
Marc Fonvieille
f621909bcf
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
Ruslan Ermilov
e2f55267f6
Added Russian translation of the .Ex -std macro.
...
MFC after: 3 days
2002-08-07 17:47:24 +00:00
Ruslan Ermilov
db6191194b
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
Ruslan Ermilov
d2893b161b
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 Wemm
0f258b75d3
Recognize frames for lcall_syscall and int0x80_syscall.
...
Reminded by: bde
2002-07-28 18:46:49 +00:00
Ruslan Ermilov
0b87f79976
s/${INSTALL} -c/${INSTALL} ${COPY}/
2002-07-18 12:07:49 +00:00
Ruslan Ermilov
7ec8076057
Move the definition of FreeBSD 4.6 back to where it belongs.
2002-07-18 09:32:15 +00:00
Murray Stokely
bd54a06d45
Add definition for FreeBSD 4.6.1.
2002-07-18 09:22:33 +00:00
Mike Barcroft
8e91c039a7
This isn't quite ready for WARNS=3 in the sparc64 case.
...
Noticed by: sparc64 tinderbox
2002-07-16 16:10:39 +00:00
Philippe Charnier
084e19802d
The .Nm utility
2002-07-14 15:12:00 +00:00
Giorgos Keramidas
1a7a931a26
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
Giorgos Keramidas
d2a4ebc11d
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
David E. O'Brien
e2a86a90af
Make our i386 hacks in a less vendor file disturbing manner.
2002-07-10 07:48:45 +00:00
David E. O'Brien
2b1f5a4271
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
David E. O'Brien
bad0e574ca
Target specific FreeBSD kgdb hacks.
2002-07-10 06:40:03 +00:00
Sheldon Hearn
d1e52a1c8d
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
Sheldon Hearn
68a9ebbe8c
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
Ruslan Ermilov
70b1f5865c
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
Ruslan Ermilov
acebb8eba1
Fixed CLEANFILES.
2002-07-04 07:15:31 +00:00
Dag-Erling Smørgrav
c2945c3b11
Add the "java" category.
2002-07-03 00:35:09 +00:00
Sheldon Hearn
8e887555b5
Reconnect gdb info file to the build.
...
Submitted by: Szilveszter Adam <sziszi@bsd.hu>
2002-07-01 07:58:18 +00:00
David E. O'Brien
0b541de6f7
Don't need these any more.
2002-06-30 05:29:43 +00:00
David E. O'Brien
68464ed689
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
David E. O'Brien
a9b6be3e9e
Bmake bits for GDB 5.2.
2002-06-30 03:24:05 +00:00
Mark Peek
0d8ba9a657
Reflect new gdb directory structure.
2002-06-29 18:19:53 +00:00
David E. O'Brien
c4819db060
I don't see any reason to conditionalize this.
2002-06-29 17:55:17 +00:00
David E. O'Brien
cc5dcb202c
Bmake bits for GDB 5.2.
2002-06-29 16:52:15 +00:00
David E. O'Brien
11acfa572a
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
David E. O'Brien
b73f3861c3
Best guess at configurations for our other arches. (totally untested)
2002-06-29 03:18:28 +00:00
David E. O'Brien
2587e03b72
Allow to compile and at least startup on sparc64.
2002-06-29 03:16:40 +00:00
David E. O'Brien
7b726fea14
Bmake bits for GDB 5.2.
2002-06-29 01:16:01 +00:00
David E. O'Brien
70ec688c63
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
David E. O'Brien
b1ae3e66e6
NO! We DON'T wany any libintl action here.
2002-06-28 01:33:53 +00:00
David E. O'Brien
99c8489d5b
Things Gdb 5.2 wants to know about us.
2002-06-28 00:34:05 +00:00
David E. O'Brien
c126c9fe5a
NO_GDB while it is being upgraded.
2002-06-27 22:59:11 +00:00
Eric Melville
1868b5c3f5
Correctly state the size of the help message.
...
Sponsored by: Apple
2002-06-24 20:57:44 +00:00
David E. O'Brien
28219a5a8d
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
David E. O'Brien
22cb25a945
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
David E. O'Brien
35053ce3d6
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
David E. O'Brien
ecb598f3be
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
David E. O'Brien
457170e99c
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
David E. O'Brien
2042599684
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
Doug Barton
480ffa338a
Teach mdoc about the 4.6 release
2002-06-18 00:41:47 +00:00
David E. O'Brien
60f9b09d26
Allow one to profile FORTRAN77 programs.
2002-06-09 00:03:56 +00:00
David E. O'Brien
9291f1b122
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
David E. O'Brien
a32192cc4f
Fix compiling FORTRAN77 programs.
2002-06-08 18:48:40 +00:00
Andrey A. Chernov
733657c588
Activate new GNU sort from contrib
2002-06-08 10:34:12 +00:00
David E. O'Brien
86f99a57b2
Read specs from /usr/libdata/gcc/specs if it exists.
2002-06-06 03:47:02 +00:00
David E. O'Brien
eb5cb11b70
The best we can do about man pages for the moment.
2002-06-05 21:30:46 +00:00
David E. O'Brien
f09cdb5b44
Search the "backward" C++ compatibility include dir also.
2002-06-05 16:10:59 +00:00
David E. O'Brien
1fd8bea50e
We don't need bsd.dep.mk here.
2002-06-05 15:40:39 +00:00
Ruslan Ermilov
fc511333b6
SUBDIR is initially empty.
2002-06-05 07:00:41 +00:00
Ruslan Ermilov
8659c37498
Canonicalize.
2002-06-05 06:59:10 +00:00
Ruslan Ermilov
227c8a004a
Back out addition of a plus sign.
...
DPADD and LDADD belong to individual makefiles.
2002-06-05 06:58:33 +00:00
Maxim Sobolev
9bdd177911
Collapse lib and tar dirs into single top-level directory.
...
Suggested by: obrien
2002-06-04 21:16:18 +00:00
David E. O'Brien
741a21e8c7
Remove GNU awk.
2002-06-04 21:14:34 +00:00
David E. O'Brien
d09b305248
Install the i386 MMX headers, and IA-64 intrinsics functions.
...
Requested by: peter
2002-06-04 20:00:29 +00:00
David E. O'Brien
8df64a7d4f
We don't need this library any more.
2002-06-04 19:45:09 +00:00
Maxim Sobolev
41965b2932
Don't forget to include ../Makefile.inc.
2002-06-04 11:28:09 +00:00
Maxim Sobolev
0d041c5ae8
Add bmake bits for building GNU tar from src/contrib/tar.
2002-06-04 11:14:49 +00:00
Maxim Sobolev
bf15d27233
Send our ancienv GNU tar into Attic.
...
Suggested by: ps
2002-06-04 11:14:06 +00:00
Ruslan Ermilov
801a888ee3
Do not overwrite mm locale files.
2002-06-03 15:12:42 +00:00
Alfred Perlstein
e043516d4d
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
Peter Wemm
0367ff7599
Put on peril sensitive sunglasses and turn C++ stuff back on.
2002-05-29 00:48:14 +00:00
David E. O'Brien
ca9578f3ef
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
Bruce Evans
6c37e4212e
phsyical -> physical
...
Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>
2002-05-27 13:08:08 +00:00
Andrey A. Chernov
6f7a1f9947
Remove /usr/share/perl/man
2002-05-24 03:21:11 +00:00
Mark Murray
95f435e76a
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
Garance A Drosehn
d77254e807
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
David E. O'Brien
ecdd3d1cab
This is only WARNS=0 clean now.
2002-05-19 18:25:41 +00:00
Mark Murray
34431fe7a1
remove perl scripts from the build.
2002-05-18 19:47:57 +00:00
David E. O'Brien
4728018172
This is enough to get thru a cross-build.
2002-05-18 18:27:09 +00:00
David E. O'Brien
da87c431b3
The AMD x86-64 Hammer bits.
2002-05-18 11:57:01 +00:00
David E. O'Brien
3ce5798474
Segregate MD weirdness a little bit more. Improve cross buildability.
2002-05-18 04:59:57 +00:00
David E. O'Brien
355a488d44
Style sync with other platforms.
2002-05-18 04:50:32 +00:00
David E. O'Brien
5a87307b7f
Use a more API denoting way to handle what is in libc and what isn't.
2002-05-18 04:49:44 +00:00
David E. O'Brien
ef446fb2c6
Don't build gperf.
2002-05-18 00:20:01 +00:00
David E. O'Brien
00900fed40
Don't depend on gperf.
2002-05-18 00:18:00 +00:00
David E. O'Brien
9c2a81d5ba
Remove some WIP bits that I didn't fully clean out before merging to HEAD.
2002-05-17 06:35:44 +00:00
Ruslan Ermilov
a43171c248
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
David E. O'Brien
d4dfcdb535
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
David E. O'Brien
79b40253a4
Update to Binutils 2.12.0 release.
2002-05-17 03:43:09 +00:00
David E. O'Brien
e3dd58ccbc
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
David E. O'Brien
cffafa9e12
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
Ruslan Ermilov
35abacef2a
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
Ruslan Ermilov
2898afe627
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
Mark Murray
f72674c540
Remove the perl build. Farewell, old friend.
2002-05-16 09:57:11 +00:00
Mark Murray
9a473994d2
Don't build perl.
2002-05-16 08:59:52 +00:00
David E. O'Brien
fcbdc1f8a0
Add x86-64 bits.
2002-05-15 22:40:50 +00:00
David E. O'Brien
23735e10dd
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
Ruslan Ermilov
83f56d9ae4
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
David E. O'Brien
7ed7e0cf33
We won't be doing FreeBSD-NT (NTBSD?, BSDNT?) anytime soon.
...
Same for any m68k platform.
2002-05-15 09:11:11 +00:00
David E. O'Brien
16444b7a38
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
David E. O'Brien
91c7467999
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
Mark Peek
117af193f6
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
Ruslan Ermilov
423e9124d9
Mark all internal libraries with INTERNALLIB.
2002-05-13 11:24:03 +00:00
Ruslan Ermilov
46f8fdc34e
Removed now unused INTERNALSTATICLIB.
...
INTERNALLIB now implies NOPIC and NOPROFILE.
Removed gratuitous NOMAN.
2002-05-13 11:09:07 +00:00
David E. O'Brien
6677f3e022
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
David E. O'Brien
5b3bcd0c77
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
David E. O'Brien
a0eb22834d
Tidy up the cleanfiles.
2002-05-12 12:06:19 +00:00
David E. O'Brien
79c021244b
Fixes for building a.out bits.
...
Submitted by: bde
2002-05-12 12:01:12 +00:00
David E. O'Brien
c00b947e3f
Sorry, I did not mean to turn collect2 back on yet.
2002-05-11 04:51:45 +00:00
David E. O'Brien
b42da20fd5
Revert rev 1.3 -- I tested using the wrong build compiler.
2002-05-11 00:15:45 +00:00
David E. O'Brien
943aada83d
Actually we don't need any special YACC'ing here. The ones known to
...
Bmake are fine.
2002-05-10 23:20:54 +00:00
David E. O'Brien
498e57a7a4
BWK awk appears to work for world builds just fine now. We want to make
...
sparc64 the same as the other platforms -- so do it by moving the other
platforms toward the sparc64.
2002-05-10 20:36:21 +00:00
David E. O'Brien
d147c3da04
Touching the sjlj setting on IA-64 makes things not build.
...
Submitted by: peter
2002-05-10 17:42:19 +00:00
David E. O'Brien
6121408bac
Build compiler on all platforms.
2002-05-10 17:30:42 +00:00
David E. O'Brien
871d3affa7
Doh! Add IA-64 to our target list.
2002-05-10 17:23:04 +00:00
David E. O'Brien
415f2bb46f
Gather up the stragglers that depends on genrtl.h. This is -j10 safe now.
2002-05-10 10:21:19 +00:00
David E. O'Brien
01c50f1782
This was *very* -j unsafe. Add a dependency on the common generated
...
headers to mostly make it -j1 safe.
2002-05-10 10:14:53 +00:00
David E. O'Brien
3cdd876f04
Bmake bits for Gcc 3.1.
...
Partially made possible by: Wilko.Bulte@compaq.com
2002-05-10 08:54:50 +00:00
David E. O'Brien
7b4716843d
Use MD_EXEC_PREFIX now to get us thru `buildworld'.
...
The problem is the GCC driver now turns STANDARD_EXEC_PREFIX into a relative
path -- "<basename argv[0]>/../../libexec" for our normal install location.
However, in the middle of `buildworld' we need
"<basename argv[0]>/../../../../libexec" due to the prefix we tell the GCC
driver. But either the GCC driver is buggy, or we are confusing it, as it
tries to exec "<basename argv[0]>/../../libexec/cpp0" as if it were installed
in the normal place (but isn't).
MD_EXEC_PREFIX is still absolute, so I'll use that for now. I would like to
later make it so MD_EXEC_PREFIX is set only for `buildworld', as
MD_EXEC_PREFIX is also in the search path for libraries. Don't ask me why!
Another way is to add ${OBJFORMAT_PATH} (as set in CROSSENV) to the PATH
in src/Makefile.inc's WMAKEENV.
2002-05-10 08:41:46 +00:00
David E. O'Brien
066003a540
Gcc 3.1 now offers both a C99 and a K&R traditional C preprocessor.
...
This is the ISO C99 one.
2002-05-10 02:46:01 +00:00
David E. O'Brien
dd7731cf37
Bmake bits for GCC 3.1.
2002-05-10 02:36:12 +00:00
David E. O'Brien
bd7ce31c9a
Turn off groff and gperf -- they will not compile with the in-tree Gcc 3.1.
2002-05-10 00:50:43 +00:00
cvs2svn
ff24f7832c
This commit was manufactured by cvs2svn to create branch 'WIP_GCC31'.
2002-05-09 00:52:10 +00:00
David E. O'Brien
354b719bf7
Gcc 3.1 now offers both a C99 and a K&R traditional C preprocessor.
...
This is the traditional one.
2002-05-09 00:52:09 +00:00
David E. O'Brien
b9b736e422
Using ${.ALLSRC} here is dangerious as it sometimes picks up more
...
"sources" than desired.
2002-05-08 02:46:10 +00:00
David E. O'Brien
672528fa3d
Make the YACC'ing more bullet proof.
2002-05-07 01:41:46 +00:00
David E. O'Brien
baef823236
The GCC target name does not always match our platform's name.
...
MFC: rev 1.61 (needed a different way to keep from multiple inclusion)
2002-05-07 01:26:58 +00:00
David E. O'Brien
66ecbefa3d
The HAVE_AS_GOTOFF_IN_DATA definition needs to depend on obj format.
2002-05-07 01:19:56 +00:00
David E. O'Brien
a5cc86f163
Add support for using the profiled versions of the C++ (and related) libs.
2002-05-01 19:19:22 +00:00
Garance A Drosehn
38a1326cad
Add many prototypes and ANSI-ize 'patch. Not a complete job of it, but it gets
...
our patch to look a little more like NetBSD's, and has the nice characteristic
that the object code is exactly the same after the change as before it (even in
patch.c and pch.c, which have pesky 'assert' statements in them).
Reviewed by: /sbin/md5 on i386, alpha, sparc64
MFC after: 3 days
2002-04-28 01:33:45 +00:00
Garance A Drosehn
a3df8483c8
Add FreeBSD id's to these files, in advance of a separate update.
...
MFC after: 3 days
2002-04-28 01:26:40 +00:00
Eric Melville
23b1419ddc
Move ID tag.
2002-04-27 19:57:22 +00:00
Garance A Drosehn
5343608723
Modify our 'patch' utility to recognize the
...
\ No newline at end of file
line that some versions of diff print out if the last line of the two files
are different, and one of the two files does not have a newline character
on that last line.
This change is still somewhat under discussion in -arch and -standards, but I
want to commit it to -current today so I'd have the chance to MFC it to -stable
before the code freeze for 4.6-release (which would be May 1st).
Note: the related change to 'diff' (so it might *generate* that line) is NOT
expected to be included in 4.6-release. We can debate that change later.
Obtained from: NetBSD (1.13 of basesrc/usr.bin/patch/pch.c, by kristerw)
MFC after: 4 days
2002-04-26 19:01:19 +00:00
Ruslan Ermilov
6bde859f40
Milestone #1 in cross-arch make releases.
...
Do not install games and profiled libraries to the ${CHROOTDIR}
with the initial installworld.
Eliminate the need in the second installworld. For that, make sure
_everything_ is built in the "world" environment, using the right
tool chain.
Added SUBDIR_OVERRIDE helper stuff to Makefile.inc1. Split the
buildworld process into stages, and skip some stages when
SUBDIR_OVERRIDE is set (used to build crypto, krb4, and krb5
dists).
Added NO_MAKEDB_RUN knob to Makefile.inc1 to avoid running
makewhatis(1) at the end of installworld (used when making crypto,
krb4, and krb5 dists).
In release/scripts/doFS.sh, ensure that the correct boot blocks are
used.
Moved the creation of the "crypto" dist from release.5 to
release.2.
In release.3 and doMFSKERN, build kernels in the "world"
environment. KERNELS now means "additional" kernels, GENERIC is
always built.
Ensure we build crunched binaries in the "world" environment.
Obfuscate release/Makefile some more (WMAKEENV) to achieve this.
Inline createBOOTMFS target.
Use already built GENERIC kernel modules to augment mfsfd's
/stand/modules. GC doMODULES as such.
Assorted fixes:
Get rid of the "afterdistribute" target by moving the single use
of it from sys/Makefile to etc/Makefile's "distribute".
Makefile.inc1: apparently "etc" no longer needs to be last for
"distribute" to succeed.
gnu/usr.bin/perl/library/Makefile.inc: do not override the
"install" and "distribute" targets, do it the "canonical" way.
release/scripts/{man,cat}pages-make.sh: make sure Perl manpages and
catpages appear in the right dists. Note that because Perl does
not respect the MANBUILDCAT (and NOMAN), this results in a loss of
/usr/share/perl/man/cat* empty directories. This will be fixed
soon.
Turn MAKE_KERBEROS4 into a plain boolean variable (if it is set it
means "make KerberosIV"), as documented in the make.conf(5)
manpage. Most of the userland makefiles did not test it for "YES"
anyway.
XXX Should specialized kerberized libpam versions be included into
the krb4 and krb5 dists? (libpam.a would be incorrect anyway if
both krb4 and krb5 dists were choosen.)
Make sure "games" dist is made before "catpages", otherwise games
catpages settle in the wrong dist.
Fast build machine provided by: Igor Kucherenko <kivvy@sunbay.com>
2002-04-26 17:55:27 +00:00
Eric Melville
a73fa39e64
When a compound section name is specified, search for pages that actually
...
match the requested section. Previously, the section would be trimmed and
every entry matching the page name would be displayed.
Sponsored by: Apple
2002-04-24 20:07:06 +00:00
David E. O'Brien
e5ccba11ac
Don't use "GCCDIR" as the multiple inclusion protector. Subdir Makefiles
...
may want to override GCCDIR and this gets in the way.
2002-04-23 00:10:18 +00:00
Mark Murray
9cc3cb3f28
Remove my MAINTAINER= from here, as it is in src/MAINTAINER
2002-04-21 08:03:25 +00:00
Mark Murray
116852511f
Tidy up some of the configs; s/gcc/cc/ to make the choice of C compiler
...
more generic. Fix paths for things like scripts (fix perldoc). Tweak
externally passed macros.
2002-04-21 08:01:31 +00:00
Ruslan Ermilov
71b3ac84e1
Replaced exists() tests with two equivalent defined().
...
LIBDIR is defined in bsd.own.mk but sys.mk no longer
includes bsd.own.mk as of revision 1.60.
2002-04-18 07:01:35 +00:00
Ruslan Ermilov
c2eaaece3c
*sigh* Really fix a typo.
...
Submitted by: bde
2002-04-16 06:34:59 +00:00
David E. O'Brien
c9a979c8a8
Fix typo.
2002-04-15 21:57:40 +00:00
David E. O'Brien
9d838dbb47
Remove the #ifdef IN_GCC junk. We *know* we are building GCC with these
...
bits. Also remove comment about keeping in sync with other instances in
the source tree -- it was too easy to get out of sync, so the other
instances now use this instance.
2002-04-15 03:41:47 +00:00
David E. O'Brien
d99ab028e5
Note that HAVE_GAS_SHF_MERGE is a new feature, and it can be surprising if
...
one does not know about it.
Experienced by: peter
2002-04-15 03:39:20 +00:00
David E. O'Brien
d6c4eef6dd
Turn off collect2.
...
collect2 was added based on the need of -frepo. However, -frepo is currently
broken on -CURRENT (Gcc 2.95.4 20020320 [FreeBSD] / ld 2.12.0 [FreeBSD]
2002-04-10). It is also broken on RELENG_4 (Gcc 2.95.3 20010315 / ld
2.11.2 20010719), so there is no need to MFC collect2 there yet. I have
a feeling the brokeness is due to the wide difference between the libiberty
bits of Gcc 2.95 and the later ld.
Testing by: fjoe
2002-04-15 03:15:40 +00:00
Andrey A. Chernov
d393af1752
Re-add sort spammed in v1.62
2002-04-13 05:49:33 +00:00
Eric Melville
a00e7d5452
Fix compilation in the non-FreeBSD case.
...
Sponsored by: Apple
2002-04-13 01:17:21 +00:00
David E. O'Brien
2af8b6958a
Updated to a 10-April-2002 2.12 branch snapshot.
...
This fixes serious problems in ld's symbol handling.
2002-04-12 19:59:42 +00:00
David E. O'Brien
596d4501ed
Use PTRACE_ARG3_TYPE of caddr_t.
...
Obtained from: gdb 5.2
2002-04-11 20:42:13 +00:00
David E. O'Brien
8089148b52
In the cross case we need to provide TARGET_MACHINE.
2002-04-11 18:40:37 +00:00
Ruslan Ermilov
5786a9cf4a
Revert the last change and mark the program as PROG_CXX.
2002-04-11 11:06:06 +00:00
Ruslan Ermilov
c573632aed
Use the new PROG_CXX knob.
2002-04-11 11:02:41 +00:00
David E. O'Brien
8f5dad4aa0
Update infodoc building for GCC 3.1.
2002-04-11 02:56:30 +00:00
David E. O'Brien
cb2a59bc57
In the cross case we need to provide TARGET_MACHINE.
2002-04-10 02:20:48 +00:00
David E. O'Brien
e228f1da77
Change YACCing.
...
Submited by: ru
2002-04-10 01:48:47 +00:00
David E. O'Brien
52db7826f2
Back out most of revision 1.59.
2002-04-10 00:18:14 +00:00
Peter Wemm
e82fc68223
move gperf to NO_GXX section, it works fine on ia64. It just needs a
...
c++ compiler.
2002-04-08 22:58:52 +00:00
Andrey A. Chernov
93e293bff0
Get decimal point from locale
2002-04-08 22:00:28 +00:00
Andrey A. Chernov
de47b2dadd
Connect sort
2002-04-08 20:46:44 +00:00
David E. O'Brien
9dcb449809
GCC and Gperf do not work on ia64 or sparc64 yet.
...
Also do not try to compile Groff if NO_CXX is set.
2002-04-08 20:38:56 +00:00
David E. O'Brien
9833f59b8c
Fine! I cannot freaking take the bikeshed any more.
...
These binaries will be static, peroid.
2002-04-08 18:48:38 +00:00
Andrey A. Chernov
4267c49d9e
Revive GNU sort
2002-04-08 12:12:07 +00:00
Ruslan Ermilov
ebf3e7c205
Add .Fx entries for upcoming 4.6 and forthcoming 4.7.
...
Requested by: asmodai
2002-04-08 11:20:50 +00:00
David E. O'Brien
bf4990bb76
Fix search path.
2002-04-07 08:05:33 +00:00
Peter Wemm
fffa0325f7
Add -lstdc++ to the link args for these C++ tools so that they can be
...
compiled with gcc-3.1. Somebody thought it was a good idea to move
the implementation of new and delete from libgcc to libstdc++. This
change doesn't harm the current compiler in the tree.
2002-04-07 02:40:55 +00:00
Peter Wemm
856bef3c17
Bandaid for LP64 machines where 'warning: cast to pointer from different
...
sized integer' bites. The various malloc functions return pointers,
but without any prototype/declarations visible to callers, the compiler
expects them to return int.
2002-04-07 01:44:24 +00:00
David E. O'Brien
9e3b001017
Bmake bits for GCC 3.1.
2002-04-06 23:18:01 +00:00
cvs2svn
4e6aeb72b4
This commit was manufactured by cvs2svn to create branch 'WIP_GCC31'.
2002-04-06 23:16:27 +00:00
David E. O'Brien
f99189726f
Break some things used by the front-ends from Makefile.inc that cannot
...
be used build-wide for GCC 3.1.
2002-04-06 23:16:26 +00:00
David E. O'Brien
dbb66afa0b
Build and install collect2. This is needed for some C++ programs.
2002-04-06 23:12:46 +00:00
David E. O'Brien
cf5eb7bb89
Break some things out of Makefile.inc that cannot be used build-wide
...
for GCC 3.1.
2002-04-06 22:37:19 +00:00
David E. O'Brien
a5cf1da8f8
Expand the toolchain a little bit.
...
Requested by: fjoe (collect2), des (protoize)
2002-04-06 09:35:06 +00:00
David E. O'Brien
bb5545c63e
Tell GCC 3.1 our capibilities.
2002-04-05 12:14:36 +00:00
David E. O'Brien
6d57d58120
A little more reorg.
2002-04-05 10:23:19 +00:00
David E. O'Brien
93c646073d
MFC: tidy up YACCing.
2002-04-04 19:44:34 +00:00
David E. O'Brien
051ab09117
Minor reorg.
2002-04-04 19:36:33 +00:00
David E. O'Brien
aeccb79001
Minor style tweak.
2002-04-04 19:26:13 +00:00
Dag-Erling Smørgrav
1ffdd815ce
Document new categories.
...
Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
MFC after: 3 days
2002-04-04 18:31:36 +00:00
David E. O'Brien
fda035bb2c
MFC: remove 2.6.3 cc_int shlib cruft and s/GNU_ARCH/TARGET_ARCH/g.
2002-04-04 18:30:57 +00:00
David E. O'Brien
953bfb1637
Remove some local cruft that snuck in yesterday.
2002-04-04 18:24:56 +00:00