Commit Graph

2419 Commits

Author SHA1 Message Date
mrg bcf0c1fd21 delete GNU gzip 1.2.4 sources. you can find them again by running
"cvs co -r gzip-1-2-4-before-deletion src/gnu/usr.bin/gzip".
2004-03-26 09:15:02 +00:00
mrg 1d5769dcfc switch over to mrg gzip. 2004-03-26 08:52:26 +00:00
skrll 44e60dd983 Fix forced MKPIC=no builds using the trick suggested by Luke. Thanks! 2004-03-18 19:48:15 +00:00
scw a8bb5642ca Results of mknative run with gcc3.3.3 on sh5el. 2004-03-17 09:02:06 +00:00
jdolecek c370e5310e switch awk to nawk; gawk sources will be removed after some grace period
change blessed by core@
2004-03-13 22:28:47 +00:00
skrll bda33b4f10 NO* variable re-order. No functional change. 2004-03-05 10:55:16 +00:00
wiz de65560a4a Bump PACKAGE_VERSION to 1.11.11 too, for consistency. 2004-03-04 19:57:04 +00:00
skrll d68db0e48c Oops! Remove harmless -DNH=${MKPIC} 2004-03-01 08:52:53 +00:00
wiz 15a3e59b1f Add FreeBSD 5.2 definition for ath(4). 2004-02-29 18:47:12 +00:00
skrll ce461bed68 Fix PR 24593.
XXX NOPIC and MKPIC need separating
2004-02-29 17:05:31 +00:00
skrll 0aae540257 Backout recent changes made to gnu/lib/libgcc3 for a forced MKPIC=no build.
Fix the behaviour of native and tools gcc when MKPIC=no is specified for
platforms that mknative has determined support shared libraries.

XXX distrib/sets/sets.subr doesn't support MKPIC=no
2004-02-27 14:52:01 +00:00
uwe 7a1ea12099 Work around toolchain/22489 (gcc optimization/11937) by compiling
function.c with -O0.
2004-02-22 01:24:25 +00:00
skrll f8314ad5e5 mknative sweep. mainly version string differences and STDC_HEADERs.
no need for the signbit stuff on sparc as libc got fixed.
2004-02-19 08:11:31 +00:00
skrll 7354ecab79 Re-run mknative for mipseb (sgimips). Should close PR 24438. 2004-02-16 16:06:38 +00:00
skrll b263dbdd73 Be more gcc like in the way we deal with libgcc so that sh3/hppa millicode
and exception handling have a chance of working properly.

        - creates libgcc, libgcc_eh and libgcc_s

        - updates LIBGCC_SPEC to use them appropriately.

          There's a hack in here at the moment with respect to libgcc_so in that it
          is preferable to link against libgcc_so will only when -shared-libgcc is
          specified (the c++ frontend does this automatically.) Configurations where
          LINK_EH_SPEC is defined already do this. The gcc configuration for
          NetBSD/alpha and another NetBSD platform (I forget which) actually define
          LINK_EH_SPEC probably by accident rather than design.

        - updates share/mk to use the compiler's knowledge of what needs linking into
          libraries and executables. This removes an hppa hack.

        - updates the sets for the newly created libgcc* files.

	- support for linking against the _pg version of libgcc has been removed.
