Commit Graph

895 Commits

Author SHA1 Message Date
joerg
1fa9b84508 Add cdbr(3) support to tools/compat. 2012-06-04 19:06:45 +00:00
joerg
571103e860 Build getcap.c only once. 2012-06-04 18:53:02 +00:00
joerg
4b38c823d2 Make Alan Barrett happy and add (). 2012-06-04 10:18:01 +00:00
joerg
f7ef3610be Add a special seeder for cdbw_output that gives stable results.
Hook up cdbw(3) for the tool build.
2012-06-03 21:02:50 +00:00
joerg
4f6bb5e029 Add __predict_true / __predict_false definitions. 2012-06-03 21:01:43 +00:00
joerg
b203f35690 Don't depend on __P. 2012-06-02 22:54:52 +00:00
joerg
55a1bc2fcb Always use system zlib. Avoids the need for 32bit build environment when
bootstrapping on some Linux distros. We require zlib to be present anyway.
2012-05-31 21:02:02 +00:00
joerg
2fab7c857c Forcefully override the GNU make configure check. The build system in
NetBSD doesn't need it, so the configure check doesn't have to reject
a prestine NetBSD host.
2012-05-31 18:52:16 +00:00
tsutsui
56ed3d51fc Don't use "#if defined(__i386__) || defined(__x86_64__)" conditionals
in C source file to define option features.
Define proper options in each Makefile per ${MACHINE_ARCH} variable instead.

