Commit Graph

153 Commits

Author SHA1 Message Date
matt e1c4f892b5 or1k does not support --with-float 2014-09-03 19:25:29 +00:00
mrg ac641cb906 remove remaining makefile support for GCC < 45 that i found. 2014-06-14 20:49:36 +00:00
skrll bca753667d Don't grab libstdc++-v3/config.h it's not used. 2014-05-29 16:27:50 +00:00
mrg 955b6c1f27 commonize the netbsd local version string. (the native one wasn't
updated, and now that won't be a problem again.)
2014-05-29 07:40:37 +00:00
mrg f6968e3347 two fixes skrll@ pointed out:
- pass --enable-libstdcxx-threads to enable a bunch of tests and thus
  get the right answers
- MKNATIVE_CONFIG_TARGET_LIBS needs to do libgcc before libstdc++-v3,
  for the GCC 4.8 case.

with these we now get the right threading options in the headers.
2014-05-28 07:32:22 +00:00
skrll e0000582f3 Update with-pkgversion date for gcc 4.8.3 import. 2014-05-27 09:19:30 +00:00
joerg 61731496eb Retire USE_COMPILERCRTSTUFF=yes. 2014-04-22 13:20:58 +00:00
mrg 4e43797c9f don't collect gthr-default.h anymore. 2014-03-02 04:58:20 +00:00
mrg 4501ec6885 don't collect c++allocator.h. we copy it via G_ALLOCATOR_H we've
already pulled out, and the extra copy can confuse make when it
has an older timestamp than the copy in dist/libstdc++-v3/.
2014-03-02 03:17:14 +00:00
mrg b53d27fc90 define GCCDIST properly for GCC 4.1, and since it is now the same
as GCCSRCDIR remove the latter.
2014-02-27 20:15:53 +00:00
mrg afa90f2bf5 prepare for moving GCC 4.5 into gcc.old:
- convert to using ${EXTERNAL_GCC_SUBDIR}
- define base-external-gpl3-gcc* subdir as GCC_SUBDIR
- use <bsd.init.mk> over <bsd.own.mk> for a bunch of places; mostly
  because it arranges for ../Makefile.inc to be included earlier, and
  don't bother including the latter if the former is already included.
- move all .PATH: settings after <bsd.{own,lib}.mk> so that all
  valid variables are set before it is evaluated
- rename mknative-gcc* to match their subdir name.

XXX the relationship between the Makefile.inc/Makefile.gcc_path files
    is kind of sketchy, it would be great if this was fixed.
2014-02-26 09:54:32 +00:00
christos eff9fc76a8 put back some cppflags we lost. 2014-02-18 01:34:18 +00:00
christos 8140d3b7fb Merge gcc-4.8 mknative bits. 2014-02-17 21:39:43 +00:00
skrll 9897c7a624 The mpfr sources moved down into a src directory - deal with this in
mknative.
2014-02-16 11:26:31 +00:00
mrg 75219f3a01 update to MPC 1.0.1. 2013-11-28 12:08:56 +00:00
skrll 28fd2e75c0 Improve wording and remove typos 2013-10-21 09:02:08 +00:00
skrll c31e8e667f Move the GNUHOSTDIST assignment back to the top of the Makefile. 2013-10-21 08:59:29 +00:00
skrll 2143de4353 Group the mknative stuff together - no functional change 2013-10-20 17:12:23 +00:00
skrll 739e5cb01a g/c VAX_CONFIGURE_ARGS 2013-10-20 17:10:15 +00:00
skrll e0d4b1e3bf Make sure gmake is quiet when grabbing variables. 2013-10-20 16:00:20 +00:00
skrll 02cb02f748 Deleted 1 line too many in previous commit. 2013-10-20 14:55:28 +00:00
skrll cc4d923295 g/c gcc3 goop 2013-10-20 14:14:18 +00:00
matt 86b93a01b2 m68k doesn't support with-float=soft 2013-07-18 22:00:48 +00:00
mrg 9b70ac591a pass both NEWCONFIGDIR and NETBSDSRCDIR to mknative-gcc. 2013-06-28 08:30:10 +00:00
mrg bbbc9a7e3c use NETBSDSRCDIR to find mpc/mpfr/gmp, not NEWCONFIGDIR, the
latter which is for finding a r/w directory to write to if
we're running from a read-only tree.
2013-06-27 02:38:39 +00:00
skrll e960d69d35 Create a sanitise_includes function and use it everywhere it's needed. 2013-05-05 07:11:34 +00:00
skrll e75ab118f0 Avoid populating mknative output with gmp,mpfr, and mpc source
directories
2013-04-25 16:18:43 +00:00
skrll 3aad465ab1 Use --with-{mpc,mpfr,gmp}-{lib,include} to avoid the LIBISPRIVATE=no
dance in mknative and avoid poluting the DESTDIR.

Update the README to reflect this.
2013-04-18 05:20:00 +00:00
martin db54b43cab Note MKRUMP=no and the need to specify HAVE_GCC= explicitly when using
MKGCC=no. Also point at but number 47353.
2012-12-26 19:11:27 +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
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
skrll c3746f757b Grab CRTSTUFF_T_CFLAGS_S.
Gentlement start your mknative runs.
2012-08-11 16:05:01 +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
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
matt e1da7aef13 Fix PPC _SOFT_FLOAT 2011-10-13 19:52:33 +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
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
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
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 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