2004-02-15 19:52:27 +00:00
simonb 3e7ae7aefb Re-run mknative with latest mknative-gcc. 2004-02-14 08:39:07 +00:00
skrll 13145e5f28 Results of re-running mknative for a few MACHINE_ARCHs 2004-02-12 22:34:57 +00:00
mrg 41ba62f48c - some libgcc3/Makefile updates for new mknative
- re-run mknative for ~nearly everyone
2004-02-11 16:22:51 +00:00
mrg 0e4a80d700 regenerate with GCC 3.3.3-pre20040209.
XXX: missing vax, sh3*, hppa
2004-02-11 04:04:02 +00:00
lukem 78f3b1bf18 use uname=${BINOWN} gname=${BINGRP} instead of uname=root gname=wheel 2004-02-09 06:52:34 +00:00
lukem 5ed2a261e5 cosmetic tweaks and MAKEVERBOSE support 2004-02-08 22:23:45 +00:00
lukem 25d2de94fe Document what BROKEN_SPOOLER_FLAGS 'add 16' is for, and add it to the
default broken flags.  groff 1.19 defaulted to this value off, whereas
groff 1.18.1 and earlier defaulted to this being on.  Setting this value
fixes postscript printing to my HP LJ4m.
Note: BROKEN_SPOOLER_FLAGS was previously `7', so we were already enabling
workarounds for other issues...
2004-01-27 01:00:09 +00:00
lukem 01e14c2ace fix previous (MKSHARE=no support) 2004-01-12 01:43:54 +00:00
lukem e7f5146b76 support MKSHARE=no 2004-01-12 01:01:55 +00:00
itojun 88aff973a4 bump version to 1.11.11. sync w/ config.h.in. noted by naoki fukaumi 2004-01-04 18:37:47 +00:00
nathanw 58e744664c Enable alpha kcore support. 2004-01-02 22:42:05 +00:00
jmc ce438b1c67 Needs USETBL or the ms man page comes out wrong. 2003-12-12 06:08:30 +00:00
nathanw 243cf32568 Alpha uses software single-step. Lost in the 5.0->5.3 conversion.
Addresses PR toolchain/23672.
2003-12-11 21:06:27 +00:00
dyoung 4758291178 Fix the checkflist for builds without Kerberos 4 (MKKERBEROS4=no)
and without Kerberos 4 & 5 (MKKERBEROS=no). Previously checkflist
complained of missing files.

* move kerberos- and kerberos 4-only files into new flists,
  distrib/sets/lists/*/krb.*

* make the flist generators grok MKKERBEROS{,4} variables

* fix Makefiles which treat MKKERBEROS=no as MKKERBEROS5=no.
  9 out of 10 experts agree that it is ludicrous to build w/
  KERBEROS4 and w/o KERBEROS5.

* fix header files, also, which treat MKKERBEROS=no as MKKERBEROS5=no.

* omit some Kerberos-only subdirectories from the build as
  MKKERBEROS{,4} indicate

(I acknowledge the sentiment that flists are the wrong way to go,
and that the makefiles should produce the metalog directly.  That
sounds to me like the right way to go, but I am not prepared to do
revamp all the makefiles.  While my approach is expedient, it fits
painlessly within the current build architecture until we are
delivered from flist purgatory, and it does not postpone our
delivery. Fair enough?)
2003-12-11 09:46:26 +00:00
matt cfbf1414f1 initial GCC3 support for VAX. (barely tested). No PIC support (aka no
shared libraries).  This is an initial step to full GCC3 support for VAX.
2003-12-08 03:33:13 +00:00
scw 9867e34ef7 - Work around a gcc3 ICE when building reload1.c at -O2 on sh5:
Compile reload1.c at -O1.

 - Work around a fatal warning when building function.c on sh5:
   Define NOGCCERROR to disable -Werror.
2003-12-07 19:56:59 +00:00
scw a72cb1203e MD glue for binutils on sh5. 2003-12-07 19:42:03 +00:00
simonb affca5fc17 Use -O1 to compile cppmacro.c on ns32k to avoid an ICE. 2003-12-07 12:51:43 +00:00
simonb df1bc575d0 Include gthr-single.h instead of gthr-posix.h on ns32k now. 2003-12-07 12:44:54 +00:00
scw 03aed749f0 Update for gcc 3.3.2 support (with in-tree binutils). 2003-12-07 10:02:45 +00:00
matt ed5964b611 Install the MMX/SSE/Altivec include files that gcc provides. 2003-12-05 18:56:11 +00:00
simonb 3952da3765 Add ns32k binutils 2.14 support. 2003-12-05 12:08:47 +00:00
simonb f0467a5c13 Add ns32k GCC3 support. 2003-12-05 12:05:32 +00:00
mrg 4dd4b4772e regenerate with a working compiler 2003-12-05 04:53:27 +00:00
mrg 51b0c7cbfa regenerate these such that they (mostly) work.. 2003-12-05 02:57:02 +00:00
keihan 3a8b7119a9 netbsd.org -> NetBSD.org 2003-12-04 23:32:37 +00:00
mrg 228f85d62e regenerate non-broken 2003-12-04 14:39:09 +00:00
mrg ce29aa2370 build lib{opcodes,bfd,iberty} back in gnu/lib instead of gnu/usr.bin/binutils
as they are needed earlier than when gnu/usr.bin/binutils is built when
"make -j" is used.
2003-12-04 09:29:31 +00:00
mrg 18f0c92069 delete these long long obsolete versions 2003-12-03 10:29:32 +00:00
mrg 2aa1a44c7a switch everyone to binutils 2.14. it's confirmed to work on all the
platforms that actually build at the moment...
2003-12-03 10:26:45 +00:00
mrg 099de62e9e new configurations for all supported platforms tested and known working
on these platforms so far:
	- alpha, arm, i386, mipseb, mipsel, sparc64
built but not yet tested on:
	- armeb, sparc, amd64
build errors (mostly not related) on:
	- hppa, m68000, m68k, macppc, sh3el, sh3eb, vax

XXX again this is not everything required; many other changes in
XXX already used files are left out.
2003-12-03 06:53:48 +00:00
nathanw 1a4f33e2db Move _initialize_corelow() back to before _initialize_nbsd_thread() so that
threaded core debugging is enabled.
2003-12-01 17:54:41 +00:00
simonb 9c8a6768e6 Revert 2.14 mknative (with expanded local paths!) while we're forced at
2.13.2.1; needed to get clean -current building again.
2003-11-28 05:16:19 +00:00
simonb d95b3733ab Revert part of binutils 2.14 framework; needed to get clean -current
building again.
2003-11-28 05:14:18 +00:00
mrg d409bb8e80 framework to build binutils 2.14. note lib{bfd,opcodes,iberty} framework
is moving here, keeping everything together.

tested with: vax (old config), mac68k (old config), i386 (new config)
and shark (new config).  tested i386 binaries only so far, but the
system seems to be surviving the self-hosted test.

XXX: note that this isn't *all* the bits required to run a binutils
2.14 world for arm or i386; these will come soon enough...
2003-11-27 15:02:21 +00:00
mrg 8533021b27 gdb 5.0 is gone. 2003-11-27 10:52:02 +00:00
uwe 633913b2b3 Add ifdefed inits for TUI and if 0'ed _initialize_nbsd_thread (not yet). 2003-11-24 01:59:59 +00:00
uwe c9a82b254b DEFAULT_BFD_VEC should be little endian bfd_elf32_shlnbsd_vec. 2003-11-24 01:58:22 +00:00
lukem b7b564a26d add fini.lo to CLEANFILES 2003-11-16 22:49:48 +00:00
lukem 263786182a support MAKEVERBOSE 2003-11-16 16:29:04 +00:00
lukem 59c9b264d0 Use .lo for host tool objects.
Use CPPFLAGS.file correctly (CPPFLAGS.foo.c _not_ CPPFLAGS.foo.o !)
Support MAKEVERBOSE.
Be consistent about make(1) variable use.
2003-11-16 16:24:48 +00:00
matt 8c60671ca9 Add thread support. 2003-11-10 21:59:58 +00:00
matt 0ef98a7702 Make version 5.3nb1 2003-11-10 21:49:14 +00:00
matt e2bf0dc236 Enable nbsd-thread.
Make version 5.3nb1.
2003-11-10 21:48:48 +00:00
ragge 587d7055bd Set optimizing to -O0 for vax (was -O1 before), otherwise awk
gets internal errors when used.
2003-11-08 17:17:59 +00:00
mrg 57ddb40e82 be sure to default to bfd_elf32_bigarm_vec not bfd_elf32_littlearm_vec 2003-11-07 07:31:44 +00:00
mrg 68002eaa4a build ra-colorize.c with -O0 until the bug that causes it to have dozens
of undefined references to local symbols is fixed.
2003-11-05 00:05:48 +00:00
hannken 83bd54e877 Add "target kcore" to gdb53/sparc64.
Taken verbatim from the old gdb in src/gnu/dist/toolchain/gdb.

Approved by: Christos Zoulas <christos@netbsd.org>
2003-11-04 19:33:39 +00:00
scw 437384a077 Regen for TARGET_ENDIAN_DEFAULT=ARM_FLAG_BIG_END fix in config.gcc. 2003-11-04 14:46:59 +00:00
wiz 9678ca7caa Install grohtml(1). 2003-11-03 17:05:28 +00:00
hannken 3f72313b8e Add "target kcore" to gdb53/sparc.
Taken verbatim from the old gdb in src/gnu/dist/toolchain/gdb.

Approved by: Christos Zoulas <zoulas@netbsd.org>
2003-11-02 20:59:28 +00:00
uwe 1d729d7bc4 First cut at implementing software single stepping for sh3. We need
it because sh3 ports don't provide PT_STEP.  It is finally possible to
run programs under gdb now, though there are still issues to be
resolved.  It was deemed useful enough to commit early, while the work
is still in progress.  Tested on hpcsh.

Blessed by christos@.
2003-10-31 00:11:27 +00:00
lukem ad700b72aa replace $(SHELL) with ${HOST_SH} 2003-10-28 02:51:56 +00:00
uwe 375b04dc77 Default to the little-endian bfd_elf32_shlnbsd_vec. 2003-10-28 01:58:23 +00:00
mrg e2c8806fcf compile (but not run-time) tested sh3eb-netbsdelf-gdb support. 2003-10-28 01:21:37 +00:00
uwe 398db2f8fd Item 1 - mention that you can configure and build in a scratch
directory, thus saving the trouble of doing distclean and cvs update.

Item 4 - it's defs.mk, not defs.h.

New bullet - in defs.mk set G_BFD_CPPFLAGS from `tdefaults' variable
of the generated bfd/Makefile.
2003-10-28 01:12:11 +00:00
mrg d103a27279 compile-tested sun2 support for GDB 5.3. 2003-10-27 23:56:55 +00:00
mrg 1b3f9cdd10 revert previous 2003-10-27 23:56:14 +00:00
mrg 42f41e65c7 mostly working configuration updates for sun2.
XXX - gcc3/backend/ra-colorize.c gets built wrong and the backend programs
XXX   fail to link.
XXX - mdsetimage & installboot/ffs.c get an unrecogised instruction ICE.
2003-10-27 16:55:32 +00:00
mrg a4697adcfc change "cc -dumpversion" back to "3.3.2", as per old behaviour.
should fix PR#23280.
2003-10-27 16:43:29 +00:00
mrg 2f6aa47ade compile (but not runtime) tested support for armeb-netbsdelf-gdb 5.3 2003-10-27 16:36:19 +00:00
mrg 8d8c032590 add armeb-netbsdelf GCC3 support. (not tested) 2003-10-27 01:37:08 +00:00
wiz 51677832e7 Close parentheses. 2003-10-27 00:57:04 +00:00
christos 94920a3392 Add the declarations in init.c too (mentioned by Christian Limpach) 2003-10-26 17:49:24 +00:00
christos f9f34b91b1 Add a guide on how to add new NetBSD platform support to gdb. Requested by
mrg.
2003-10-26 17:18:04 +00:00
lukem f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
lukem 857ab1bdd0 use ${HOST_SH} instead of /bin/sh 2003-10-26 03:50:07 +00:00
lukem 414f1003f0 don't need to set SHELL=/bin/sh 2003-10-26 03:49:39 +00:00
matt 6e23d936ae More fixes. 2003-10-25 19:02:07 +00:00
matt 1b7561a047 Add VAX GDB 5.3 support. 2003-10-25 18:24:58 +00:00
matt 3e45a9f0c7 Fix library order so that -static will work. 2003-10-25 18:24:23 +00:00
dmcmahill a2cc19e091 avoid trying to do "for f in ; do ..." which breaks while crosscompiling
on certain non-netbsd host.  Approved by Matthew Green, mrg at netbsd.
2003-10-25 02:42:00 +00:00
seb e8b3aed4d7 Update version reported by gcc -dumpversion: it is now `3.3.2-nb1'
not `3.3.1' as before and neither `3.3.2'.

