Commit Graph

1988 Commits

Author SHA1 Message Date
tv 80c7fa68d5 Use MACHINE_GNU_PLATFORM to identify the machine. 2002-02-26 20:45:34 +00:00
matt b5355576f3 Change TARGET_NAME to use ${GNU_ARCH_PLATFORM} instead of
${GNU_ARCH_MACHINE}-netbsd.  This allows platforms to that were
formerly a.out but ELF to be foo--netbsdelf.  It also adds the
missing 2nd "-" which was missing in the former definition.
2002-02-24 22:15:39 +00:00
jmc b32effcb8e Add some more dependencies so this builds as "make all" also without
requiring a make depend first.
2002-02-21 04:13:45 +00:00
thorpej b669a91187 Make sure _initialize_vaxnbsd_nat() is called (added manually). 2002-02-19 05:05:38 +00:00
tv 92140a7683 Skip building if the target's .mk file is missing. 2002-02-11 21:45:18 +00:00
tsutsui b1e673bc5e Include bsd.subdir.mk unconditionally so that make obj works
with old toolchain.
2002-02-10 17:38:24 +00:00
mrg e694f74c6e pull across kcore_fetch_registers() from gnu/dist/gdb/sparcnbsd-nat.c, and
add kcore-nbsd.c to NATDEPFILES in nbsd{,elf}.mh.  regen defs.mk and init.c.

pity kcore-nbsd.c isn't in the FSF tree yet...
2002-02-10 01:32:56 +00:00
lukem e2311f6fa0 use ${INSTALL_FILE} as appropriate 2002-02-09 09:21:47 +00:00
ross dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
thorpej 07e8c5c63c Define TARGET_CPU_DEFAULT. From Matthias Drochner. 2002-02-07 16:52:37 +00:00
wiz c0acf9a5ea Punctuation nits, sort sections, sort SEE ALSO. 2002-02-06 19:24:52 +00:00
fair e02de0ae6d Patch from PR 15218 to document some options. 2002-02-04 10:35:39 +00:00
mrg 5f3d6c38d0 build sim before gdb. 2002-02-02 03:04:22 +00:00
tv 6061a17df3 itbl-parse ends in .y; itbl-lex in .l. 2002-01-31 21:15:08 +00:00
reinoud f3413b0e75 Back out change on Perry's request... PR 15303 is open again. 2002-01-30 17:43:52 +00:00
reinoud d4d4c95b9e The config file mentiones that if off_t isnt defined its defined in gcc as
`long'. This gives rise to defining `off_t' to a signed 64 bit on LP64
machines giving rise to cross compiling errors.

By explicitly setting it to int32_t its forced to use signed 32 bits
integers as required and expected on the ILP32 ARM processor.

This aparently fixes PR 15303
2002-01-30 17:11:44 +00:00
thorpej 0b621a0221 It's a C program, but it uses libgroff, which uses C++, so we
need to use PROG_CXX here as well.
2002-01-22 23:57:19 +00:00
thorpej a3d761116e Fix some MKGDB=no bugs. 2002-01-22 21:16:28 +00:00
mrg 7cda1e8c92 don't install psim 2002-01-22 17:02:08 +00:00
mrg 47d0b44e4f add PSIM support to gdb and install the stand alone in /usr/bin/psim. this
fixes the rest of port-powerpc/14307.
2002-01-22 16:55:19 +00:00
mrg 6bdbccbb59 regenerate. 2002-01-22 15:52:53 +00:00
thorpej aaa59fa5b0 Need to set NOOBJ= before bsd.own.mk is included. 2002-01-22 00:59:46 +00:00
itojun 815ede9ef4 gzip long filename buffer overrun vulnerability. from 1.2.4 -> 1.2.4b fix
http://www.securityfocus.com/bid/3712
2002-01-15 09:18:15 +00:00
wiz ca93d68d44 then -> than. 2002-01-07 14:47:37 +00:00
thorpej 2135cbaadd Oops, this is NOT a C++ program. 2002-01-01 05:16:18 +00:00
thorpej d68ee9d8e3 Per a suggestion from matthew green, PROG_CXX takes the place of
PROG for C++ programs.
2002-01-01 01:38:25 +00:00
thorpej a156b86123 Set PROG_CXX since these are C++ programs. 2002-01-01 00:27:33 +00:00
thorpej 89b1a9ca73 Introduce 3 new MK* variables that have effect in the USE_NEW_TOOLCHAIN
case:

	MKBFD	If set to "no", disables building of libbfd, libiberty,
		and all things that depend on them (binutils/gas/ld, gdb,
		dbsym, mdsetimage).

	MKGDB	If set to "no", disables bulding of gdb.

	MKGCC	If set to "no", disables building of gcc and the
		gcc-related libraries (libg2c, libgcc, libobjc, libstdc++).

