mrg
94594f5e48
extract the bintils VERSION.
...
call the new make targets "native-gcc", etc.
2003-03-05 06:17:17 +00:00
mrg
266fa92cbc
mknative:
...
- get man_MANS and TEXINFO from binutils/doc/Makefile now, not
binutils/Makefile, as all the binutils docs moved.
both:
- add new "mknative-gcc", "mknative-binutils", and "mknative-gdb"
targets / mknative options to allow regeneration of just one part
of the toolchain.
2003-03-05 05:28:29 +00:00
mrg
5e2559a4cc
update for binutils 2.13.2.1, and a few other changes...
2003-03-01 13:09:10 +00:00
mrg
0e5a502526
update for binutils 2.13.2.1, and a few other changes...
2003-03-01 13:09:09 +00:00
lukem
27c21a917d
replace DIST with GNUHOSTDIST, and don't unconditionally define it
...
in Makefile.gnuhost (use ?= instead of =, to allow overriding)
2003-02-07 01:52:51 +00:00
uwe
4eb408dcd9
Avoid cgetcap &co prototypes conflicting with those provided by the host.
...
With this change we can cross-compile on FreeBSD 4.x.
2003-01-31 20:50:29 +00:00
uwe
2cb7caac8e
Build with -DNO_S_COMMAND. We don't need to set the in-core label
...
when we are a host tool. This avoids a conflict with inline dkcksum()
in FreeBSD's <sys/disklabel.h>.
2003-01-27 01:25:07 +00:00
uwe
af823cea6c
Provide __SCCSID() needed by pwd_mkdb.
2003-01-27 01:17:47 +00:00
lukem
eb77ade624
enable sunlabel...
2002-12-21 12:56:08 +00:00
thorpej
7059a54da4
Include <sys/types.h> before <grp.h>; Mac OS 10.2.2 needs this.
2002-12-16 00:35:00 +00:00
thorpej
bd339b41ac
Include <sys/types.h> before including <dirent.h>; Mac OS 10.2.2
...
needs this.
2002-12-16 00:31:59 +00:00
thorpej
c4a72b6436
Centralize the definition of the tool name prefix (i.e. "nb") into
...
bsd.own.mk, as the _TOOL_PREFIX variable.
2002-12-08 20:19:56 +00:00
lukem
90af8ac79d
Tweak dependencies so that defs.mk depends upon config.cache, and
...
config.cache depends upon 'include/.stamp configure config.h.in defs.mk.in'
and runs configure. Forcebly remove config.cache before running configure.
This change means that config.cache is (still) retained between "make clean"
(but not "make cleandir") runs, but is flushed if configure or config.h.in
is changed, as the cache may contain incorrect information in that case.
2002-12-04 23:27:54 +00:00
lukem
c6f399207c
add check back for util.h; needed on some foreign systems
2002-11-30 21:43:27 +00:00
lukem
b1e79510cf
- Migrate fparseln(3) from libutil to libc, where it should have been in
...
the first place...
- Bump libutil major (to 7.0) and libc minor (to 12.91).
2002-11-30 03:04:44 +00:00
lukem
336730e201
replace missing strsuftoll(3)
2002-11-29 13:00:22 +00:00
christos
1391513680
PR/18733: Jed Davis: define _PATH_DEFTAPE; pax needs it.
2002-10-20 00:42:20 +00:00
lukem
dba0caccee
Implement replacements for lchflags(), lchmod(), and lchown(),
...
which first lstat(2) the target and return EINVAL if it's a symlink,
and then call ch{flags,mod,own} as appropriate.
Removes the need for hokey code inside the tools themselves...
2002-10-08 00:28:36 +00:00
briggs
4fb03019c2
Just check for poll.h, don't fail if it's not present.
2002-10-07 18:12:36 +00:00
lukem
8b42f7b9d9
Provide strtoll() in libnbcompat.
...
Should fix relevant build issue on HP-UX and MacOS X hosts.
2002-10-06 12:09:34 +00:00
lukem
c61581112f
complete check for lchflags
2002-10-06 01:25:58 +00:00
lukem
cb48eb573f
check for lchflags
2002-10-05 04:13:30 +00:00
thorpej
840b4a3a1c
Check for <poll.h>. If it is not found, -DUSE_SELECT=1.
2002-10-04 22:21:57 +00:00
thorpej
bcb4b867fe
Check for <poll.h> and poll(2).
2002-10-04 22:10:10 +00:00
lukem
b9472f8280
Fix from Giles Lean:
...
HP-UX has MAP_ANONYMOUS but not MAP_ANON
2002-09-30 00:39:21 +00:00
lukem
6a507832d7
It's "HP-UX" not "HP/UX". (Thanks Giles).
2002-09-29 07:05:28 +00:00
lukem
ab956106b3
preliminary HP/UX notes from Giles; it needs zlib.
...
(as Solaris, Linux and HP/UX all mention they need zlib and it should
be part of libnbcompat, maybe this is a hint for us to get a move on
and do that :)
2002-09-22 01:26:39 +00:00
thorpej
771b8c8404
Change the TOOLCHAIN_MISSING from == "no" to != "yes", to be consistent
...
with the other tests of this variable.
2002-09-19 17:13:01 +00:00
matt
5e29f1c268
Since TOOLCHAIN_MISSING is defined in bsd.own.mk, it can never be undefined.
...
Instead, make sure the value of it is "no"
2002-09-19 01:23:24 +00:00
thorpej
3b08abd277
* Eliminate the USE_NEW_TOOLCHAIN variable. Instead, split it into
...
two variables:
TOOLCHAIN_MISSING -- set to "yes" on platforms for which there is
no working in-tree toolchain (hppa, ns32k, sh5, x86_64).
EXTERNAL_TOOLCHAIN -- if defined by the user, points to the root of
an external toolchain (e.g. /usr/local/gnu). This enables the cross-build
framework even for TOOLCHAIN_MISSING platforms.
If TOOLCHAIN_MISSING is set to "yes", MKGDB, MKBFD, and MKGCC are all
unconditionally set to "no", since the bits are not there to build.
If EXTERNAL_TOOLCHAIN is set, MKGCC is unconditionally set to "no",
since the external toolchain's compiler is not in-sync with the
in-tree compiler support components (e.g. libgcc).
* Set MACHINE_CPU much earlier in bsd.own.mk, so that more tests in
that file can use it.
2002-09-17 23:18:25 +00:00
briggs
482480a39e
Note that RedHat 7.3 hosts successfully as of today with the caveat that
...
LANG=C must be in the environment.
2002-09-16 18:13:04 +00:00
briggs
a94d82e6f9
Always use NetBSD's fts(3) in compat builds. Some systems (notably
...
Red Hat 7.3, at least) do not have fts(3) implementations that work
correctly with -D_FILE_OFFSET_BITS=64.
2002-09-16 04:10:36 +00:00
thorpej
a25cf0dfe0
Patch host-mkdep with the working host shell.
2002-09-15 17:23:01 +00:00
thorpej
54a74239f1
Patch lorder with the host's working shell. Idea from Chris Demetriou.
2002-09-15 17:05:26 +00:00
thorpej
6d82557c32
Add a HOST_BSHELL make var which contains the path to the working
...
shell.
2002-09-15 16:46:23 +00:00
chris
41f1477926
We need binstall to be installed, before attempting to use it to install mktemp.
2002-09-14 23:34:16 +00:00
thorpej
dc71a69c6a
Descend into mktemp.
2002-09-14 18:00:22 +00:00
thorpej
d92d489497
* Check for mkstemp() and mkdtemp(), and build them into libnbcompat
...
if necessary.
* mktemp is now a host-tool, so nuke the lame script (which isn't even
properly installed during the tools bootstrap).
2002-09-14 04:30:27 +00:00
thorpej
076280c9ac
Re-add mktemp as a host tool; it is used in more places than Ben
...
thought.
2002-09-14 04:26:03 +00:00
bjh21
82a564def5
Add __restrict to the set of tokens we #define away: our glob.h uses it.
2002-09-13 23:35:34 +00:00
thorpej
44390285d1
Update Solaris section (again).
2002-09-13 23:35:32 +00:00
thorpej
0cbefac8eb
Be more conservative with quoting, to play nice with /bin/sh on Solaris 8.
2002-09-13 19:55:52 +00:00
thorpej
f54ca60093
* Always include the NetBSD glob(3) in libnbcompat, as the host
...
tools use some features of glob(3) that are not available on
all systems.
* Always include the NetBSD vis(3) in libnbcompat, since vis(3)
is not really standardized, and the vis(3) present on some systems
is different from ours.
* Always include the NetBSD MD2, MD4, MD5, RMD160, and SHA1 implementations
in libnbcompat. The host tools use features of the NetBSD versions
which aren't present on all systems that include those functions.
* Add a check for random(3) -- the Heimdal host tools want it.
* Add a check for termios.h -- the Heimdal host tools want it.
* Update the README to indicate the current state of building the
host tools on Solaris 8 (for SPARC).
2002-09-13 19:07:01 +00:00
thorpej
5aa3fde6fa
Delete a few things that appear in gcc 3.x's CPP output.
2002-09-13 03:41:54 +00:00
pooka
c695034447
work around FreeBSD defining user_from_uid() in stdlib.h
2002-07-03 17:17:04 +00:00
pooka
d8c01a3d2a
Fine-grain checking somewhat:
...
* check for user_from_uid() in addition to pwcache_userdb()
* check for svis() in addition to vis()
2002-07-03 17:16:26 +00:00
veego
bd46e08c93
The last commit wasn't tested. Add a missing \
2002-06-12 19:59:55 +00:00
thorpej
fe57329435
Don't build toolchain bits for hppa, for now.
2002-06-12 19:09:37 +00:00
mason
7e7e806c7e
Add cat(1) as a host tool.
2002-06-10 18:32:28 +00:00
mason
f8af64685c
fix minor typo -> s/lokcing/locking/
2002-06-07 21:13:55 +00:00
thorpej
1f5f295af6
Don't try to build toolchain bits for ns32k.
2002-06-05 02:21:49 +00:00
matt
9a6861e363
Make Solaris 8 happy: use ln -f -s instead of ln -fs
2002-05-31 05:50:03 +00:00
bjh21
bf9ec67e38
Add fgen as a host tool, used for sys/arch/sparc/bootblk.
2002-05-28 21:56:05 +00:00
thorpej
e1b93f4526
Don't try to extract gdbserver configury; we don't yet support gdbserver.
2002-05-20 15:19:09 +00:00
lukem
3e591f18cf
gratuitious comment addition
2002-05-18 05:59:23 +00:00
bjh21
4eb51f77ed
Use the target disklabel_mbr.h, since it just describes data structures for
...
use on the target. This gets prep-mkbootimage to compile under Linux.
2002-05-12 12:30:10 +00:00
lukem
2bd907065c
remove now-unnecessary sparc-installboot
2002-05-07 12:12:53 +00:00
kleink
c30b41cae0
On prep, descend into prep-mkbootimage.
2002-05-03 20:35:46 +00:00
kleink
2a3e2f7c04
Build prep's mkbootimage as a host tool, called nbprep-mkbootimage.
2002-05-03 20:33:53 +00:00
bjh21
2b918abe52
I believe I've fixed nbmake's dependency on /bin/sh.
2002-04-28 22:28:38 +00:00
bjh21
0080fde9da
Define _PATH_BSHELL to the first "sh" on the PATH when bootstrapping
...
nbmake. This should remove our dependency on a nobbled /bin/sh on
Solaris.
2002-04-27 16:36:30 +00:00
lukem
8c8b91af6a
todd forgot to remove this one in his HAVE_CONFIG_H rototill...
2002-04-25 22:46:35 +00:00
tv
4887cf3412
HAVE_CONFIG_Hize. Also get *_boot.h from "../../sys/" when HAVE_CONFIG_H,
...
rather than creating more stubs.
2002-04-25 18:11:53 +00:00
bjh21
d68e9d36ad
Check for the location of sh on the path, and use that to construct the
...
value for _PATH_DEFSHELLDIR. In theory, _PATH_DEFSHELLDIR will also be
used to find csh, but ".SHELL csh" shouldn't be used anywhere in our source
tree, and this make shouldn't be used for other things.
This should cause nbmake to use the right shell for most purposes when
cross-compiling from Solaris.
2002-04-24 21:20:08 +00:00
bjh21
a29c20f490
Remove an "eval" from docmd, in order to stop it over-evaluating things
...
(and losing quotes from DEFS).
2002-04-24 21:17:24 +00:00
bjh21
a3112ce1b9
Rather than hardcoding two possible locations of the POSIX shell (for
...
Solaris and everything else), set _PATH_BSHELL to the first occurrence of
"sh" on the path. This should be rather more portable.
2002-04-24 19:41:58 +00:00
bjh21
6d3e84cc85
src/tools/dbsym has been buildable on non-NetBSD systems for some time.
2002-04-24 16:28:55 +00:00
lukem
4ca5cf63d9
Add shim dev/sun/sun_boot.h (#includes "../../sys/dev/sun/sun_boot.h")
...
so that we don't rely upon host's <dev/sun/sun_boot.h>
2002-04-24 01:40:14 +00:00
bjh21
a64574e0e7
Add test for alloca() and <alloca.h>, since Sun Workshop C 5.0 needs this.
2002-04-23 00:13:50 +00:00
bjh21
bfebd5429d
<stdint.h> belongs before <sys/endian.h>.
2002-04-22 23:40:10 +00:00
bjh21
35d3ac9968
Define __CONCAT if the host doesn't.
2002-04-22 23:39:38 +00:00
bjh21
c5b9549c5f
Create sys/endian.h if it doesn't exist, since rmd160.c includes it directly.
2002-04-22 19:23:33 +00:00
lukem
2e4e525416
add -I. to HOST_CPPFLAGS
2002-04-22 15:18:57 +00:00
lukem
7de4309228
add UINT32_MAX if it's not defined
2002-04-22 15:09:19 +00:00
tv
bcde44453d
Emit an empty <stdint.h> if the host doesn't have one. Should fix PR 16416.
2002-04-19 22:47:11 +00:00
lukem
9ed0aaa314
borrow trick from ../makefs/Makefile to make this more portable for <ufs/...
2002-04-19 07:19:09 +00:00
tv
42f04dab1c
Actually put the include directory timestamp under the "include" directory,
...
such that nuking the dir by hand also nukes the timestamp.
2002-04-18 21:15:08 +00:00
tv
25252c9a84
Re-add test for <sys/endian.h>; it disappeared somewhere along the way.
2002-04-18 21:05:22 +00:00
bjh21
6619533896
Add a stub issetugid() for platforms that don't have it. For now, we assume
...
that no host program will be installed set-id, so the stub function always
returns 0.
2002-04-18 15:31:51 +00:00
bjh21
bcb3d0b705
vax-installboot has been deleted, so don't recurse into it.
2002-04-06 13:33:46 +00:00
bjh21
833d114dfc
Add HAVE_SYS_ENDIAN_H.
2002-04-04 17:52:04 +00:00
bjh21
55b93a6461
Add htobe16() and friends, #ifndef HAVE_SYS_ENDIAN_H.
2002-04-04 17:49:20 +00:00
bjh21
79cd9fb3ab
Replace a spurious hard space (\xa0) with a normal one.
2002-04-04 17:28:33 +00:00
lukem
87f91a310f
Add -I../mips-elf2ecoff to take advantage of the host friendly sys/exec_elf.h
...
that's in that directory. Fixes compile issue on (older source ?) arm
systems noted by Richard Earnshaw.
XXX: arguably a better version of sys/exec_elf.h (and others) should
be in ../compat instead, but that's a problem for another day.
2002-04-04 13:27:33 +00:00
lukem
28376496ff
Add shim dev/dec/dec_boot.h (#includes "../../sys/dev/dec/dec_boot.h")
...
so that we don't rely upon host's <dev/dec/dec_boot.h>
2002-04-04 00:24:18 +00:00
tv
d9d0bc0241
Don't need "if" here to look for TOOLDIR/bin; "mkdir -p" won't fail if
...
it already exists.
2002-04-03 15:56:32 +00:00
christos
00f77e5d9a
fix my own pr since todd is unwilling to use grep.
2002-04-03 15:41:19 +00:00
lukem
96bc0c5a0c
not needed now MI ${INSTALLBOOT} appears to work for vax
2002-04-03 06:09:00 +00:00
lukem
138523b976
enable installboot
2002-04-03 06:03:35 +00:00
lukem
0f02c34165
add nbinstallboot
2002-04-03 06:02:03 +00:00
thorpej
2ae4cde5ea
Nuke NO_DBSYM; dbsym now uses BFD for everything.
2002-04-01 22:03:46 +00:00
bjh21
c9e4965681
Revert addition of mkdtemp() to libnbcompat. I don't think we need mktemp(1)
...
after all.
2002-04-01 13:59:34 +00:00
bjh21
c18f2e8b59
On second thoughts, don't make mktemp a host tool. It's only used once, for
...
creating a temporary directory for maketars, and mkdir can do that safely
enough.
2002-04-01 13:54:00 +00:00
bjh21
fb69871067
Add mktemp as a host tool.
2002-03-31 18:11:50 +00:00
bjh21
58017a564d
Add mkdtemp to libnbcompat, since glibc doesn't have it an mktemp(1) will
...
need it.
2002-03-31 18:04:11 +00:00
bjh21
2e32db0aee
Add cksum as a host tool.
2002-03-31 14:33:54 +00:00
bjh21
bcaedc129c
Add the md[245], sha1 and rmd160 functions to libnbcompat, conditional on their
...
not being in the host libc.
This will be necessary to make cksum into a host tool.
2002-03-31 12:58:54 +00:00
matt
f8edd877ff
Drop into vax-installboot on VAX machines.
2002-03-29 05:05:55 +00:00
matt
9785a79f09
Add a nbvax-installboot for now.
2002-03-29 01:04:25 +00:00
bouyer
e029d91358
Add a standalone exec_elf.h, so that elf2ecoff can be compiled on non-netbsd
...
hosts.
2002-03-24 19:17:51 +00:00
bouyer
d3dc2d9871
Use fixed-type in ecoff structures, so that elf2ecoff will produce proper
...
32bit ecoff when used on LP64 host.
2002-03-23 17:13:45 +00:00
tv
d6c76879a7
fcntl locking works much better when the `struct flock' is actually given
...
to fcntl....
2002-03-07 23:14:02 +00:00
tv
d29f17612e
Don't gratuitously touch the replacement headers in ${.OBJDIR}/include;
...
instead, touch them only if they're changed.
2002-03-07 22:48:07 +00:00
tv
fa8abf3083
Need DEV_BSIZE and roundup() for makefs on non-NetBSD hosts.
2002-03-07 22:46:07 +00:00
tv
866eb28f53
Move inttypes.h to list of auto-generated-empty headers.
2002-03-07 19:18:25 +00:00
tv
a45d07b1e5
Rework recursion to use the original logic again, in the structure cleaned
...
up by pk (and fix comments to match):
* A .WAIT here means that only the *immediately preceding* target needs
to be added to the list of "install-foo" targets used to ensure that
dependencies are installed (otherwise much more than is necessary
gets installed during the build process, increasing build time here)
* If building only an individual target such as "dependall-yacc", the
prerequisites may need to be built before running their "install-foo"
targets -- so add a dependency in that case on "dependall-foo".
2002-03-07 19:12:33 +00:00
tv
19ab4b257e
Don't build groff if MKMAN=no. (groff does not build properly on some
...
platforms because of its completely insane Make structure; this allows it
to be disabled in a sane way.)
2002-03-07 18:57:18 +00:00
tv
fa2ae538c9
Add compat defns for uint*_t (the non-underscored ones).
...
[The logic in all of this is ugly, and should instead be fixed up to use
AC_CHECK_SIZEOF to use primitives if the counterpart type is unavailable.]
2002-03-07 18:28:46 +00:00
pk
583e840c0b
Make $(OBJS) depend on the ufs headers link.
2002-03-05 15:08:27 +00:00
pk
ada5de58dd
Fix target ordering glitches: the `afterinstall' sources in here depend
...
on `realinstall' making TMACDIR.
2002-03-01 15:39:00 +00:00
tv
d24dab300c
Don't forget "do-distrib-dirs" as a prerequisite to "includes".
2002-02-27 18:18:59 +00:00
tv
6080b95ae4
Make libobjc configury MI.
2002-02-27 17:55:32 +00:00
tv
9d3094001d
Clarify why even native hosts should use the same method to bootstrap a
...
toolchain.
2002-02-27 17:49:19 +00:00
tv
52294a7b65
A step-by-step doc on how to bootstrap a new toolchain (works on both cross
...
and native hosts).
2002-02-27 17:21:56 +00:00
tv
6601e7454c
Make libiberty files MI.
2002-02-27 17:02:04 +00:00
tv
569df344d5
* Don't try to get the gdb framework if gdb doesn't configure due to missing
...
gdb support (determined by GNU configure).
* Be less verbose if there are no existing toolchain framework files to
compare (suppress grep "file not found" error)
2002-02-27 16:45:11 +00:00
tv
76fed8b638
Revert previous; this had to do with running "make includes" while MKGCC=no.
...
It's still possible to get the needed headers from src/gnu/lib/libgcc by hand.
2002-02-27 16:28:23 +00:00
tv
246889ecf5
Omit the C++ bits of libgcc for bootstrap-libgcc. Until there are C++
...
headers for the target, these parts can't be built anyway.
2002-02-27 16:12:10 +00:00
tv
8b54ad2d20
Fix bootstrap-libgcc (should be looking in build/, not .native/), and make
...
.native/.configure_done depend on the typical _GNU_CFGSRC stuff.
2002-02-27 04:43:22 +00:00
tv
980f1f32fc
Complete the mknative method of creating the toolchain metainformation
...
files. This version is capable of generating these files Properly from
a cross host (subject to having tools and target libs/includes available
ahead of time; to be documented).
2002-02-26 22:31:59 +00:00
tv
259a2ab95f
Add some more bits of host compatibility.
2002-02-26 22:29:38 +00:00
tv
a616862da1
Remove the "-j1" hack. This needs to be fixed better. For now, -j is
...
disabled at the top level anyway, making this extra hack unnecessary.
2002-02-26 22:27:11 +00:00
tv
d3501a4060
Add gettext to tools.
...
For now this is a maintainer-tool only; none of the NetBSD build needs to
run msgfmt as of yet. (However, its presence is needed to make the
mknative part of src/tools/toolchain produce the same output as a truly
"native" GNU configury of the toolchain.)
2002-02-26 18:14:40 +00:00
gmcgarry
0d9e66cda7
Add elf2ecoff as a build tool for mips ports.
2002-02-23 21:32:27 +00:00
pk
1d6e801ba2
Having `build/Makefile' depend on `.configure_done' doesn't work. Instead,
...
just add the additional commands to the `.configure_done' target.
Also, since the groff distribution Makefiles don't get their dependencies
right, use internal knowledge to add additional target ordering to the
generated makefile. Note, this hack can be removed once our own make(1)
can be invoked in true sequential (i.e. compatible) mode again for subdir
makes.
2002-02-19 12:13:10 +00:00
pk
ee92d5a672
* Add comments on all the directory build/install ordering goo.
...
* Beef up that goo so that for each ".WAIT group" all of the install targets
in the previous group have completed before starting the `all', `depend'
or `dependall' targets.
2002-02-18 15:35:53 +00:00
jmc
b201a06833
Make sure TOOLDIR/bin exists before copying into it. Use 2 explicit mkdir's
...
here to avoid problems on host systems without mkdir -p
2002-02-12 19:54:16 +00:00
tv
2dc3b09c0b
First of two parts to replace toolchain2netbsd and make it more cross-happy:
...
Provide a target "bootstrap-libgcc", which will create the files
src/gnu/lib/libgcc/${MACHINE_ARCH}.mk
src/gnu/usr.bin/gcc/arch/${MACHINE_ARCH}/tconfig.h
src/gnu/usr.bin/gcc/arch/${MACHINE_ARCH}/tm.h
...enough to allow libgcc to build so that a bootstrap build to DESTDIR can
take place.
2002-02-11 21:24:09 +00:00
pk
354e70b764
Revert part of previous; we need the install targets.
2002-02-11 07:21:41 +00:00
pk
e678b7f1d0
Use .ORDER targets to express the dependencies on subdir runs. This makes
...
the resulting tree complexity O(N) (N=# of subdirs), and it also makes it
easier to comprehend the Makefile logic.
2002-02-10 15:46:42 +00:00
pk
b3ddad6b4b
Make sure to not go off installing in a directory before it's fully made.
2002-02-08 17:48:38 +00:00
lukem
64d97711a2
remove btodb() hack now that makefs doesn't need it anymore.
...
the #define was wrong anyway; it was x<<9 instead of x>>9
2002-02-06 15:39:01 +00:00
tv
e5d6f46d5a
Fix up the .for recursion -- it wasn't quite right before.
2002-02-01 13:51:38 +00:00
tv
6bd56c8eda
Cross-hosting notes for foreign OS's. (Currently Linux, Solaris, and older
...
releases of NetBSD.)
2002-02-01 04:43:39 +00:00
tv
9fbd88883c
Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
...
round has been tested on Solaris/x86 and Linux hosts.
* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
2002-01-31 22:43:33 +00:00
tv
2004638500
Include config.h unconditionally; clean up.
2002-01-31 19:23:14 +00:00
tv
eee751dc15
Define NOID to eliminate the rcsid.
2002-01-31 19:22:40 +00:00
tv
4ada663465
Provide a default string so host tools that forget to call setprogname()
...
won't accidentally segfault just trying to print a usage message.
2002-01-31 19:21:58 +00:00
tv
f4554f775d
Make sure there are no weak references in libnbcompat (avoids linker
...
confusion issues).
2002-01-31 19:20:14 +00:00
tv
87ed89b8e3
Make sure MAKEINFO is defined, as it appears that toolchain/texinfo is not
...
auto-built.
2002-01-31 15:25:08 +00:00
tv
5ab7a8d3e1
Remove g= override.
2002-01-31 15:24:36 +00:00
tv
c10af7be1e
Make sure LEX and YACC are properly defined (mainly for groff); also use
...
a more portable grep construct.
2002-01-31 02:42:25 +00:00
tv
a328e34106
Make almost all tools compile and run properly on non-NetBSD hosts. (In
...
particular, most tools now run correctly on Solaris 7.)
2002-01-29 10:20:28 +00:00
tv
0c41d3705e
Ensure a space after # or #line so we don't pick up stray #pragmas and
...
so forth in the .depend file.
2002-01-28 19:26:35 +00:00
tv
3dc61f3b98
Make util.c replacement functions use autoconf conditionals to probe
...
what is Really available in the host OS.
2002-01-25 17:51:31 +00:00
tv
371a05affa
Abort on C compiler error. Add @DEFS@ to compile line.
2002-01-25 17:50:28 +00:00
lukem
a2a5907be5
build pax as a host tool, for -N and to work around borken vendor paxes
2002-01-25 05:01:17 +00:00
lukem
2b616edfca
- Replace pwcache(3) if necessary (pwcache_userdb(3) is checked for).
...
Tested on -current and 1.5.3.
- Wrap some long lines.
2002-01-24 04:05:27 +00:00
lukem
1fdf0d0e12
remove
2002-01-23 02:31:33 +00:00
thorpej
d00b294ffa
Split compat definitions into a separate file so that autoconf
...
doesn't comment out #undef's that we want to keep.
2002-01-22 20:42:59 +00:00
lukem
60eebeccec
reachover to ../../lib/libutil for fparseln.c
2002-01-21 23:35:14 +00:00
tv
9a14a10fb6
Somewhere along the line, the _DIAGASSERT was lost. Re-add it (as a macro
...
that expands to nothing); only NetBSD hosts really have this.
2002-01-21 23:22:17 +00:00
tv
9c06c04bee
Missed in last commit: make some tools build properly on non-NetBSD hosts.
2002-01-21 20:59:40 +00:00
tv
9d5d28c26f
Make many host tools compile on non-NetBSD hosts. Not complete, but
...
very nearly there.
2002-01-21 20:04:36 +00:00
tv
a08f30a6ee
Break out make(1) bootstrap config into an autoconf-based mechanism that
...
generates a shell script. Check for existence of POSIX regex, and make
sure an appropriate library is pulled in for it as needed.
2002-01-15 19:15:47 +00:00
lukem
729f9d86cc
rcsid
2002-01-13 12:45:23 +00:00
tv
5457974230
Move host-mkdep to its own directory. Create and install it before
...
everything else. Now it's possible for the target mkdep to build and
install like "normal" host-tools do; should remove the function decl
warnings reported by greywolf@starwolf.com on current-users.
2002-01-10 17:04:20 +00:00
mrg
f6a5bde398
build sunlabel as a host tool (not enabled in tools/Makefile yet)
2002-01-10 16:35:05 +00:00
lukem
96119ca83f
- act more like lib/libc/gen/setprogname.c, and store the basename of
...
the argument to setprogname()
- knf
2002-01-10 05:35:42 +00:00
lukem
328430b633
revert previous, and reenable tools/makefs now that it works on
...
netbsd-current and netbsd-1-5
2002-01-10 05:17:20 +00:00
lukem
3e8ee2e17f
Symlink ./ufs to ${.CURDIR}/../../sys/ufs, and add -I. to HOST_CPPFLAGS.
...
This means that <ufs/*/*.h> come from ../../sys/ufs, but other
<sys/*> header files still come from the host system's /usr/include.
This slightly ugly hack to the Makefile means that makefs compiles on
-current and 1.5.x machines (and other systems), without requiring
major code rewrites in sys/ufs/ffs to allow sharing and without
requiring duplication of sys/ufs/ffs* under usr.sbin/makefs.
2002-01-10 05:03:45 +00:00
lukem
c6934ce7ad
regen from configure.ac 1.3 for <inttypes.h> change
2002-01-10 04:32:18 +00:00
lukem
fe4a1b3537
look for <inttypes.h> and #include if found (for uint*_t)
2002-01-10 04:31:15 +00:00
tv
bc23e55bd1
Disable makefs in src/tools for the moment; it's very dependent on -current
...
NetBSD headers and sources right now. (Temporary workaround for PR 15175.)
2002-01-09 16:58:35 +00:00
mrg
5bd0c76f92
build zic as a host tool.
2002-01-05 07:36:33 +00:00
mrg
fc820c7268
build makefs, and, sparc-installboot if sparc||sparc64
2002-01-05 07:03:30 +00:00
mrg
2218533d73
build this as a host tool.
2002-01-05 07:00:56 +00:00
lukem
07fae6dedd
Add replacement fgetln(3) (from lukemftp/libukem), as fparseln(3) uses it
2002-01-04 14:39:06 +00:00
lukem
cd2127f548
remove lukemftp comment; this is just as close to the libutil version
2002-01-04 14:30:51 +00:00
lukem
85b0720ce9
need <errno.h> and <stdarg.h>
2002-01-04 14:28:05 +00:00
tv
40d58903e4
Work around some braindamage in our "yacc": its generated #line directives
...
always name the file "y.tab.c", not what it is really named via "-o".
2002-01-04 13:35:23 +00:00
tv
06f06e280f
Add more tolerant script-based implementation of mkdep for host tool
...
compiles. Based loosely on mkdep.old.compiler (so CSRG license copied),
but now uses just one rewrite (awk) process per cpp invocation and
determines the proper way to run cpp and awk via a "configure" script.
Use HOST_MKDEP in bsd.hostlib/hostprog.mk (defaulting to the old override
value of MKDEP), and give it a TOOLDIR equivalent in bsd.own.mk.
2002-01-03 22:45:23 +00:00
tv
fe9dd95fc6
Remove stray diagnostic "echo".
2002-01-03 16:47:08 +00:00
tv
b6ed0d753c
* Honor BUILD on "make install" (will do "make all" first).
...
* Make "make all" update the .build_done timestamp more intelligently;
if no files changed in the build tree, don't touch the timestamp.
(This allows UPDATE and BUILD to function correctly.)
2002-01-03 16:45:18 +00:00
tv
ff6a46630e
* Now that src/share/tmac no longer uses absolute paths, nuke the sed
...
transform.
* Use a .USE rule for the tmac installation (reduce redundancy).
* Suppress spurious messages from "cmp".
2002-01-03 16:38:50 +00:00
mrg
706a739f19
build a sparc/sparc64 useful installboot. called nbsparc-installboot
2002-01-02 05:26:58 +00:00
thorpej
88371dafeb
We can't currently build a toolchain for x86-64 here, so don't
...
attempt to do so.
2001-12-31 22:35:41 +00:00
wiz
ecc52c5854
Typo fix in error message.
2001-12-29 15:45:52 +00:00
tv
94d108be2e
Avoid building and installing every time, so that we don't have toolchain
...
dependencies cause things like constantly regenerating catpages....
2001-12-13 19:36:22 +00:00
lukem
94ff981067
missed a couple of NOMAN= :(
2001-12-13 03:44:37 +00:00
lukem
d8b4b32178
no need to set NOMAN twice
2001-12-12 12:07:26 +00:00
tv
9156c43a3a
Add NOMAN/NOLINT.
2001-12-12 02:48:46 +00:00
tv
7facb14657
Fix use of @.
2001-12-12 02:42:17 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
tv
87d14ee4ac
Add the framework for autoconf-based src/tools/compat structure. This will
...
(after it is more fleshed out) allow the host tools to work more cleanly
on non-NetBSD hosts.
2001-12-11 21:17:56 +00:00
jmc
a6eb3732ce
Need ${TMACDIR}/tmac.an.old installed as well. Also include UPDATE checks
...
around this rule and the tmac.an rule.
2001-12-09 23:34:31 +00:00
jmc
6050051aa4
Fix the files pulled in from src/share/tmac. Need to replace the hardcoded
...
/usr/share/tmac in them with ${TMACDIR} so the cross groff doesn't just
end up using the currently installed macro set to build man pages.
2001-12-09 06:12:26 +00:00
jmc
0ce9aa8e6c
Add pwd_mkdb as a toolchain bit for builds
2001-12-07 02:28:53 +00:00
jmc
1bcf4d49b2
Make sure and run sh configure as it may not have execute permissions.
2001-12-02 03:03:12 +00:00
thorpej
7c2121a815
Build makewhatis as a host tool, since it is used at the end of
...
the build.
XXX Needs a -lz hostlib.
2001-11-29 23:51:38 +00:00
jmc
60f22ac7b8
After bsd.man.mk changes make sure and set TMACDIR here to point into
2001-11-28 05:01:59 +00:00
jmc
5a0f427e5a
Oops. typo which can break things for non-new toolchain builds if MKTOOLS isn't
...
set
2001-11-22 19:09:42 +00:00
jmc
9a35e17e68
Make the null rule execute something so make is appeased if the .y file is
...
newer than the checked in .c file. Otherwise make errors out.
2001-11-22 08:20:07 +00:00
jmc
0d11dd0127
Check for USETOOLS!=yes in addition to MKTOOLS==no to generate the empty rule
...
sets. Otherwise platforms not running the new toolchain will end up with
lossage as tools attempt to get built and installed into /bin (due to
bsd.own.mk properly checking USETOOLS before setting up a default TOOLDIR).
Don't print the warning unless MKTOOLS=no
2001-11-22 00:13:10 +00:00
perry
184d8eecad
replace instances of INSTALL_FILE with HOST_INSTALL_FILE
2001-11-19 04:47:42 +00:00
tv
f39f0b5131
Workaround some make(1) braindamage wrt when it tries to "auto-chdir"
...
back to ${.CURDIR}. How losing....
2001-11-16 16:41:46 +00:00
tv
b384b10366
Change .MAKEFLAGS to MAKE_ARGS so MACHINE doesn't get trashed in some
...
cases.
2001-11-16 01:50:17 +00:00
tv
0911b89ff5
Fix the fix; only install gcc once.
2001-11-15 00:20:26 +00:00
thorpej
2536e6bcf3
Fix a typo in the install target list.
2001-11-15 00:17:54 +00:00
tv
bd55c68a03
Use ${TOOLDIR}/bin/nbm4.
2001-11-14 23:19:11 +00:00
tv
7cbe8c2c16
Recheck the GNU configuration if ${.CURDIR}/Makefile changes.
2001-11-14 22:14:48 +00:00
tv
d21f3d4a13
Prefix all target-specific things with `${MACHINE_GNU_PLATFORM}-'.
...
Prefix all non-target-specific things with `nb'.
2001-11-14 22:13:39 +00:00
tv
054166f6cf
Use ${INSTALL_FILE:N-U}.
2001-11-14 22:07:03 +00:00
tv
06be8101a1
Add autoconf as a host tool, not built by default.
2001-11-14 20:05:23 +00:00
tv
6b68aed49a
Add m4 to host tools (not built by default).
2001-11-14 15:32:05 +00:00
tv
25c34dba0d
Move host program overrides of INSTALL and MKDEP to <bsd.hostprog.mk>.
2001-11-13 17:36:14 +00:00
tv
259ff4e7d0
Re-add MKTOOLS as a "yes"/"no" only variable, which prevents recursion on "no"
...
into the src/tools subdirs on all/depend/dependall/install. Other recursive
targets are not affected.
2001-11-13 16:17:24 +00:00
tv
be1b573f6d
One More Time: Make _mvcpp work on an UPDATE install (without bombing).
2001-11-13 15:32:15 +00:00
tv
958e3755af
Make _mvcpp work on an UPDATE reinstall.
2001-11-13 15:30:06 +00:00
tv
30b6e7538a
Re-add cpp; this was lost in the overhaul. (XXX this needs to GO AWAY
...
and the build system needs to use ${CC} -E...!)
2001-11-13 14:49:00 +00:00
tv
7e3f01a244
Fix installation of -mdoc macros.
2001-11-13 14:21:03 +00:00
tv
cc88e154cb
Change where the -j1 is set to disable parallelism. XXX This should not
...
be necessary; .NOTPARALLEL needs to be told how to work properly for
specific recursion targets.
2001-11-13 06:17:45 +00:00
tv
6937675d3c
Don't put commands in the suffix rule override (avoids target graph cycles).
...
Protect from multiple inclusion.
2001-11-13 06:03:41 +00:00
tv
c31cbb4bcc
Remove extraneous @echo from local changes.
2001-11-13 05:02:37 +00:00
tv
71abcbf812
Move around the MAKE_ARGS assignments to put the := as early as possible.
2001-11-13 04:43:25 +00:00
tv
be39e87135
Remove local addition mistake in previous.
2001-11-13 04:38:13 +00:00
tv
c1cbb7c3e3
Use ${_srcdir} in .MADE, and add "Makefile" to the list.
2001-11-13 04:37:00 +00:00
tv
8753b7b6af
Make the wrapper work correctly for groff too, which uses a rather freaky
...
Makefile layout.
2001-11-13 04:28:27 +00:00
tv
aab33a26c5
Make sure the wrapper is used recursively. -f is not propagated to MAKEFLAGS.
2001-11-13 04:01:49 +00:00
tv
b5cd2489b2
Major overhaul of src/tools and host toolchain. Summary of changes:
...
* Rewrite src/tools Make logic to work like the rest of the tree wrt
"dependall" and "install". The old "make build" hack is gone.
* Remove the MKTOOLS logic. This was linked to the "make build" hack,
and was only needed because TOOLDIR originally had no writable default.
* Redo the GNU configure/make logic to make it fit reasonably in a
BSD make wrapper. Use new ${.ALLTARGETS} variable to scan for
targets in $(srcdir), and mark them with .MADE: to prevent rebuilding.
* Only build cross tools in src/tools; remove some messy logic in
src/usr.* and src/gnu/usr.* that would do target filename rewriting
(improves consistency and readability).
* Add the ability to build cross gdb at tool build time by setting
MKCROSSGDB (default no) to "yes" in mk.conf.
* Add src/tools/groff and set up paths to work with this cross groff.
2001-11-12 23:16:17 +00:00
tv
34f19baa7f
Make use of OBJHOSTMACHINE here, since <bsd.obj.mk> is preloaded.
2001-11-12 17:46:35 +00:00
jmc
6dda1d498c
Pull the rmd160 stuff out as mtree now has options to selectively compile
...
pieces out we won't need during a build.
2001-11-11 01:36:15 +00:00
jmc
ac4077ac62
Turn on defines to disable all the hashing functions. We don't need these for
...
the build and some systems won't have all the routines.
2001-11-11 01:35:21 +00:00
thorpej
f48c450929
Build the cross-dbsym.
2001-11-09 15:07:25 +00:00
thorpej
ca61e8a63a
Support for building the new BFD-using dbsym(8) as a targeted host
...
tool.
2001-11-09 05:53:26 +00:00
jmc
67de198df5
XXX...Complete hack for now.
...
Add a stub for RMD160File which prints out a warning and returns NULL.
This allows mtree to be built when hosting from a 1.5.x box.
The real solution is to convert the src/tools bits into clean portable tools
and not have them so NetBSD-current centric.
2001-11-08 20:30:54 +00:00
tv
472dcba2fb
* Always use the makewrapper when starting a build phase.
...
* Set stuff mostly in the environment, not on make(1)'s command line.
This is needed for MACHINE and MACHINE_ARCH (noted by bjh21), and keeps
the mk.conf-overriding-env behavior (suggested by several people).
* Use MAKEFLAGS to make the wrapper script more readable.
* When prepping objdir in tools for the default TOOLDIR value, just make
that objdir; leave the recursive "make obj" for later.
2001-11-02 05:07:22 +00:00
thorpej
d8c2abc4aa
Make *really* sure that MACHINE is set to an empty string so that
...
it doesn't infect the linker script build (i.e. override any MACHINE=
that might already be in MAKEFLAGS).
2001-11-01 01:52:45 +00:00
tv
a75f4fb35e
Don't actually delete the default tooldir on "cleandir"; else we'll nuke
...
the nbmake that is probably currently running.
Just leave the "cleantools" manual target as a shortcut for the user.
2001-10-31 19:38:02 +00:00
tv
61be23b431
* Create a variable HOST_OSTYPE that represents the host build environment,
...
using `uname -s`-`uname -r`-`uname -p || uname -m`. This can be overridden
in mk.conf or the environment, and is used by host tools to ensure that
build hosts do not clobber each other.
* Now that there's an objdir in src/tools, make a default TOOLDIR by creating
"tools.${HOST_OSTYPE}" in the objdir (if it exists) of src/tools. This
means that TOOLDIR is no longer required to be set in a build, though it
still may be set manually if desired.
* Set MKTOOLS to "yes" by default, since the default TOOLDIR is now located
in a known mutable location. This may still be set manually if desired.
2001-10-31 17:46:08 +00:00
tv
dd7ca02987
Make handling of USETOOLS uniform: Don't need to check whether it is
...
defined, as <bsd.own.mk> always sets it; also, compare only against "yes"
(not "no") for a yes/no check, as there are two negative states ("no" and
"never").
2001-10-31 16:15:00 +00:00
tv
c9a6a2c359
* Always descend into "tools" regardless of USETOOLS setting. Instead,
...
just don't build the tools if USETOOLS!=yes. This permits objdirs to
be created even when USETOOLS=no.
* Clean up use of "-m" by specifying it to .MAKEFLAGS: if needed.
2001-10-31 01:20:09 +00:00
perry
b0b54c8912
Nuke the test for TOOLDIR here. Although it is theoretically a nice
...
idea, in practice it prevents doing totally reasonable things like
"make cleandir" or "make obj" when you don't have a TOOLDIR built.
2001-10-27 01:57:40 +00:00
thorpej
722428c06b
Add asn1_compile as a host tool.
2001-10-25 07:45:13 +00:00
thorpej
1ae193710b
Avoid some annoying pitfalls of HOST_CPPFLAGS:=... in Makefile.host.
2001-10-25 02:37:49 +00:00
thorpej
14b9a21526
Avoid some annoying pitfalls of HOST_CPPFLAGS:=... in Makefile.host.
2001-10-25 02:23:21 +00:00
thorpej
21d2d1202e
Back out previous -- it has other annoying side-effects I missed.
2001-10-25 02:02:46 +00:00
thorpej
9132ab1031
No need to assign HOSTPROGNAME here, since we aren't changing it from
...
what PROG defaults to.
2001-10-25 01:49:48 +00:00
thorpej
e39fae1aff
Add the program's CPPFLAGS to HOST_CPPFLAGS using make(1)'s normal
...
lazy evaluation semantics, not the "assign it now" semantics. This
allows variables used in the program's CPPFLAGS to get the correct
values of e.g. MACHINE, MACHINE_ARCH, MACHINE_CPU, etc.
Problem was notices when propagating MACHINE and MACHINE_ARCH via
MAKEFLAGS (i.e. from the command line, rather than the environment).
For this to work, make sure you <bsd.hostprog.mk> is at least rev 1.15.
2001-10-25 01:25:02 +00:00
thorpej
14c7c08a1d
Provide a PRINTOBJDIR.
2001-10-25 00:36:26 +00:00
thorpej
b196c65125
Build a properly target-prefixed cross-tool version of mdsetimage,
...
using libbfd.
2001-10-24 23:57:45 +00:00
thorpej
d5b1b00eaa
Add $MACHINE_GNU_PLATFORM- prefixes to lint(1)'s front and back
...
ends, thereby properly making this a cross-tool. This addresses
bin/14280.
2001-10-24 02:32:56 +00:00
jmc
3a2cae9ab1
If <srcdir>/../Makefile.inc exists, pull it in as well before setting
...
CPPFLAGS, etc.
2001-10-22 05:30:47 +00:00
jmc
a831891141
Pull in mdsetimage to the tools builds. (XXX - using libbfd here would
...
probably be preferrable long term).
2001-10-21 23:10:46 +00:00
jmc
37e7a6a0a9
Add mklocale to cross-tools and turn it back on for the builds.
2001-10-20 06:04:59 +00:00
tv
101cc06772
Set TEXINFO_MAINT to an empty string when configuring texinfo, so that
...
the doc rebuilding (doc/help2man), which requires perl, is not invoked.
2001-10-19 02:40:03 +00:00
jmc
21a3d2f022
Set MKSHARE=no so the real Makefile won't pull in bsd.files.mk
2001-10-18 05:33:01 +00:00
jmc
1ea83aa531
Add crunchgen, msgc and menuc
2001-10-13 06:11:06 +00:00
jmc
8a8f936f25
Add msgc as a hosted tool
2001-10-13 06:10:52 +00:00
jmc
96d288e3b5
Add menuc as a hosted tool
2001-10-13 06:10:32 +00:00
jmc
12d4fcbae6
Add crunchgen as a hosted tool
2001-10-13 06:10:09 +00:00
jmc
b8b456e6f9
Add install.files rule. Tools with support files can use HOSTFILES and
...
HOST_FILESDIR to install support files (just like bsd.files.mk normally
would be doing.
2001-10-13 06:09:25 +00:00
enami
a28fcd776c
Make mtree a host tool and use it when appropriate.
2001-10-09 05:19:03 +00:00
tv
822fbb0675
Prevent parallelism problemswhen recursing into the GNU makefiles by
...
disabling parallelism in those builds.
2001-10-08 22:43:56 +00:00
tv
17f50da79a
Move the setting of DESTDIR from the environment to the command line, deals
...
with DESTDIR being set on the command line at the top level (as per MAKEFLAGS
propagation in newer make(1) sources).
2001-10-08 22:19:55 +00:00
bjh21
fe71d89d58
Blank MACHINE in the environment when building the toolchain. This is
...
necessary to prevent ELF linker scripts' being built incorrectly, and
parallels rev 1.5 of gnu/usr.bin/binutils/ld/Makefile.
2001-10-06 16:38:04 +00:00
tv
848b7208e8
Clear DESTDIR from the environment when invoking make on the toolchain's
...
GNU makefiles. Some of these tools are (amazingly) DESTDIR aware, but
we don't want that handling for host tools.
Fixes PR bin/14079.
2001-10-04 17:52:27 +00:00
tv
4748eedac5
Recurse properly; just add "build" to TARGETS (fixes reported problem where
...
"make clean" doesn't work at the src/tools level).
2001-10-04 16:33:05 +00:00
tv
63e11416cf
Add STRIP to the environment of binstall, to use proper strip at install
...
time. Noted by <jepeway@blasted-health.com>.
2001-09-25 01:43:35 +00:00
tv
9998046745
Work around "make obj" lossage in tools/. Dunno why this is happening
...
just yet; will investigate this evening.
2001-09-22 12:29:22 +00:00
tv
aea7f2e0d5
Move the definitions of host tools from Makefile.tools to <bsd.own.mk>.
...
Turn on USE_NEW_TOOLCHAIN explicitly on i386. (See current-users or
tech-toolchain for the heads up announcement and tech details.)
2001-09-22 05:45:50 +00:00
tv
e704f6d2ea
Move <bsd.hostprog.mk> to the right place so TOOLDIR can be set in mk.conf.
2001-09-22 05:02:13 +00:00
tv
14e39089db
Add lorder to TOOLDIR host tools.
...
Only descend into directories if USE_NEW_TOOLCHAIN is set (allows top level
Makefile to use "-m ${.CURDIR}/share/mk" to get the "correct" <bsd.own.mk>
when descending into src/tools/Makefile).
2001-09-22 04:15:19 +00:00
tv
772c71ae08
Revert previous. The dependency strategy used in "tools" is not the same as
...
in the rest of the source tree, for reasons that will be documented separately.
Short story: host tools that are out of date need to be rebuilt
*from scratch* to avoid our common `source skew accidents'.
2001-09-22 04:12:33 +00:00
mrg
158c241b62
add UPDATE/NOCLEANDIR support.
2001-09-22 01:19:11 +00:00
tv
5242e768a7
Add compile_et to TOOLDIR host tools.
2001-09-21 23:01:08 +00:00
tv
d27286ce34
- Create a real cpp binary.
...
- Set CC properly in environment for mkdep and lint.
- Add compile_et to TOOLDIR host tools.
2001-09-21 23:00:35 +00:00
tv
001747f623
Do a cleandir also before building when a timestamp demands it (not just on
...
MKTOOLS=always).
2001-08-14 13:55:57 +00:00
tv
b4b99a2b55
Remove USE_NEW_TOOLCHAIN definition; this will go in bsd.own.mk.
2001-08-14 12:36:34 +00:00
tv
c516c1badc
Make MKTOOLS tri-state; add "always" to dictate that the host tools are to
...
be rebuilt on every build.
2001-08-14 12:36:10 +00:00
tv
c5d597ce98
Bootstrap toolchain framework, first pass.
2001-08-14 11:01:55 +00:00