Approved by mrg@.
2003-10-23 09:59:25 +00:00
skrll a69cb4cc55 ARM thread support.
- add or expose {supply,fill}_{fp,g}regset functions
	- add lwpid to ptrace calls
2003-10-21 19:07:36 +00:00
lukem 130ab7336b Rework how MAKEVERBOSE operates:
*	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
wiz c8a5e4585e Enable HAVE_MKTIME manually; the configure script fails since it
checks a weird corner case.
Should fix building platforms without shared libs.
Requested by Chuck Silvers.
2003-10-20 17:07:38 +00:00
lukem 3fc127cd66 Support MAKEVERBOSE
Use ${HOST_SH}
Use BUILDSYMLINKS
2003-10-20 01:15:03 +00:00
lukem 46948f220d * Support MAKEVERBOSE
* Implement GROFFYSRCS, which contain a list of .y files to convert into
  .cpp and _tab.h.  Simplifies .y -> .cpp (et al) .
* Use "realall" target instead of "dependall"/"install" to ensure that
  various files are created correctly.
2003-10-20 00:54:36 +00:00
wiz 5e43ad3add Add 1.4.1 and 1.6.2. 2003-10-19 08:58:52 +00:00
matt 8df2ba29a1 Skip build of {binutils,cvs,gcc compilers,gdb} if
MK{BINUTILS,CVS,GCCCMDS,GDB} == no, respectively
2003-10-18 23:44:46 +00:00
lukem 9da74b23ca Don't auto-frob .y or .l files. 2003-10-16 03:33:28 +00:00
fvdl 9558d5998a Add NetBSD kcore support. 2003-10-14 22:59:59 +00:00
fvdl e67583ab9d NetBSD support for the x86_64 target. 2003-10-14 02:02:17 +00:00
chs 8868d13163 bring over the rest of the IN_SIGTRAMP() hack from the old gdb so that
gdb builds on the sun3.  jason sez "check that in, for now".
2003-10-12 01:05:36 +00:00
enami de00b9ee01 Serialize the build of backend and frontend, since the latter requires
header files created during the former is built.
2003-10-11 05:16:18 +00:00
matt 926373d2c9 Turn on HAVE_GAS_HIDDEN. 2003-10-07 02:19:18 +00:00
veego 982d95a75b Fix part 3 of toolchain/23067 while adding a depend target to the
dependall and all targets which build libiberty.
Fix from mrg.
2003-10-06 21:40:32 +00:00
wiz d6fe0c8983 Update for 3.1.3. 2003-10-06 16:50:39 +00:00
matt 39caecb211 Add in-tree toolchain support for HPPA. 2003-10-06 05:10:13 +00:00
wiz 8d0f21a650 Fix regexo in previous. 2003-09-30 20:11:26 +00:00
wiz 084f5623b9 Prepend doc- to have the same names as the groff distribution
(stripped out by strip.sed during installation).
2003-09-30 20:10:14 +00:00
christos f0925fbf15 Add -I${DIST} to pull the right readline header. 2003-09-26 20:01:28 +00:00
skrll cb958e7b00 First cut at ARM support. Not tested. 2003-09-26 19:59:14 +00:00
skrll c51a5a7eab .c->.o 2003-09-26 19:49:41 +00:00
skrll 76521c5eab Need to look in ${DIST}/bfd on ARM. 2003-09-26 19:45:48 +00:00
christos 4f6b2d371c Switch gdb to use libedit for now. 2003-09-26 17:51:18 +00:00
christos 15d85836fb Make TUI optional. 2003-09-26 17:37:56 +00:00
tron d7e742e438 Move inclusion of "Makefile.backend" a bit further up again to fix
build failures.
2003-09-26 06:55:48 +00:00
tron 1c9e757817 Include "Makefile.backend" at the end so that "CLEANFILES" definitions
are not ignored.
2003-09-26 06:53:30 +00:00
christos ab4bd3a7b4 Build with setxid support. 2003-09-25 16:10:52 +00:00
matt ca2905b022 GDB 5.3 support for Alpha 2003-09-24 06:16:48 +00:00
matt be53bdf66a Regen some powerpc files. Disable sim for now. 2003-09-24 02:36:10 +00:00
uwe f632d9218f #undef WITH_SIM 2003-09-24 00:08:28 +00:00
matt be717f0864 Add GDB 5.3 powerpc bits. 2003-09-23 23:11:39 +00:00
cl 0af731d2e2 enable pthread debugging 2003-09-23 13:32:52 +00:00
cl caadee30ed enable target kcore 2003-09-23 13:10:32 +00:00
matt 5d47b7eb8c Add a .PATH dependency on the target's gcc config directory. 2003-09-23 09:04:40 +00:00
matt 65f3d076cb Regenerated powerpc--netbsd files. 2003-09-23 07:31:54 +00:00
cl 4f2222cf82 make gdb53 work on m68k
- fix elf core register access
- add elf abi detection
2003-09-23 01:52:41 +00:00
cl b60a501123 remove double initialize_corelow 2003-09-23 01:11:48 +00:00
uwe df0d1f49b1 sh3el support for gdb-5.3. Bootstrapped on hpcsh. 2003-09-21 21:14:49 +00:00
christos 5deb330b87 add kcore init function. 2003-09-20 06:22:31 +00:00
mrg f9975d193b add a HAVE_GDB53 switch. defaults to no one yet. 2003-09-18 23:17:55 +00:00
fvdl 283f565a54 Add missing libiberty glue for x86_64 previously missed. 2003-09-14 18:41:56 +00:00
martin d911902f25 init.c changes from i386 and add coresponding *.o files. 2003-09-14 10:15:47 +00:00
martin f991b22fae init.c changes from i386 and add the coresponding *.o files. 2003-09-14 10:14:20 +00:00
martin 6e85ed96e0 Disable lint. 2003-09-14 09:50:15 +00:00
cl 7820cb5d26 remove xm.h 2003-09-13 20:02:29 +00:00
cl b4f47506dc Add m68k support. 2003-09-13 19:45:15 +00:00
martin d6526e7e34 Add support for sparc. 2003-09-12 20:27:53 +00:00
simonb a76e5579f8 Add mipseb and mipsel gdb53 support files. 2003-09-12 06:42:29 +00:00
wiz 05686e9c80 While we provide gettimeofday, it's only needed by texindex if
mkstemp is not found.  The configure test for gettimeofday is thus
only run in that case, which explains why HAVE_GETTIMEOFDAY was
not defined by default in the resulting config.h.  Since we don't
need gettimeofday, don't define HAVE_GETTIMEOFDAY manually to
simplify updates to this file.

