Commit Graph

911 Commits

Author SHA1 Message Date
bouyer 63a0d054cf At last on some linux distros, gmake is needed to build the cross-gdb. 2012-10-01 19:27:04 +00:00
skrll 18ea2c9f55 More tweaks 2012-09-27 11:29:49 +00:00
skrll 35ceab06ed No need to do "obj includes" twice. 2012-09-25 11:12:16 +00:00
skrll 40ecf146db More tweaks. I didn't manage to complete a mknative from scratch run, but
this is a step in the right direction.
2012-09-25 06:55:10 +00:00
joerg 2b3d1ee8a7 Update LLVM/Clang snapshot to r164464. This adopts the GCC options for
the SSP parameters and a not-yet-default rewrite of SROA.
2012-09-23 17:22:22 +00:00
pooka c978e80017 fix EXTERNAL_TOOLCHAIN build 2012-09-20 15:50:20 +00:00
skrll 9378dd0cd5 Update for gcc 4.5.4 2012-09-18 07:05:15 +00:00
skrll f26f274521 Attempt to describe the gcc 4.5 method (untested) 2012-09-16 15:09:55 +00:00
jmmv cdcce7d462 Add a new "-P prefix" option to mkdep(1).
This option prepends the string given in prefix to every target
filename.  This is useful for programs that have source files in
multiple subdirectories and a single Makefile that references all of
them explicitly (without using the VPATH functionality because there
can be files with the same name in each subdirectory).
2012-08-26 22:37:19 +00:00
skrll c3746f757b Grab CRTSTUFF_T_CFLAGS_S.
Gentlement start your mknative runs.
2012-08-11 16:05:01 +00:00
joerg 2ce6b7d32d Decouple binutils build from HAVE_GCC. Merge common fragments of
HAVE_GCC and HAVE_PCC.
2012-08-10 16:13:36 +00:00
christos 53b6bc587f add -I${TOOLDIR}/include/nbinclude to fix the build (find arm/elf_machdep.h).
Is nbinclude intended here? Why not put the machine files in ${TOOLDIR}/include?
2012-08-05 06:20:14 +00:00
hans f70d5ee4a9 Don't use -print0/-0 in find | xargs, it is non-standard and not needed at all. 2012-06-19 21:48:33 +00:00
joerg 062cd24989 Fix version string returned by clang --version.
Integrate the in-tree config file generation with the cross-building
toolchain.  Regenerate the files.
Keep version numbers all in one place.
2012-06-17 07:40:25 +00:00
joerg c9196b81ce Update LLVM/Clang snapshot to r158533. This brings in support for
stack-realignment in functions using alloca on x86. Move to
/usr/include/clang-3.2 to reflect the version.
2012-06-16 17:01:02 +00:00
tsutsui 0532bb776d Use ${DESTDIR}/usr/mdec for DEFAULT_BOOTDIR on tools fdisk(8)
rather than unknown build host's /usr/mdec directory.

XXX: no option to leave MBR bootcode empty on x86 targets
2012-06-05 13:41:23 +00:00
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