Commit Graph

555 Commits

Author SHA1 Message Date
mrg
3bb37666dd s/gcc3/gcc4/. 2006-10-19 08:18:45 +00:00
christos
9b803358d7 PR/34848: Roland Illig: NetBSD's sed cannot handle files that are missing
the final new line.
This is an fgetln() problem; fix and add a way to test.
2006-10-18 15:17:38 +00:00
apb
a1d21442a0 Wrap #ifndef __BIT_TYPES_DEFINED__ around #define __BIT_TYPES_DEFINED__.
Reported by Narayana Prasad.
2006-10-16 19:44:23 +00:00
christos
c3c402ca3b kill __unused 2006-10-12 16:19:06 +00:00
apb
71ba9763cb Configure the bootstrap make in such a way that it can use a shell other
than "sh" for executing commands.  Useful in a cross-build environment.

* Do not define _PATH_BSHELL, because it is no longer used by make.

* In addition to _PATH_DEFSHELLDIR (the directory in which the default
  shell can be found), define _BASENAME_DEFSHELL (the shell's basename).

* Use shell builtin string manipulation instead of sed to extract
  the directory name and basename from $BSHELL.

OK sjg, christos
2006-10-09 20:51:05 +00:00
christos
5883c53809 regen. 2006-10-09 14:59:41 +00:00
christos
9c3c382c56 sideways check for error functions. 2006-10-09 14:59:05 +00:00
apb
50ef6180ea If PREVIOUSTOOLDIR was empty, then don't complain that it has moved.
Patch from Jukka Salmi in PR 33095.
2006-10-08 15:21:00 +00:00
thorpej
b3971ecdf5 Put common/lib/libc/stdlib into .PATH. From Hisashi T Fujinaka. 2006-10-08 04:31:55 +00:00
apb
26bf5ec9ea Add definitions for strmode. This was missing from the
patch in PR 31232.
2006-10-07 22:00:22 +00:00
apb
ff5cff67a1 regen 2006-10-07 19:19:14 +00:00
elad
09256aac55 PR/31232: Wim Lewis: tools/compat doesn't check for pre-existence of
strmode()

Commited slightly different diff, input and okay from apb@
2006-10-07 16:19:35 +00:00
apb
01948befcb Use ${HOST_SH} instead of the host system's /bin/sh wherever possible:
* _PATH_BSHELL from the host's <paths.h> might be broken, so override it
  with our PATH_BSHELL, which is derived from HOST_SH.
2006-09-29 20:00:15 +00:00
dbj
f3b496ec9b implement HOST_CPPFLAGS+= -DNO_BASE64
this fixes cross compiling
2006-09-24 21:43:14 +00:00
simonb
a6a46a588a Allow for building a crosstools version of gprof.
Disabled by default, can be enabled with MKCROSSGPROF=yes.
2006-08-27 07:04:00 +00:00
christos
3f4976a941 undo previous. I'll do it differently. 2006-08-26 22:17:48 +00:00
christos
d81e58017f compile efun.c too. 2006-08-26 22:15:14 +00:00
christos
c4db14231b Some tools need efuns. 2006-08-26 18:26:14 +00:00
christos
f38f9fbc4a Remove advertising clause. 2006-08-26 16:24:29 +00:00
mrg
8274a24af8 point out the GCC4 dirs not the GCC3 dirs. 2006-08-23 20:52:15 +00:00
mrg
467d749333 pass RAW_GCC_FOR_TARGET when running configure-target-libstdc++-v3.
now iconv and wchar_t things are properly set.  still missing
_GLIBCXX_HAVE_S_IFREG and _GLIBCXX_USE_NLS.
2006-08-23 20:45:24 +00:00
thorpej
c1f7db8026 Also check for DIR.__dd_fd. tools/compat now builds on the WWDC developer
preview version of Mac OS X "Leopard".
2006-08-20 18:52:05 +00:00
freza
3d00583f2e * Fix parallel build race condition between real{all,depend} and
<bsd.subdir.mk> targets.
* No need to pass TOOLDIR to recursive cleandir in real{all,depend}.

With help from he@.
OK by tron@.
2006-08-03 17:11:05 +00:00
tron
633d50b175 Another attempt to fix the race in parallel builds. 2006-08-03 09:55:56 +00:00
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