Add RCS Id.
2003-09-09 12:55:10 +00:00
wiz 25b876c602 Remove hyphen-flags override; was only here for the
switchover phase, default is better.
2003-09-08 18:07:30 +00:00
wiz 51f064e734 Remove St -isoC9X aliases. 2003-09-08 17:55:22 +00:00
wiz 8a4bc21866 Remove St -xns5.2d2.0 -- unused now (inet(3) was only user). 2003-09-08 17:22:18 +00:00
wiz 38f443bb93 Remove local ENABLE_NLS patches which were added for smaller executable
size -- however, these binaries won't end up on bot floppies, so it's
not necessary, and less diffs to the original are better.
Ok'd by itojun.
2003-09-08 13:33:00 +00:00
fvdl e8c1bb7ea8 Remove file generated by older version of mknative-gcc. 2003-09-08 00:26:59 +00:00
fvdl 0135fe160a x86_64 gcc3 and binutils glue. Not yet used. 2003-09-07 21:24:53 +00:00
christos 290a9a3926 we are going to have sa_sigaction, when we get siginfo. 2003-09-06 09:43:34 +00:00
christos 65d230c880 Fix core handling, from Stephen Degler. 2003-09-06 09:41:52 +00:00
mrg 57b205e71d in-tree toolchain support for sh5el. not really tested yet, but it
seems to mostly work..  libcurses.so fails to link with an out of memory
error i haven't looked at yet, and nothing has actually been run..

