mrg
baba04193b
fix a merge error only seen with NETBSD_NATIVE defined.
2011-06-28 07:52:40 +00:00
mrg
340b2629aa
output of mknative-gcc updates for GCC 4.5.
2011-06-28 04:24:12 +00:00
mrg
7153279ecd
build the gcc libraries.
2011-06-28 04:23:56 +00:00
mrg
3c1598d843
begin to fix this for GCC 4.5. gengtype-yacc is gone, and -parse is its
...
replacement. build the list of files from $G_GTFILES like GCC build dones.
2011-06-28 04:23:01 +00:00
mrg
b66c3ccf81
DEVPHASE of an actual gcc release is empty. do that.
2011-06-28 04:22:17 +00:00
mrg
4b23c5af8a
- libmath is gone.
...
- add a bunch of file-specific CPP and compiler directives necessary.
with a sucessful mknative-gcc run, this appears to run. haven't yet
confirmed that the resultant library is usable.
2011-06-28 04:08:57 +00:00
mrg
cfddc529b5
adjustments for GCC 4.5 src include path changes.
2011-06-28 04:07:36 +00:00
mrg
188cbb4343
add the path to has_set file.
2011-06-28 04:07:04 +00:00
mrg
6a253ff1f1
add _floatundixf to the normal list. fix the G_EXTRA_HEADERS. from chuq.
2011-06-28 04:03:56 +00:00
mrg
c415c98518
libstdc++-v3/libmath subdir is gone.
2011-06-28 04:03:16 +00:00
christos
d2b7346773
delint
2011-06-25 20:27:01 +00:00
christos
67995da767
add missing paren
2011-06-25 20:13:03 +00:00
christos
478d1edef4
It is a lot nicer to getenv() what you need once and makes the code a lot
...
more readable.
2011-06-25 17:13:34 +00:00
mrg
9332c044e4
run mknative-gcc for amd64 and GCC 4.5.
...
this is only enough to build crtstuff, libgcc* and libobjc.
2011-06-24 05:31:36 +00:00
mrg
9ae752839c
update this for GCC 4.5's libiberty.
2011-06-24 05:28:48 +00:00
mrg
4f89948c93
- fix the path for GCCARCH and GCCARCH
...
- force DEVPHASE to "release"
-
2011-06-24 05:27:57 +00:00
mrg
0c1f7b8a8f
look in the right path for auto-host.h
2011-06-24 05:26:06 +00:00
mrg
04291615b1
look in the right path for defs.mk.
2011-06-24 05:25:24 +00:00
mrg
d186a20caf
add a README to describe how to port GMP build framework, and a script
...
to parse the GMP ./configure output and generate part of a makefile.
move all the mpn build stuff into the MD part of the framework, and
update the amd64 port to build all the parts it should.
XXX: amd64 build fails to preprocess redc_1.asm gcd_1.asm mod_1_4.asm,
XXX: so we're using the generic C versions for now.
2011-06-24 03:50:23 +00:00
riz
fa44c6496c
Remove a noisy debugging printf that triggers on bigendian platforms.
...
(Reported upstream as well)
2011-06-23 16:12:36 +00:00
mrg
2dfe08e57e
fix some more paths for GCC 4.5.
2011-06-23 12:16:36 +00:00
mrg
51c8ec53ea
make this work with mknative-gcc:
...
- libgcc.mvars only depends upon config.status/Makefile, not any built thing
- copy the unwind.h creation rule into a separate target, just for mknative-gcc
2011-06-23 12:11:24 +00:00
mrg
b9124e5a28
make this build on amd64.
...
XXX: need to confirm that all the objects are built but this is
XXX: enough to make GCC happy.
2011-06-23 12:09:30 +00:00
mrg
eecc4c450e
don't try to declare alloca() (wrongly) on netbsd.
2011-06-23 12:07:41 +00:00
mrg
8049a32395
fix a bunch of paths to look in the right places for gcc 4.5.
2011-06-23 11:47:12 +00:00
mrg
a35e5c5d02
fix the file list and make this work.
2011-06-23 04:39:24 +00:00
mrg
0e6b883dda
fix this to actually build and seem to work.
2011-06-23 04:38:36 +00:00
mrg
840a879e5b
port this change from our gcc 4.1 tree. not entirely sure it's correct
...
yet, but not yet able to test ...
revision 1.5
date: 2011/04/10 16:50:18; author: joerg; state: Exp; lines: +2 -2
Reduce difference between src/tools/gcc and src/gnu/usr.bin/gcc4
configuration. All but the target to helper programs should be the same.
Mark include directories as sysroot-relative.
2011-06-22 05:15:15 +00:00
mrg
65a1c6301f
avoid installing limits.h and friends.
2011-06-22 05:14:26 +00:00
mrg
c64370a6d5
fix a potential off-by-two array overflow found by GCC 4.5.3.
2011-06-22 03:59:49 +00:00
mrg
16c29695a3
use %option noinput since we need it. found by GCC 4.5.3.
2011-06-22 03:58:51 +00:00
mrg
1f2368609b
remove an always true test found by GCC 4.5.3.
2011-06-22 03:58:24 +00:00
mrg
c111245a78
apply some -Wno-error and/or -fno-strict-aliasing.
...
all of this should be looked at closer, but some of them are not
very trivial.
2011-06-22 02:49:41 +00:00
nonaka
b1a8984138
fix typo.
2011-06-21 11:42:20 +00:00
mrg
5b5d810159
this needs %option noinput. thanks to martin.
2011-06-21 09:34:54 +00:00
mrg
f90498bd01
pull across these revisions from gcc 4.1:
...
configure:
revision 1.12
date: 2011/03/10 15:14:49; author: skrll; state: Exp; lines: +1 -1
Look for TLS on hppa on netbsd.
configure.ac:
revision 1.11
date: 2011/03/10 15:14:49; author: skrll; state: Exp; lines: +1 -1
Look for TLS on hppa on netbsd.
2011-06-21 07:39:18 +00:00
mrg
1c4baf8439
pull across these revisions from gcc 4.1:
...
revision 1.8
date: 2011/06/11 00:57:29; author: matt; state: Exp; lines: +2 -0
If we are compiling -msoft-float, define _SOFT_FLOAT
revision 1.7
date: 2011/03/12 07:57:38; author: matt; state: Exp; lines: +3 -1
Define HAVE_AS_TLS until our build tools figure out how to do it.
revision 1.6
date: 2011/02/25 22:36:10; author: matt; state: Exp; lines: +7 -0
Explicitly make sure TARGET_SECURE_PLT is defined correctly rather than
relying on HAVE_AS_REL16 from "auto-host.h".
revision 1.5
date: 2011/02/10 07:18:29; author: matt; state: Exp; lines: +3 -0
Default NetBSD to -msecure-plt now.
2011-06-21 07:31:13 +00:00
mrg
1c860480c9
pull across these revisions from gcc 4.1:
...
revision 1.21
date: 2011/01/23 06:29:52; author: matt; state: Exp; lines: +1 -1
Default mips64 to softfloat.
revision 1.22
date: 2011/02/10 07:18:29; author: matt; state: Exp; lines: +3 -0
Default NetBSD to -msecure-plt now.
2011-06-21 07:28:44 +00:00
mrg
76a21f6aa5
pull across these revisions from gcc 4.1:
...
revision 1.9
date: 2011/04/15 13:42:22; author: joerg; state: Exp; lines: +2 -1
Move the headers for compiler and platform specific intrinsincs from
/usr/include to /usr/include/gcc-4.1.
revision 1.8
date: 2011/04/10 21:25:56; author: joerg; state: Exp; lines: +1 -0
Add back a stylish new line.
revision 1.7
date: 2011/04/10 16:50:18; author: joerg; state: Exp; lines: +20 -12
Reduce difference between src/tools/gcc and src/gnu/usr.bin/gcc4
configuration. All but the target to helper programs should be the same.
Mark include directories as sysroot-relative.
adjust the paths to gcc-4.5, and add an XXX note about this ugliness.
2011-06-21 06:54:27 +00:00
mrg
aaaade9e8e
pull across from gcc 4.1:
...
revision 1.2
date: 2011/02/05 00:37:40; author: joerg; state: Exp; lines: +2 -2
Explicitly use template to allow building with the more strict
template lookup in clang. From FreeBSD.
2011-06-21 06:22:06 +00:00
mrg
1e4c47b919
pull across from gcc 4.1:
...
revision 1.2
date: 2011/05/25 15:51:55; author: joerg; state: Exp; lines: +2 -2
Don't define explicit instantiation as inline.
2011-06-21 06:18:56 +00:00
mrg
3b87de1dcf
move the gcc 4.5 usr.bin build makefiles to the right place.
2011-06-21 06:03:13 +00:00
mrg
f0c80e6ced
*sigh* move these files into the directories i meant for them to exist in.
...
start actually porting to gcc 4.5 in the process.
2011-06-21 06:02:25 +00:00
mrg
c6121f4c92
remove stuff from the wrong directory. oops.
2011-06-21 05:34:50 +00:00
mrg
6c3d0727c9
front end to build gcc 4.5 components
2011-06-21 04:53:33 +00:00
mrg
8dbf0d5bb3
prepare to build native gcc 4.5, don't build native gcc 4.1, for HAVE_GCC=45
2011-06-21 04:52:49 +00:00
mrg
b7268f61f6
build stuff for mpc, mpfr and gmp. mpfr is mine, the others are from chuq.
...
XXX: i don't think gmp works yet. it wants multiple files with the same
basename but in different subdirs to link into one library...
2011-06-21 04:23:56 +00:00
mrg
d0fea80e35
add a NetBSD_DISABLED rule for cfns.h.
2011-06-21 04:14:34 +00:00
mrg
0c72853741
add some "NetBSD_Disabled*" rules to avoid r/o src tree build issues.
2011-06-21 04:03:33 +00:00
mrg
2a3bc70d3b
import the non-arch specific makefiles we use to build GCC 4.1
...
as a base reference.
2011-06-21 02:48:27 +00:00