These are useful for building platforms for which either of the following
situations are true:

	(1) You have no userland from which to run toolchain2netbsd
	    in order to build the appropriate toolchain build framework.

	(2) The platform which you are building requires a newer set
	    of tools than are currently in the tree (e.g. x86-64, ia64).
2001-12-31 23:04:11 +00:00
thorpej 0146257365 Set NOMAN correctly. From Andrew Brown. 2001-12-21 08:06:15 +00:00
thorpej 3778dfc4fd Build as "protoize" and "unprotoize" respectively, not "gcc" (!!). 2001-12-21 08:03:35 +00:00
thorpej 38b00971f1 Update for Alpha emulation change. 2001-12-21 02:03:20 +00:00
thorpej 1c899ee8d9 Update for changes to alphanbsd-nat.c. 2001-12-21 01:57:42 +00:00
tv 4c9a2ef7d3 * Add protoize and unprotoize. (Closes PR 6894.)
* Regen files with proper OS names and version numbers.

* Clean up toolchain2netbsd somewhat, to get it ready to be cross-host
  compatible (more work to be done here, but it's getting closer).

* Add framework for gdbreplay and gdbserver, but hold off on enabling these
  by default until low-nbsd.c is verified to work everywhere.
2001-12-19 23:54:16 +00:00
tv 14691f972b Remove COPTS+=-g. This should be set by the builder, not this Makefile. 2001-12-19 21:55:48 +00:00
thorpej 3faae759ba Allow a new-toolchain build to be done without actually building
the target "native toolchain" if BOOTSTRAP_NEW_TOOLCHAIN is set.

This is important if you don't have any userland at all, and you're
trying to make one from which you can run toolchain2netbsd.
2001-12-15 03:37:36 +00:00
thorpej 74ed46fbb4 Commit the results of running toolchain2netbsd on the Alpha. 2001-12-14 07:12:09 +00:00
thorpej 4c49d5310f No need to explicitly pull in bsd.own.mk. 2001-12-13 00:31:39 +00:00
thorpej 2152080e67 No need to pull in bsd.own.mk explicitly. 2001-12-13 00:30:28 +00:00
lukem 1b6c4afd64 move NOxxx= 2001-12-12 23:53:31 +00:00
lukem ad15078862 move NOxxx= 2001-12-12 23:46:45 +00:00
lukem b0b0a32ad7 Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
tv 8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
thorpej 59ee8a3dfb Update for new sparcnbsd-nat.c 2001-12-11 04:04:35 +00:00
thorpej ed865aec36 Make absolutely sure that MACHINE is no in the environment when
the linker scripts are generated.
2001-12-11 03:56:24 +00:00
thorpej 4cb0691e2a Set G_EMUL to elf32lmip. 2001-12-11 03:55:47 +00:00
thorpej cebf842aa6 Update for changes to sp64nbsd-nat.c 2001-12-10 23:19:59 +00:00
gmcgarry b44fadc911 Add mipsel gdb build framework from mipseb. Compile-tested only. 2001-12-10 06:32:45 +00:00
gmcgarry 28cc8c307b Add G_GCOV_OBJS so gcov compiles. 2001-12-10 06:16:01 +00:00
rafal 9307d1bdb2 Add toolchain2netbsd generated files for gdb build on mipseb. 2001-12-05 05:50:43 +00:00
rafal 9b61c2acc2 Fix up `netbsdY' or `netbsdZ' in various places where toolchain2netbsd
stripped netbsd1.5[YZ] to netbsd[YZ].  toolchain2netbsd should probably
be whacked to DTRT as well.
2001-12-05 05:49:41 +00:00
martin 9bf1f40cf9 Back out replacing gawk by nawk - James Chacon already fixed gawk for
sparc64.

Sorry, next time I'll catch up with mails first.
2001-12-03 22:28:19 +00:00
martin ea1d800137 Hack: do not build gawk on sparc64 - it is known to not work when compiled
with the new toolchain.
2001-12-03 22:14:09 +00:00
thorpej b4b165d516 Add _initialize_ser_tcp 2001-11-29 18:02:00 +00:00
thorpej c32284d957 Add ser-tcp.o (manually; it was a simple change). 2001-11-29 08:36:14 +00:00
thorpej 642335f1b2 Add i386nbsd-tdep.o (added manually; it was a simple change). 2001-11-29 08:35:09 +00:00
jmc 0aba719980 A few things to make r/o source trees work that might have timestamps on the
dist .y and .c files reversed.

1. Move the .y.c and other assorted implicit rule overrides out of Makefile.inc
   and into local Makefile's. The system Makefile (bsd.sys.mk) sets up .l.c and
   .y.c rules so unless these come after all inclusions they just get ignored.

2. Add @true as the command for any of the rule overrides. Otherwise make
   still bails complaining about not knowing how to build the requisite .c or
   .h file.

This obviously wasn't tested before as it couldn't have worked as-is.
2001-11-26 18:19:47 +00:00
thorpej 21abbf17cd Add _initialize_armnbsd_nat() (didn't bother re-running the script;
this was a pretty simple manual change).
2001-11-20 02:59:46 +00:00
perry 2d02e3afad UNPRIVILEGED->UNPRIVED 2001-11-19 05:05:06 +00:00
simonb 23be609b8c New toolchain files for mipsel.
From Rafal's commit for mipseb (which applies here too):
 WARNING: Binutils 2.11.2 (maybe earlier) changed the MIPS ABI, so any
 shared libs built by this toolchain WILL NOT WORK without either a whack
 to BFD to fix that or a patch to ld_elf.so to work around it.  I need to
 chase the binutils folks on this issue still.
2001-11-17 04:41:44 +00:00
tv 9f22792e0b No need for ${CPP}; just compile the .S if m68k || i386.
Formatting cleanup.
2001-11-13 17:26:52 +00:00
tv 6cb9463f87 Build *_tab.h as part of DPSRCS to make "make depend" work correctly. 2001-11-13 17:01:23 +00:00
tv 1cdd48fab3 Build .y.cc correctly. The .h file is supposed to be "foo_tab.h", not
"foo.tab.h", and now no longer exists in gnu/dist/groff to avoid conflicts.
2001-11-12 17:09:45 +00:00
tron 679b5ba134 Add new category "toolchain". 2001-11-11 21:14:15 +00:00
rafal 9f74cbc2da Oops, last round checked in make droppings here. Check in the actual
toolchain2netbsd generated files, though this is as of yet untested.
2001-11-08 08:20:31 +00:00
rafal f317d28b1a New toolchain files for mipseb. Mainly toolchain2netbsd output with some
changes to configuration stuff to (a) recognize `mipseb', and (b) build a
BE-default GCC on mipseb.  gprof and gdb still not done.

WARNING: Binutils 2.11.2 (maybe earlier) changed the MIPS ABI, so any
shared libs built by this toolchain WILL NOT WORK without either a whack
to BFD to fix that or a patch to ld_elf.so to work around it.  I need to
chase the binutils folks on this issue still.

That said, the new toolchain seems to work quite well once the ABI change
is worked around/fixed -- I'm committing from a machine running a user-
land built with the new compiler.
2001-11-08 07:21:53 +00:00
simonb 1adc8dd435 Don't rebuild "fini" _every_ time make(1) is run; avoids a complete
rebuild of f771 all the time.
2001-11-08 00:13:53 +00:00
scw ec53366faa Add m68k-specific `toolchain2netbsd' generated toolchain build/config files. 2001-11-05 19:10:55 +00:00
matt 37a2ed9298 Updated ARM defs.mk 2001-10-27 05:46:02 +00:00
matt e1c1698075 Regen from toolchain2netbsd 2001-10-23 16:53:45 +00:00
fredb 8dd298e978 Get the information for the "Release" field via running "uname" on the
host that's doing the filing (with a suitable comment for non-usual
cases), as suggested by Don Yuniskis in PR 14217 and lukem on tech-pkg.
Also closes PR's 13938, 14104.
2001-10-23 14:29:07 +00:00
matt e42e6e66e6 Updated files from new toolchain2netbsd 2001-10-18 05:42:26 +00:00
jmc e5447065e5 Add cpp.1 as an MLINK 2001-10-17 05:39:04 +00:00
tv e2fa0e8e96 CLEANFILES has to be set before including <bsd.prog.mk> to make sure that
clean/cleandir does its job (this should be fixed).  Work around it, and
fix some parallelism problems.
2001-10-08 23:18:11 +00:00
tv c88b6a3e03 Deal brute-force with parallelism. In order to accomodate breaking the
build in the middle and restarting on another platform (requiring atomic
host tool builds), and keep parallelism, the ".lo" rules can't be used
at all.  Instead, compile all host .c files directly into executables.
2001-10-08 22:56:31 +00:00
tv 68c509655a Single-target subdir builds no longer work at all since the introduction
of "dependall" and .WAIT; add a .WAIT here and nuke the dependencies for now.
2001-10-08 22:27:34 +00:00
aymeric fa554f783e shut up newer gcc warning about (actually mutually exclusive)
"possibly uninitialized" variables.
2001-10-08 22:11:31 +00:00
aymeric 866fad714d fix an obvious bug when loading sun relocatable objects.
When was this code last triggered?
XXX I didn't run the code, was looking for something else.
2001-10-08 22:09:20 +00:00
tv bf8eb2fc2d Generate ldcripts as "native" for a native linker. However, disable
installation into /usr/share/ldscripts at the moment, as the scripts will
no longer be shareable on all targets.  This will be tweaked at a later
date to generate "cross style" scripts for all targets (native ones are
compiled into the ld binary) so that they will indeed be shareable.