XXX: gdb53 missing.
2003-09-04 04:34:14 +00:00
mrg cd7d35dbec install a "cccp" man page for now. 2003-09-04 04:19:08 +00:00
mrg 02fdaf3a7a backout rev 1.16 (wrong tree), and 1.17 and 1.18 trying to fix 1.16... 2003-09-04 04:17:01 +00:00
drochner 38b8690553 make the cpp.1 thing really work 2003-09-03 14:21:51 +00:00
drochner ba1560352b make the cpp.1 thing work 2003-09-02 20:01:59 +00:00
mrg 1e69032f26 forgot these with:
introduce an additional switch to enable building GCC3 instead of GCC2:
HAVE_GCC3.  if this is set, we also set USE_TOOLS_TOOLCHAIN=no.  change
the definition of the former to be restricted to whether tools/toolchain
is used or not.
2003-09-02 06:36:22 +00:00
mrg 6ba749b625 install a "cccp" man page for now. 2003-09-02 05:23:06 +00:00
matt 9de4f868de Regenerated. 2003-08-31 19:45:25 +00:00
mrg 1a086c6b25 introduce an additional switch to enable building GCC3 instead of GCC2:
HAVE_GCC3.  if this is set, we also set USE_TOOLS_TOOLCHAIN=no.  change
the definition of the former to be restricted to whether tools/toolchain
is used or not.
2003-08-27 16:03:17 +00:00
mrg 33eed2cc61 regenerate 2003-08-25 06:09:11 +00:00
mrg bde3717628 regenerate. 2003-08-22 16:01:12 +00:00
mrg 74cfa6bb4b regenerate 2003-08-22 09:46:57 +00:00
uwe 96538bcf9e * add ${GCCARCH} to .PATH to make hconfig.h a real file target.
* use ${G_HCONFIG_H} instead of hconfig.h as a dependency.
* hconfig.h: auto-build.h dependency is bogus, remove.
* misc cleanup of ".c depends on .h" -> ".o depends on .h"
* options.h was missing from CLEANFILES.

