Commit Graph

849 Commits

Author SHA1 Message Date
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
apb e4189833c9 Prevent expansion of <dollar>NetBSD<dollar> in a string that's
indended to be copied to nbtool_config.h.

Fix most lines longer than 80 columns.  I don't know how to fix the
long lines in the definition of NB_CHECK_INTTYPE.
2011-08-14 20:20:59 +00:00
mrg b9477da802 add --disable-werror. GCC 4.6 doesn't like some of the code here and
rather than patching code to fix it (and one case isn't trivially fixable)
simply turn off -Werror by default here.  should fix PR#45140.
2011-08-04 02:38:41 +00:00
joerg a968e272e0 Partially revert last, keep assertions enabled (but with the correct
spelling of the option).
2011-07-18 19:11:28 +00:00
adam b878485fea Pass HOST_CC otherwise fails e.g. on Mac OS X; fixed typo in --disable-assertions 2011-07-18 18:37:15 +00:00
joerg 3eb244d801 Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
2011-07-17 20:54:30 +00:00
joerg 9777e8c193 Update to Clang/LLVM r135360. Most importantly, this adjusts the
cc -print-search-dirs output to expand sysroot-prefixed library paths to
make live easier for libtool.
2011-07-17 20:07:56 +00:00
tsutsui a1f5c3dd33 Build nbm68k-elf2aout as a host tool on m68k targets
for an ancient PROM bootloader.
Mostly taken from nbmips-elf2ecoff.
2011-07-16 15:52:01 +00:00
joerg 220d715bdc Update to LLVM/Clang r135100 to get past the type system rewrite. 2011-07-13 23:48:29 +00:00
mrg fd2a48532a force HAVE_AS_SPARC_GOTDATA_OP to false, since those relocs seem
busted with our binutils.  now sparc64 seems to work fine.
2011-07-10 15:28:26 +00:00
mrg 29bf026bea install elf2ecoff for all mips64 systems. it's needed for stand. 2011-07-10 08:43:50 +00:00
joerg 1cb60d627b Update LLVM/Clang snapshot to r134635. This reduces the memory usage in
preprocessor heavy code and recognizes mipseb as alias for mips.
2011-07-07 21:59:14 +00:00
matt 464af93e1a Fix cleandir-llvm (only remove config if it exists) 2011-07-07 05:41:59 +00:00
joerg 288bb96063 Hook up LLVM's MIPS target. 2011-07-05 19:37:10 +00:00
joerg 04d0160d70 Also enable toolchain build of ARM 2011-07-05 17:30:35 +00:00
joerg 1b9578b8c2 Hook up LLVM's ARM target. 2011-07-05 17:22:20 +00:00
joerg c8a6f85bd1 Use a different switch to explicitly disable developer-only libraries
for the toolchain build.
2011-07-05 17:15:51 +00:00
joerg b49cc14919 Hook up LLVM's SPARC target. 2011-07-05 14:15:56 +00:00
joerg 8597eac543 Hook up LLVM's PowerPC. 2011-07-04 22:37:58 +00:00
joerg b0f1ff448a Update LLVM/Clang to r134374. This brings the xstorerng alias for Via
PadLock, a bugfix for the C++ ABI in one edge condition and various
compiler improvements.
2011-07-04 16:10:38 +00:00
mrg b2ad2936ae fix the previous 2011-07-03 12:26:02 +00:00
mrg 1f61213386 -I$DESTDIR/usr/include is escaping into the generated files from
the native-gcc run.  add some sed commands to remove them.
2011-07-03 12:11:32 +00:00
mrg d2d81d57a9 copy sysroot-suffix.h as well, for sh3. 2011-07-03 06:47:12 +00:00
mrg b9c57fbd15 also pull out LIB2ADD_ST for libgcc. 2011-07-02 13:25:05 +00:00
mrg 0debd27c81 avoid creating an unused directory. 2011-07-01 02:11:14 +00:00
mrg a8847d182c - call each ${MKNATIVE_CONFIG_TARGET_LIBS} target separately
- comment out maybe-all-target-libgcc
- cope with the special transformation needed for gtyp-input.list
2011-07-01 01:27:17 +00:00
wiz 4cbd24b23f dependant -> dependent 2011-06-30 20:09:15 +00:00
mrg 425b4dd861 fix previous; they belong in _headers1 2011-06-30 07:16:59 +00:00
mrg 2703d75c7b - repurpose MKNATIVE_CONFIG_TARGET_LIBS to list all the targets
- disable building pch for the mknative run
2011-06-30 07:02:17 +00:00
mrg 089e26552b also pull tr1_impl_headers parallel_headers and decimal_headers for libstdc++ 2011-06-30 07:01:14 +00:00
mrg 3e9b4b1af1 fix all-tree.def, and add gtyp-input.list 2011-06-29 05:06:03 +00:00
mrg 8d616c352f fix the path for libdecnumber. 2011-06-29 02:13:59 +00:00
mrg a4e3e6142c get libdecnumber info out of GCC. 2011-06-29 02:02:38 +00:00
mrg 9897cb288e also need bversion.h 2011-06-28 04:30:32 +00:00
mrg c86def5214 some more updates for GCC 4.5. 2011-06-28 03:58:55 +00:00
mrg 68a31119f2 output stuff to the right libiberty dir for gcc 4.5. 2011-06-23 12:06:32 +00:00
mrg 64f6248066 get this some what working with GCC 4.5. i at least have managed to
get crtstuff and libgcc to build for amd64, and have linked and tested
/bin/sh with all these GCC 4.5 compiled part.
2011-06-23 05:42:37 +00:00
mrg 63da379d23 use --sysroot with GCC 4.5. (maybe could with 4.1 too? the 4.1 code
here is broken right now, anyway, ever since the sysroot changes were
merged into our tree.)
2011-06-21 09:37:41 +00:00
mrg 2d7ccc14fc initial port to HAVE_GCC = 45. mknative-gcc parts are from me
and are largely untested, most of the rest is from chuq.
2011-06-21 04:11:12 +00:00
mrg e13b252934 always build gmake if HAVE_GCC.
build gmp, mpfr and then mpc if HAVE_GCC >= 45.
2011-06-21 02:15:41 +00:00
mrg d25ffa98a4 tools build framework for gmp, mpfr and mpc. from chuq. 2011-06-20 05:56:45 +00:00
plunky c84ce3700e because we use --sysroot, force the default paths to be normal
while here, enable tls support
2011-06-13 12:29:16 +00:00
matt 865180f6f7 If building the cross gcc for softfloat, add --with-float=soft so it will
default to it.
2011-06-10 16:31:18 +00:00
joerg d14e81e4ad Update to LLVM/Clang revision 131404. This includes the fix for asm labels
on builtins (broke longjmp usage) and a better cross-compiling support
in combination with -m32/-m64.

Update configuration to include /usr/include/clang-3.0 in the search
path.
2011-05-16 19:27:47 +00:00
joerg 46f5119e40 Update LLVM and Clang snapshot 2011-05-12 14:56:22 +00:00
joerg 1a9a81992d BSD grep is good enough if someone really needs src/tools/grep. 2011-04-21 14:27:11 +00:00
tron 0f152b1dd8 Set "HOSTLIB" before including "bsd.own.mk" to get the destination
directory checks to work properly.
2011-04-17 12:52:26 +00:00