Previously if a host is x86 and it has /usr/mdec/mbr file in its system,
tools fdisk implicitly installs it as mbr bootcode even for !x86 targets.
2012-05-05 16:03:55 +00:00
tsutsui
07a6a7e726 Replace not only space but also '(' and ')' on generating BUILD_PLATFORM
strings to appease shell's echo.
Cygwin's uname -r returns "1.7.9(0.237/5/3)" etc.
2012-04-18 11:28:30 +00:00
mrg
9ac63422b6 force set ac_cv_mkdir_path to our install -d program.
fixes the remaining issues with 'sourcesets' and 'tools'.
2012-04-15 08:37:32 +00:00
mrg
9ec90b003a force ac_cv_path_mkdir to be set to nbinstall -d. this will avoid
gmp/configure from trying to use its install-sh for mkdir -p, and
should fix sourcesets created tarball builds.
2012-04-12 01:05:31 +00:00
joerg
103b308da9 Update LLVM/Clang snapshot to r153935. This brings in the new inline
cost analysis.
2012-04-04 10:42:00 +00:00
joerg
ead2c0eee3 Update LLVM/Clang snapshot to r151411. This brings in Lambda support for
C++11 and a new literal format string check to catch variadic argument
functions.
2012-02-28 17:09:29 +00:00
njoly
584981b8a8 Adjust libyywrap.c location. 2012-02-18 17:51:21 +00:00
skrll
b7196e474c Disable the sim on mips for next person running gdb7 mknative. 2012-02-09 15:15:58 +00:00
christos
66776cea39 remove dup target. 2012-01-21 22:31:15 +00:00
tsutsui
fdc3c331af Always redefine DEV_BSIZE=512.
All references of DEV_BSIZE in tools are to manipulate target
(i.e. NetBSD's) file images (in installboot(8) and makefs(8) etc.) and
no host's DEV_BSIZE is required for the moment.  Closes PR toolchain/42574.
2012-01-21 20:05:27 +00:00
christos
c300185bd0 Merge the two Makefiles that were mostly copies of each others.
The reason to do this was to add support for cleaning up the config.cache
files when the build environment (as determined by uname -srm) changes.
2012-01-20 23:01:05 +00:00
joerg
e39ef1d61e Update LLVM/Clang snapshot to r148262 for some bugfixes. 2012-01-17 15:51:55 +00:00
skrll
3e6a962380 Fix bootstrap-libgcc for gcc 4.5 2012-01-10 12:27:54 +00:00
skrll
4684600473 Fix (harmless?) HAVE_GCC comparison version. 2012-01-10 12:26:45 +00:00
joerg
3a9ee24e6b Explicitly request TLS support for mknative. 2011-12-12 18:59:06 +00:00
skrll
a273c995fc Pull across the fix for target/50691
ok'ed by mrg@
2011-12-02 09:44:48 +00:00
tsutsui
3093d001cd Pass M4=${TOOL_M4:Q} to CONFIGURE_ENV for tools/gmp.
Fixes configure error on cygwin.
2011-11-21 13:46:37 +00:00
christos
96f71ed699 mkdir the proper sim dirs! 2011-11-06 19:46:12 +00:00
joerg
89e5f5a8b7 Add getline.c here too. 2011-11-03 19:30:05 +00:00
joerg
fe2cc85884 Update LLVM/Clang snapshot to r143571 for the improved optimizer. 2011-11-03 17:52:53 +00:00
joerg
b0027af054 Add getline(3) compat glue. 2011-11-03 14:13:53 +00:00
joerg
6edf2caf7f Revert .WAIT removal and add comment why it is needed between *tblgen. 2011-11-03 07:42:56 +00:00
njoly
2b2cb14012 Do not build tic more than once 2011-11-02 23:47:07 +00:00
christos
9002895fe6 move tic later, after all the tools it needs are built. 2011-11-02 20:36:41 +00:00
yamt
de081393a5 tweak dependencies for tic, which needs nbperf, awk, and sed. 2011-11-02 20:33:18 +00:00
christos
8bfa1d3c54 Handle auto-generating hash.c 2011-11-02 17:49:20 +00:00
joerg
ecc1f89d09 Remove an unnecessary .WAIT between llvm-tblgen and clang-tblgen. 2011-11-01 23:11:55 +00:00
joerg
ac992c4949 Hook up nbperf into the normal tool build. 2011-11-01 21:16:28 +00:00
mrg
c23dc553e9 obsolete now useless (and wrongly set to "219" :-) HAVE_BINUTILS.
switch the sense of the gdb and gcc tests to list the platforms not
switched to gcc 4.5 or gdb 7, which is now:

GCC 4.1:
.if ${MACHINE_ARCH} == "alpha"	|| \
    ${MACHINE_CPU}  == "arm"	|| \
    ${MACHINE_CPU}  == "m68k"	|| \
    ${MACHINE_CPU}  == "vax"

GDB 6:
.if ${MACHINE_ARCH} == "alpha"	|| \
    ${MACHINE_ARCH} == "hppa"	|| \
    ${MACHINE_CPU}  == "mips"	|| \
    ${MACHINE_CPU}  == "sh3"	|| \
    ${MACHINE_ARCH} == "vax"

let's go, people!  (-:
2011-10-31 08:14:43 +00:00
matt
e1da7aef13 Fix PPC _SOFT_FLOAT 2011-10-13 19:52:33 +00:00
joerg
9aa0541bdf Update LLVM/Clang snapshot to r141658. This primarily fixes a regression
preventing Qt4 from building.
2011-10-11 13:53:56 +00:00
christos
494dd6b7c3 add psim support 2011-10-09 02:03:30 +00:00
christos
be84a9917e remove pre-gcc-4.5 mknative remnants that have long ceased to function. 2011-09-26 21:16:14 +00:00
christos
97417a67ca mknative for gdb7 2011-09-26 02:36:19 +00:00
christos
544cd45c15 adjust for new gas Makefile 2011-09-25 04:00:58 +00:00
mrg
68568a44b1 since omp.h is part of libgomp, put it in the libgomp files not the
libstdc++ files.
2011-09-23 06:43:46 +00:00
mrg
dc04629559 add libgomp support. needed by "cc -fopenmp", that koffice 2.3 wants to use. 2011-09-21 02:15:18 +00:00
jdc
3d7c729d6b Add PDP_ENDIAN definition, required for makefs (v7fs). 2011-09-05 07:38:52 +00:00
joerg
f4a68476b9 Ensure __printflike exists. 2011-08-27 18:33:22 +00:00
matt
cc8037f3d1 Add an inline ex script to modify configargs.h for powerpc to auto-enable
-msoft-float.
2011-08-17 18:34:13 +00:00
apb
4390b548c2 regen 2011-08-14 20:25:01 +00:00
apb
c2497c0d32 Detect the presence of <pthread.h>, and add a HAVE_PTHREAD_H
variable in defs.mk.
2011-08-14 20:22:42 +00:00