Commit Graph

4172 Commits

Author SHA1 Message Date
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
952f507549 pull across a patch from .../toolchain/gcc/gcc.c that removes a whole
bunch of unrequired (and problem-causing) paths from various lists.

set (new) TOOLDIR_BASE_PREFIX and STANDARD_BINDIR_PREFIX defines in the
#ifdef NETBSD_NATIVE case as well as several other *_PREFIX defines.
2003-07-29 07:20:21 +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
b7a9236e8e set GNUHOSTDIST 2003-07-28 02:53:24 +00:00
mrg
975645453d *correctly* regenerate with correct non-hardcoded paths 2003-07-28 02:39:34 +00:00
mrg
30c88832e7 regenerate with correct non-hardcoded paths 2003-07-28 01:31:15 +00:00
mrg
3335e363cf turn back on profiling - thanks luke 2003-07-28 01:10:51 +00:00
mrg
30e5f75620 rework an expression to avoid 32 bit overflow 2003-07-27 15:16:54 +00:00
mrg
127fd99434 avoid redefining a symbol differently 2003-07-27 15:13:39 +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
5a8170433a actually build libstdc++-v3 now.
XXX NOPROFILE has been set as for some very very very strange reason i
don't understand yet this is causing the compiler to barf...
2003-07-27 14:38:57 +00:00
mrg
0d07d92566 regenerate 2003-07-27 14:34:43 +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
6a0101cabe #if 0 an assert that is always false. XXX not really always... 2003-07-27 05:03:51 +00:00
mrg
5e6550b28e working mips support (mipsel runs fine, mipseb compiles, untested so far) 2003-07-26 18:41:26 +00:00
dsl
f2eecf77ab Define and use xasprintf() so that memory allocate errors are reported. 2003-07-26 16:06:44 +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
5a9a1bb768 - build/install a libsupc++.a
- clean up commented & wrong rules
- find the right bits/ headers for sparc64 & arm
- make sure libsupc++/libstdc++ have all the symbols from libiberty they want
- disable the build of libstdc++ for now (but keep the includes installing)
2003-07-26 14:55:12 +00:00
mrg
9a2ca8e117 working arm & sparc64 support 2003-07-26 14:48:06 +00:00
dsl
d1fbc02d92 This should fix the recent cvs breakage - PR bin/22276
Use asprintf() instead of malloc(), sprintf() pairs.
Now that CVSADM_xxx is getCVSdir("xxx"), sizeof CVSADM_xxx isn't quite right!
(Who knows why gcc doesn't error 'sizeof function()' though?)
Note this compiles, but isn't tested (yet).
2003-07-26 14:36:18 +00:00
lukem
d028397570 Disable rules that attempt to update parse.c from parse.y.
Implemented using a method recommended by Chris Demetriou on source-changes.
2003-07-26 12:02:21 +00:00
christos
0f6cc2d0c8 Document -D 2003-07-25 20:39:25 +00:00
christos
e6a5f61128 Add -D dir option to be able to specify where cvs stores its bookkeeping files
(default to CVS as usual).
2003-07-25 20:37:31 +00:00
mrg
82dc526688 make sure tconfig.h exists before .depend 2003-07-25 19:20:07 +00:00
mrg
2b1bcb2757 oops, don't need this one here. 2003-07-25 18:58:44 +00:00
mrg
e70774a5af oops, we need the generated-manpages target still. 2003-07-25 18:38:18 +00:00
mrg
5e7d44a059 comment some more rules that update read-only source trees 2003-07-25 18:33:19 +00:00
mrg
80b751809f - comment the rules to rebuild .info files into $srcdir.
- don't try to link the (not yet built!) target libiberty.a for host programs(!)
2003-07-25 18:06:03 +00:00
mrg
20c6cdf6dc make `cpp -gcc' the default on NetBSD. 2003-07-25 17:57:41 +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
mrg
731484776c merge import conflicts. 2003-07-25 09:04:06 +00:00
simonb
f8d975a54e Add rev 1.48 from binutils:
date: 2003/03/14 21:07:54;  author: drow;  state: Exp;  lines: +1 -0
	ppc-opc.c (powerpc_opcodes): Readd tlbre for PPC403.
2003-07-24 03:40:17 +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
mrg
1da79fd671 initial import of GCC 3.3 sources. (this is the latest GCC 3.3.1
prerelease snapshot, 3.3.1-20030720, we will update to 3.3.1 when
it becomes available.)
2003-07-23 02:40:42 +00:00
lukem
70e86ffb8d add more rules to disable default '.cc -> NULL' transforms,
because the default rules cause problems if "valarray.cc" is newer
than "valarray" (for example)
2003-07-22 02:52:37 +00:00
wiz
fade40fe67 Add patch from groff repository:
revision 1.5
date: 2003/07/18 07:00:47;  author: wlemb;  state: Exp;  lines: +38 -21

Don't ignore grotty's command line options if \X'tty: sgr ...' is
used to change the drawing scheme.

* src/devives/grotty/tty.cpp (bold_flag_option,
underline_flag_option, italic_flag_option, reverse_flag_option,
bold_underline_mode_option): New global variables.
(update_options): New function.
(tty_printer::special): Call update_options.
(main): Don't set xxx_flag but xxx_flag_option, then call
update_options.
2003-07-20 13:01:08 +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
atatat
ccf314363b Move the libmilter headers to where they belong. 2003-07-10 13:07:24 +00:00
lukem
001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00