With these changes running make in this directory doesn't do a
*complete* rebuild anymore.  Still not foolproof, because gen* host
tools do not overwrite generated files that are not changed, so we
really need to use stamp file style dependencies for those, like gcc
makefile does.

Ok by Matthew Green <mrg@netbsd>.
2003-08-22 03:06:32 +00:00
mrg 023ae3cdb4 regenerate 2003-08-22 02:45:22 +00:00
uwe acd641f87d Add -I${BACKENDOBJ} to HOST_CPPFLAGS so that `fini' host program can
find auto-build.h.

Fixes PR/22497.
Ok by mrg@.
2003-08-19 01:13:25 +00:00
christos eb60ee7b60 Do not install the libraries (from Stephen Degler) 2003-08-18 22:49:16 +00:00
christos dfb81d79ab undo previous accidental commit. 2003-08-18 16:46:55 +00:00
martin 17e3c1d4f1 Add sparc64 support.
XXX - lint does not yet work - it undefines __GNUC__ and this breaks bfd.h.
2003-08-18 00:28:11 +00:00
martin 0fffc3d101 Move bfd.h to arch dependend directory - the generated bfd.h differs
slightly between 64bit and 32bit archs.
2003-08-18 00:25:23 +00:00
christos f399648bb7 forgot to add this one too. 2003-08-17 23:00:20 +00:00
christos a550ab6960 forgot to commit this. 2003-08-17 22:54:56 +00:00
christos 83a51582a8 try to commit again 2003-08-17 18:03:25 +00:00
christos 03a450b1a6 update for multiple dir build. 2003-08-16 21:53:58 +00:00
christos baa8a63141 Remove unused lines. 2003-08-16 16:03:05 +00:00
christos df57fab11f Adjust to 5.3 2003-08-14 18:20:47 +00:00
christos f412635e2b Move MI stuff into the Makefile 2003-08-14 18:18:05 +00:00
christos 52548ed6ed Adjust to 5.3... 2003-08-14 18:10:09 +00:00
christos f2fb83f010 x86 gdb-5.3 support. 2003-08-14 17:40:54 +00:00
mrg b66a12790c - delete generated-for-i386--netbsdelf auto-build.h
- generate an auto-build.h at build time the same way ./configure does
- add dozens of missing dependancies
2003-08-11 07:34:03 +00:00
mrg 032a2c7f24 add dependancies "make depend" needs to know about. fixes PR#22389 2003-08-09 12:04:55 +00:00
mrg 3b9c25da9b install cpp.1 and now that g++.1 is just ".so man1/gcc.1", instead link
g++.1 (and c++.1) to gcc.1 in our install tree.
2003-08-04 06:58:19 +00:00
matt 4e5cf29ef5 Add new files for gcc3 from native-gcc build. (alpha distribution builds
now successfully build).
2003-08-02 18:47:40 +00:00
lukem a93ea220fc Rework how dependency generation is performed:
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
mrg 95cc5b8954 regenerate 2003-08-01 13:56:59 +00:00
lukem d913007a1a Explicitly add dependencies for foo.cpp from foo.y.
Ensures that foo.d is correctly built from foo.cpp and not foo.y->foo.c.
2003-08-01 10:36:42 +00:00
lha a6393a1286 libkrb depends on libdes (add)
libkrb5 depends on libcrypto (move from comon part)
2003-07-31 10:02:22 +00:00
matt 53808daf5c Regenerate gcc3 configuration for alpha 2003-07-30 06:22:54 +00:00
mrg 2c5b77b2d3 - find gthr-default.h for libgcc3
- adapt for gcc3/libiberty change
- regenerate
2003-07-30 05:33:25 +00:00
uwe bd362fbfba Adapt to bsd.dep.mk changes. 2003-07-29 23:31:46 +00:00
mrg 4c2873d8a0 define DEFAULT_TARGET_VERSION and DEFAULT_TARGET_MACHINE again. 2003-07-29 07:26:23 +00:00
mrg 9f1ca98b0a regenerate with --enable-threads 2003-07-29 06:49:53 +00:00
uwe 7c38c5c675 Adapt to bsd.dep.mk changes. 2003-07-29 00:13:21 +00:00
lukem eb51573bd7 Use ${DEPENDSRCS} as a target instead of .depend, now that
<bsd.dep.mk> builds .depend from .dep files.
2003-07-28 15:25:02 +00:00
lukem a9eaf614a5 replace MKCXXSUPCXX=yes with USE_LIBSTDCXX=no 2003-07-28 08:54:39 +00:00
lukem d706431f82 change from CXX_SUPCXX=1 to MKCXXSUPCXX=yes 2003-07-28 07:04:17 +00:00
mrg 57dc195231 build-tested support for m68000, m68k, sh3el and sh3eb.
XXX: sun2 seems to be currently generally busted but most of the world
     builds.  of course it is untested..
XXX: sh3* and -pg goes BOOM with gcc3.3... it generates code that uses
     the same labels twice... need to set NOPROFILE for now.
2003-07-27 14:41:32 +00:00
mrg a2a84f63a0 regen 2003-07-27 14:17:02 +00:00
mrg 354caa5839 add working alpha support - including working cross builds from x86 2003-07-27 05:10:47 +00:00
mrg 5e6550b28e working mips support (mipsel runs fine, mipseb compiles, untested so far) 2003-07-26 18:41:26 +00:00
mrg 9654542bdb working gcc3 support 2003-07-26 15:23:19 +00:00
mrg 18fe568bf8 set CXX_SUPCXX if we're using gcc3 2003-07-26 15:03:27 +00:00
mrg 2aad222f64 need a host rule for dummy-conditions.c 2003-07-26 15:02:52 +00:00
mrg 2b1bcb2757 oops, don't need this one here. 2003-07-25 18:58:44 +00:00
mrg bad540d079 clean up and fix a couple of build-from-cleandir problems 2003-07-25 17:19:22 +00:00
mrg ae9855d2fe maybe build gcc3 instead of gcc2 2003-07-25 16:57:06 +00:00
mrg a9fc136dbd new reach-over infrastructure (largely based on GCC2.95 one) that (mostly)
works.  sparc & i386 support is included here.  libstdc++-v3 does not yet
properly build for some strange reasons (that may be due to broken netbsd
header files, it's not yet clear) but i have been able to compile, link and
run both i386 & sparc hello.c.
2003-07-25 16:32:23 +00:00
lha 2004b22e25 -DENCRYPTION is for both krb4 and gssapi support, so move it to shared section 2003-07-24 00:25:24 +00:00
itojun 1747522bb0 split MKKERBEROS4 and MKKERBEROS (forgot to commit) 2003-07-23 23:20:35 +00:00
lukem f134f3dc38 Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was defined.
Replace defined(UNPRIVED) tests with ${MKUNPRIVED} != "no"

Add MKUPDATE; if not no has the same semantics as if UPDATE was defined.
Replace defined(UPDATE) tests with ${MKUPDATE} != "no"

Improve documentation for these and other make flags.
2003-07-18 08:26:01 +00:00
martin 096118cb48 Move the local "dependall" target to Makefile.dev, since not all subdir
Makefiles include Makefile.tty. Hint from seb.
2003-07-06 18:43:36 +00:00
martin 19f1f93fa0 There is no ${RPOG} or ${SCRIPT} in here, so bsd.prog.mk doesn't realy
build anything for the "dependall" target. Explicitily let it do the
same as the "all" target.
2003-07-05 22:02:59 +00:00
christos 671e251af7 PR/21819: Jeremy Reed: znew and gzexe create/use unsafe tmp files. Replaced
with the FreeBSD current version.
2003-07-05 02:34:28 +00:00
wiz 04fb23b84a Add libevent. 2003-07-04 12:20:11 +00:00
wiz 7245847e34 Update for 4.6. 2003-07-03 15:39:59 +00:00
wiz 60e3307ec0 Install Romanian locale too. 2003-07-03 15:17:47 +00:00
tron 1d37b173ee Uncomment "CLEANFILES" assignment accidently disabled by the last commit. 2003-07-03 11:46:46 +00:00
lukem d35c969759 Use FILESDIR_foo=${TMACDIR} instead of FILESNAME_foo=../foo .
Fixes problem with UNPRIVED builds.
2003-07-03 07:10:45 +00:00
wiz 3377068dd2 Add missing .endif. Noted by Juan RP. 2003-07-01 13:58:37 +00:00
wiz 689ab69cfe Remove traces of psroff (obsoleted during groff-1.16 import) 2003-07-01 13:49:29 +00:00
wiz 22f5bf9166 Remove some unused code. 2003-07-01 13:48:24 +00:00
agc 36175775de Make this work for unprivileged installation, too. With thanks to wiz, mrg
and simonb.
2003-07-01 13:45:45 +00:00
wiz 7f9ffda65e Remove 1.5K (pfil(9) changed). 2003-07-01 13:04:32 +00:00
mrg 7651047e58 give lex.cpp expclit dependancies for generated files so that "make all" as
well as "make dependall" works.
2003-07-01 12:38:09 +00:00
mrg 314a2bbe7a add .WAIT after libs... 2003-07-01 12:29:08 +00:00
wiz 761f6b4f67 Add 1.5K for pfil(9) -- we should probably reword that instead. 2003-07-01 10:30:22 +00:00
wiz d8cc6c605d The default section names are fine; remove overrides. 2003-07-01 09:59:50 +00:00
wiz 1d6bda4770 Generate eqn_tab.h and eqn.cpp. 2003-07-01 08:26:30 +00:00
mrg f7e28a013d fix a cutnpaste error in previous comment. 2003-07-01 08:20:37 +00:00
mrg ab3bb21eb4 note why YHEADER is not appropriate here. 2003-07-01 08:19:29 +00:00
mrg bc2e3e8318 pic/refer:
- set YFLAGS=-d
pic:
- remove pic_tab.h from SRCS.
2003-07-01 08:16:54 +00:00
wiz cfb68b0dce Add NetBSD RCS Id. 2003-06-30 18:47:40 +00:00
wiz 25ef1dbed7 Add man.local. 2003-06-30 18:41:24 +00:00
wiz bf7bd150bb Make groff-1.19 build on NetBSD. 2003-06-30 18:40:50 +00:00
wiz 97a4aa1713 Replace old build structure with FreBSD one (local changes in next commit). 2003-06-30 18:34:08 +00:00
wiz 606591d35c Import groff-1.19 build structure from FreeBSD. 2003-06-30 18:19:53 +00:00
wiz 34e25a94c7 Fix one option in option list. 2003-06-27 08:25:04 +00:00
perry cd2741bcae Re-remove admin, port-arm32.
They were removed intentionally the first time.
2003-05-30 13:42:18 +00:00
fair 1f49a3d273 Add many missing categories. 2003-05-29 01:22:19 +00:00
thorpej 9ece9fecbc Run mknative to regenerate for binutils 2.13.2.1. 2003-05-26 02:18:01 +00:00
wiz a85b205894 Remove port-arm32. 2003-05-10 09:11:10 +00:00
salo b8f5bcd816 Sync ports with reality. 2003-05-10 00:06:09 +00:00
thorpej 590fe82698 Use MKPICLIB to determine if we should have a dependency on the .a or
_pic.a version of the library.
2003-04-11 22:46:02 +00:00
thorpej 9c04149fde If ${MKPIC} is not "no", then depend on the _pic versions of libbfd
and libopcodes.  Otherwise, depend on the regular library.
2003-04-09 22:38:24 +00:00
thorpej 95a4fbc55c Only do the nbcompat dance is USETOOLS == yes.
Should fix PR bin/20997.
2003-04-04 00:25:07 +00:00
wiz d965c0314d VAX, not Vax. Igor Sobrado in PR 19678. 2003-03-30 20:55:47 +00:00
wiz da8cf668e4 Fix spelling of acknowledgement. From Soren Jacobsen in PR 20726. 2003-03-15 22:04:56 +00:00
thorpej 61f1ee2222 Link back-end helper host tools against libnbcompat. 2003-03-14 03:44:11 +00:00
mrg bcc7fbc456 regenerate all this files with correct man_MANS and TEXINFO, and 'generated
from' lines.  this should fix set lists problems with missing binutils man
pages and info manual.
2003-03-05 07:19:13 +00:00
jdolecek d3e0e12a79 move gawk to separate line, so that it's easier to comment the entry out 2003-03-02 18:22:01 +00:00
mrg 331f9d9c1a update / regenerate for binutils 2.13.2.1 2003-03-01 13:09:11 +00:00
mrg 866f7891df update / regenerate for binutils 2.13.2.1 2003-03-01 13:09:09 +00:00
mrg f2f9754b55 update / regenerate for binutils 2.13.2.1 2003-03-01 13:08:42 +00:00
wiz cd2db110c5 Add IDIST variable to avoid having to duplicate paths. 2003-02-14 08:25:36 +00:00
wiz e759cc834f Update for 4.5. 2003-02-13 09:01:13 +00:00
wiz 657e871433 Update for grep-2.5.1. 2003-02-13 07:55:08 +00:00