Commit Graph

2066 Commits

Author SHA1 Message Date
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