Commit Graph

531 Commits

Author SHA1 Message Date
lukem
ba9c7c5b9e Configure using --with-separate-debug-dir=/usr/libdata/debug.
(The various MACHINE-specific configurations will need to be regenerated.)
2006-07-21 11:23:02 +00:00
tron
09f6946261 Invoking "make cleandir" with "PREVIOUSTOOLDIR" set to the previous
location will not stop recursive "make cleandir" calls. Pass the new
location instead.
2006-07-19 09:54:47 +00:00
lukem
e728c9b011 gettext should .WAIT for autoconf.
(The former still doesn't seem to work on read-only source; separate issue)
2006-07-18 04:24:52 +00:00
tron
c1af61f813 Avoid getting into a loop of "make cleandir" instances if the location
tool directory has been changed or wasn't recorded before.
2006-07-17 13:54:46 +00:00
tron
fe4611e56b Remove ".WAIT" again because it doesn't fix the problem. 2006-07-17 11:02:02 +00:00
tron
71ee259418 Add an extra ".WAIT" to the "realall realdepend" target to make sure
it finished cleaning the tools directory in case of tool directory
mismatch before we try to rebuild the tools.
2006-07-12 10:49:11 +00:00
nathanw
17a79dbc4b Explicitly pass "--prefix=/usr" to configure so that DEBUGDIR and
LOCALEDIR point into /usr rather than /usr/local.
2006-07-02 22:15:14 +00:00
mrg
11762d9b99 force --disable-shared on vax so that GCC does not think it can use
shared libgcc.
2006-07-01 05:59:18 +00:00
ross
43efe1a030 Use _TOOL_PREFIX if present. 2006-06-30 19:47:46 +00:00
mrg
51763b5588 convert build/ggc-none.o to build-ggc-none.lo. 2006-06-25 03:06:15 +00:00
mrg
8700cb85b1 introduce a new CXXADDFLAGS and use it to pass CPPFLAG_ISYSTEMXX to
configure.  also, clean up this a little more to make mknative-gcc
work on GCC3 again, while fixing some breakage in the last couple
of revisions.
2006-06-24 05:29:03 +00:00
mrg
212755b9af also grab ${_extravars} for GCC4 in the get_gcc() function. 2006-06-24 05:26:50 +00:00
mrg
dbf21d98fa only build lint and lint2 if MKLINT != "no". 2006-06-22 20:03:41 +00:00
gdamore
d9ac053afa Make TOOL_SED, to allow using our own sed in cases where the host's version
is busted in some way.

The TOOL_SED doesn't use TIOCGWINSIZE, and has some changes to include
nbtool_config.h in a cross build environment.

Combined with some other changes (not yet committed), this allows cross
compiling m68k code on Solaris 10/amd64.
2006-06-18 05:16:41 +00:00
skrll
27d5fc1bd1 Fixes for mknative runs on gcc3.
- get the information from a gcc3 .native
	- don't get gcc4 variables
	- put back the getvars for SHLIB_LINK SHLIB_MULTILIB as they work
	  on gcc3 and leave as XXX'd on gcc4.

I've re-arranged some of the variables to minimise the differences, but
didn't do them all.
2006-06-09 15:30:52 +00:00
mrg
88e91184c2 delete GCC2 support. 2006-06-03 07:13:52 +00:00
mrg
db19e89e04 remove support for building (with) GCC 2.95. also:
- always install <stdbool.h>
- don't generate a fake one for vax / gettext.
2006-06-02 22:16:18 +00:00
mrg
e6744c2295 make this work for GCC3 one again. 2006-06-02 19:44:20 +00:00
nathanw
fd8e3777c1 Notes for how to do the mknative dance (based on the gcc one, but with
unnecessary steps removed).
2006-06-02 15:33:34 +00:00
nathanw
6c6d4376da Support .native in an objdir, so I can keep more than one around at a
time.
2006-05-30 04:22:40 +00:00
nathanw
fc275ebacd Support for mknative machinery. 2006-05-29 19:11:57 +00:00
nathanw
15577e8202 mknative script for gdb6. Largely cribbed from mknative-binutils. 2006-05-29 19:10:58 +00:00
mrg
cf8192ab0d use the same "Generated from: " tag for mknative.common so that changes
that only affect rcsid's don't cause all generated files to change.
2006-05-26 19:17:21 +00:00
mrg
445a28d54e also grab ALL_OPT_FILES from gcc/Makefile for libobjc4. 2006-05-23 10:55:55 +00:00
christos
471f50c864 Don't remove files that are needed for a build after make clean. Before
'make clean; make' failed in tools because necessary configure generated
files were removed. The failure manifested itself with string_to_flags
being undefined in binstall.
2006-05-20 00:23:39 +00:00
mrg
4e2cace64a quote variables in the gmake version of getvars() so that stuff that
looks like (FOO|BAR) works.
2006-05-17 03:27:19 +00:00
mrg
5d136667c4 configure-libiberty is only good for GCC4.
move a comment next to it's code.
2006-05-17 03:26:37 +00:00
mrg
20a4734a0a make sure that c++ headers work again. 2006-05-15 22:03:03 +00:00
mrg
9afa8c578c also note the rcsid of mknative.common 2006-05-15 21:01:42 +00:00
mrg
243ae1c185 when generating path names also substitute the real path name as well as
the VPATH.  now /usr/src doesn't end up in libstdc++-v3_4 defs.mk.
2006-05-15 20:57:45 +00:00
mrg
c08a446c31 set AR and RANLIB to the host versions in MAKE_ARGS - otherwise the
build of the "build-libiberty" fails due to these being set to "".
2006-05-12 18:01:13 +00:00
mrg
c80d901665 put MAKE_ARGS in the gmake command line. 2006-05-12 18:00:27 +00:00
mrg
642ce2be87 support GCC4:
- look in gnu/dist/gcc4
- don't build fortran
- use /usr/bin/env -i so that gmake works (XXX - breaks from MAKEFLAGS
  in the build.sh generated makewrapper.)
- use gmake and Makefile.gmakehost
- update .native/.configure_done target
2006-05-12 02:12:37 +00:00
mrg
f9d28bd46c - ensure $MAKE is set
- support $MAKE as gmake for getvars()
2006-05-12 02:07:59 +00:00
mrg
641014e847 initial wrapper for gmake-requiring tools. probably does not yet
work on all currently supported netbsd build hosts.

XXX current issues:
XXX	- calls /usr/bin/env -i directly, mostly to wipe-out MAKEFLAGS
XXX	  from the environment (usually set by the buildwrapper to
XXX	  "-de -m <path-to>/share/mk"
2006-05-11 01:17:53 +00:00
mrg
843978ed3a check HAVE_GCC == 4 not USE_GCC4. 2006-05-11 01:15:32 +00:00
christos
aa614dac23 Don't barf if USE_GCC4 is not defined. 2006-04-01 20:21:30 +00:00
jmc
67840cd950 Turn on gmake builds if GCC4 is enabled (and force it's install before continuing 2006-03-29 21:10:52 +00:00
jmc
c9e6fd9591 Add support for installing gmake as tools/bin/nbgmake 2006-03-29 21:10:26 +00:00
dogcow
79548d7aef Twiddle configure/configure.ac to check/define/create machine/endian.h; this
should fix PR/32878. Tested on NetBSD-current, FreeBSD4, Solaris8.
2006-02-22 00:14:05 +00:00
tv
0eddda9bff I haven't touched the mknative stuff since 2002. Take my name off of the
readmes, so I'm not implied as a point of contact.
2006-02-17 17:34:30 +00:00
dyoung
9151f942f8 Two changes to facilitate building tools on Darwin:
1. #undef d_fileno, which is set by Darwin's <dirent.h>,
           and which clashes with d_fileno in NetBSD headers.

        2. Install the sys/ufs/ header files in nbinclude/ in order
           to override Darwin's own, incompatible header files.
2006-02-14 04:59:33 +00:00
dyoung
b3b0356bf5 For the i386 and amd64 cross-toolset, build fdisk with -DBOOTSEL,
for a more full-featured cross-tool.
2006-02-14 04:49:50 +00:00
wiz
9d363dc8b0 regen 2006-02-11 10:35:43 +00:00
wiz
dd7c0d224c Redo previous differently: use AH_TOP and AH_BOTTOM macros to insert
header and footer into nbtool_config.h.in directly.
2006-02-11 10:35:29 +00:00
wiz
d65d538b21 regen 2006-02-11 01:28:17 +00:00
wiz
a21971be10 Make using autoheader easier:
split off the autogenerated file into nbtool_config_internal.h,
and let nbtool_config.h be a file with the proper wrappers.

This way you can just change configure.ac, run autoconf and autoheader,
verify the result, and commit, but don't have to edit nbtool_config*in
manually every time.
2006-02-11 01:28:01 +00:00
wiz
6d1f07f471 Define prototypes for strsuftoll and strsuftollx if the one for
strsuftoll was not found by configure. Second part of nbmakefs build
on 3.0.
2006-02-11 00:56:08 +00:00
wiz
4591238e8a rerun autoheader (and re-add header and footer). 2006-02-11 00:55:17 +00:00
wiz
625ce9525f regen. 2006-02-11 00:54:50 +00:00