Should fix PR bin/14114, pkg/14122, and related issues.
2001-10-04 17:46:22 +00:00
wiz 456dff6cb8 Spell 'occurred' with two 'r's. 2001-09-16 16:34:23 +00:00
matt f6225f91fb Rebuild USE_NEW_TOOLCHAIN files for vax. Add binutils, etc. .. 2001-09-08 18:26:05 +00:00
wiz 798e998541 Add (commented out) some language-related FILES that could also
be installed.
2001-09-02 23:00:30 +00:00
wiz b47aecd969 Install some more locale files. 2001-09-02 22:55:58 +00:00
wiz dac7d101b7 Reduce diff to config.h created by texinfo-4.0. 2001-09-02 22:18:51 +00:00
wiz e405b87d8f Normalize man page handling: Man pages are now done in the same dir as the
program they are referring to, instead of being all done in the main
Makefile.
2001-09-02 22:16:58 +00:00
matt 33ebc9435e Regenerate so that ${DIST} is not expanded. 2001-08-30 01:31:49 +00:00
matt 61cb93c98c Commit NEW_TOOLCHAIN files. Do not attempt to use these unless you know
what you are doing!
2001-08-28 07:08:54 +00:00
thorpej bef08d29d9 Also accept (and ignore) -export-dynamic (already accepted --export-dynamic). 2001-08-26 00:02:46 +00:00
wiz 1e378c4c12 precede, not preceed. 2001-08-20 12:00:46 +00:00
matt 87cdecebcb Update new toolchain that now toolchain2netbsd has been
run natively on an ARM ELF system.
2001-08-19 17:48:49 +00:00
matt c757135288 When making the ldscripts, set MACHINE to "". elf.sc makes bad scripts
if MACHINE is set.
2001-08-19 17:19:46 +00:00
matt 4af2f898e7 preliminary new toolchain support for ARM ELF. 2001-08-19 16:21:21 +00:00
matt cd345950b6 Prelim ARM ELF support for binutils. 2001-08-19 16:18:59 +00:00
mrg 05a8e5fe04 build & install info & man page documentation. 2001-08-19 14:23:55 +00:00
mrg c5716adacf copy across our gcov.1 from egcs. 2001-08-19 14:22:24 +00:00
mrg 21207fbaae build c89 from gnu/usr.bin. 2001-08-19 14:21:02 +00:00
wiz a0831b3afc Doesn't need libz: File compression handling is done by forking gzip. 2001-08-18 14:50:03 +00:00
wiz 4b5fcdbfec Use our getopt_long. 2001-08-18 14:48:55 +00:00
mrg e6de26d11c include ../../Makefile.inc to set BINDIR. 2001-08-16 16:59:24 +00:00
mrg 318911587e regenerate. 2001-08-15 02:44:58 +00:00
tv 5e6e5d8bf4 Nuke; this was never set up to be built. 2001-08-14 07:28:46 +00:00
tv 8f264ae2fc Regen. 2001-08-14 05:18:26 +00:00
tv 75c2396dcc Regen. 2001-08-14 05:14:59 +00:00
mrg feaf6caf3c build sparc & sparc64 binutils & gdb. 2001-08-10 15:35:37 +00:00
mrg 82f7a2e6a2 build in gcc directory as well. 2001-08-10 12:34:45 +00:00
mrg a9c88b6f92 don't build in here if USE_NEW_TOOLCHAIN. 2001-08-10 12:33:55 +00:00
mrg 8d54deacdd regenerate. 2001-08-10 12:01:48 +00:00
mrg eda65d255d deal with no TEMPLATE_NAME being defined for a target 2001-08-10 10:39:10 +00:00
wiz 7a1835dd36 Fix typo. 2001-08-08 14:59:26 +00:00
tv 16083edcc0 Add new toolchain gdb build structure, in new subdir to go along with
gdbserver and gdbreplay in the future.
2001-08-06 23:28:53 +00:00
tv e7ad5cd6ce Turn this off on USE_NEW_TOOLCHAIN. 2001-08-06 20:01:23 +00:00
tv 3db6f60ffe Use target_alias without a release number; toolchain2netbsd strips this now. 2001-08-06 20:00:02 +00:00
tv 923efdf600 Add gprof. 2001-08-06 19:59:39 +00:00
tv c3c7f78d4f Add gcov. 2001-08-06 19:46:12 +00:00
tv 1ba4ad89e1 Turn this off on USE_NEW_TOOLCHAIN temporarily. 2001-08-06 19:36:58 +00:00
tv aff074824e Install ldscripts into /usr/share/ldscripts. (Currently non-unified, so the
install will only add scripts for the current target to /usr/share/ldscripts.
This will be fixed to build all applicable scripts for all NetBSD targets.)
2001-08-06 19:34:22 +00:00
tv 362f95d733 Add new toolchain binutils build structure. 2001-08-06 19:11:59 +00:00
tv 763f361733 Disable these in the case of USE_NEW_TOOLCHAIN (the new versions are
moving into the gnu/usr.bin/binutils directory to reflect GNU's
encapsulation of these packages).
2001-08-06 15:56:07 +00:00
enami c48795553f Remove a hack to copy grep.info to build it from grep.texi. 2001-08-03 14:42:35 +00:00
tv b852eb128e Revert previous. The building of the new toolchain will be determined by a
top-level automatic setting of USE_NEW_TOOLCHAIN when the rest of the stuff
is committed, and the top-level bootstrap is in place.
2001-07-30 16:04:18 +00:00
matt ee544f340c Remake with toolchain2netbsd 1.3 2001-07-28 06:51:59 +00:00
eeh 905da8170b Build the sparc64 compiler for a change. 2001-07-27 23:01:22 +00:00
assar e4ab707ade update build infrastructure for texinfo 4.0 2001-07-25 16:47:50 +00:00
aymeric 6919941456 include <link_aout.h>, which is needed at least when building a cross-linker 2001-07-25 11:59:22 +00:00
aymeric d2b58bf21f Make it possible to compile a cross-linker by just defining TARGET_MACHINE_ARCH
to the desired architecture.

Note that this is for the old ld of the old toolchain.
2001-07-25 11:58:04 +00:00
tv 87c9b9136c Add missing dependency on ${G_md_file} for host tools, noticed by matt@. 2001-07-24 21:16:08 +00:00
matt c8e381be8c Adding VAX gcc 2.95.3 (ELF). 2001-07-20 04:59:06 +00:00
matt 5ac8a0b7ba powerpc support for 2.95.3 2001-07-19 22:13:23 +00:00
mrg 4523fd67d7 build a mipsel-netbsd gcc & libgcc. 2001-07-19 18:35:22 +00:00
matt 15d3102358 Initial 2.95.3 support for ARM-ELF. 2001-07-19 15:27:16 +00:00
mrg c88bdb3273 build a sparc (elf) gcc 2.95.3 2001-07-19 15:20:13 +00:00
mrg 4331a0fffa freshly generated sparc64 config that seems able to build a working c & c++
compiler....  now we just need binutils & gdb :)
2001-07-19 00:54:24 +00:00
tv 652e52ca13 Use g++spec.c, not cppspec.c. (Thinko.) 2001-07-18 18:25:29 +00:00
tv 77c3a78e27 Regen. 2001-07-18 18:17:58 +00:00
tv f392296088 Fix BINDIR/MKMAN. 2001-07-18 14:02:43 +00:00
tv 75050b108b Add cpp and cpp0. 2001-07-18 14:02:26 +00:00
tv 9bfd60ec3d Add frontend /usr/bin/cpp (now a real binary) and /usr/libexec/cpp0
(formerly /usr/libexec/cpp).
2001-07-18 14:01:14 +00:00
tv 8ee0a1461c Fix links and manpages. 2001-07-18 14:00:11 +00:00
tv 865939c423 Make "make depend" work correctly. 2001-07-18 13:59:17 +00:00
lukem 03a3aa379d use off_t instead of long to store sizes which will be displayed with "--list".
fixes wacky display problems for files > 2GB in size.  tested ok on i386 and
alpha (no change for the latter).
2001-07-07 21:57:41 +00:00
enami 4655e8da67 Some man page here requires processing by tbl. 2001-06-26 01:43:58 +00:00
tv 634ebd4dc4 Add gcc 2.95.2 build framework, and i386 config files from toolchain2netbsd.
This should not be used directly for building host tools; rather, the top
level bootstrap (to be committed separately) should be used to build the
entire system including this compiler.
2001-06-18 16:18:30 +00:00
chris 9255039c1a Add port-cats to list available categories for send-pr. 2001-06-10 20:53:52 +00:00
thorpej 395cb02158 Add port-algor. 2001-06-05 17:40:08 +00:00
simonb 976bdd3f47 Change to new libbz2 API. 2001-06-03 13:43:01 +00:00
msaitoh 655a3a0437 check BOOTSTRAP_ELF (from Katsuomi Hamajima) 2001-05-21 18:26:48 +00:00
soren a657f17343 Add port-sun2 category, per PR admin/12657. 2001-05-17 09:13:58 +00:00
assar d303561a5a enable encryption support in client-server CVS.
patch from PR bin/12618, by lha@stacken.kth.se
2001-05-15 09:56:30 +00:00
martin 84364a741b Fix logic botch that enabled this (broken for that arch) gas on sparc64:
- we never want gas.new on sparc64
 - we generally do not want it on m68k and ns32k, unless we are ELF
   already or we are bootstrapping ELF right now
2001-05-03 21:47:28 +00:00
wiz 7dc54976bb Remove old groff files from usr.bin.
Pull up reach-over to head.
2001-04-19 14:40:39 +00:00
wiz 2f7eec860d New reachover build structure for groff 1.16.1. 2001-04-19 14:33:07 +00:00