Commit Graph

681 Commits

Author SHA1 Message Date
lukem
4ccf8439eb Use BUILDSYMLINKS & CPPFLAGS.foo rather than cat & cp for m68000 overrides.
Lightly tested on m68000 cross-compile; the resulting .o files are the
same as before this change.
2008-08-04 06:59:47 +00:00
lukem
044c3465a8 Use BUILDSYMLINKS instead of custom rules for ${G_LIB2ADD} and unwind.h
Add some MAKEVERBOSE love.
2008-08-04 04:55:55 +00:00
lukem
d929f5af49 Add an explicit rule for ${OBJS}: ${DPSRCS}, since <bsd.prog.mk>
doesn't provide that any more, and this Makefile uses the latter
in a non-standard fashion.
Fixes "make" in a clean directory when "make depend" has not been run.

Use DPSRCS rather than hand-crafted rules to achieve the same effect.
2008-08-04 04:53:22 +00:00
christos
9f25c42945 Only match paths that start with /, otherwise mm_malloc.h ends up as a stray
dot, and we end up spewing:

    i386--netbsdelf-gcc: .: linker input file unused because linking not done
2008-05-25 21:37:02 +00:00
mrg
9770ba3578 bump libbfd major since its ABI changed 2 weeks ago. 2008-04-20 07:11:21 +00:00
mrg
ecc90aa046 make all sun2 use -O0 and move most of the hacks out into just 3 files. 2008-02-09 02:37:21 +00:00
mrg
eff6f27b55 regenerate all mknative-gcc files after skrll@'s fix to grab the
objc config.h.  use this config.h in libobjc4.

this should address PR 37966, for -current.
2008-02-09 01:03:38 +00:00
mrg
e6f4791d95 make sun2 build again with liberal use of -O0. 2008-02-05 02:41:15 +00:00
mrg
0190531f12 regen for GCC 4.1-20080202. 2008-02-05 02:23:22 +00:00
simonb
d8de5b102b Remove support for NetBSD/pc532. 2008-01-09 11:25:58 +00:00
skrll
bd5ba3588c Rerun mknative for all archs.
Picks up the addition of complex support and use of __cxa_atexit.
2007-09-21 10:51:02 +00:00
mrg
7c79844261 re-run mknative with GCC 4.1.3 2007-06-21 16:58:44 +00:00
uwe
e249080b64 Regen: remove sh5 support from sh3 tools. 2007-04-20 11:13:23 +00:00
scw
23c93d0392 Remove support for NetBSD/{,evb}sh5. 2007-04-08 09:56:02 +00:00
matt
2018fad37d Honour ${CPUFLAGS} 2007-03-09 04:40:38 +00:00
mrg
e274239983 regenerate everything with fixed c++ math bits. 2007-03-01 01:57:15 +00:00
drochner
ce75a0ec7e regen after math.h change - now we've got _GLIBCXX_USE_C99_MATH 2007-02-26 11:57:52 +00:00
drochner
10527a675c regen after math.h change - now we've got _GLIBCXX_USE_C99_MATH 2007-02-07 16:52:31 +00:00
drochner
310805bbe6 regen after math.h change - now we've got _GLIBCXX_USE_C99_MATH 2007-02-06 17:32:29 +00:00
mrg
b2d62876b4 regenerate these files via mknative.
XXX: gcc auto-host.h generation is still broken and turns off
XXX: gas "comdat" support.  i have not commited these files..
2007-01-13 09:26:59 +00:00
skrll
768e889c8b Delete more gcc3 stuff. 2006-11-20 17:08:35 +00:00
christos
f1951fb14a compile some files with -Wno-stack-protector since they are heavy alloca
users.
2006-11-09 20:07:14 +00:00
christos
6367f77577 -Wno-stack-protector 2006-11-09 04:07:11 +00:00
christos
0dd539c2fc Add COPTS bypass in rules. 2006-11-09 04:06:51 +00:00
mrg
6348cc61a8 regenerate mknative-gcc files for powerpc64-netbsd and GCC 4.1-20061021. 2006-10-24 05:57:31 +00:00
mrg
e1850e2121 regenerate mknative-gcc files for GCC 4.1-20061021. 2006-10-23 07:01:19 +00:00
mrg
8d4305f309 regenerate mknative-gcc fies for GCC 4.1-20061021.
(some of these are not 100% tested yet, but they are have the
right changes as the tested platforms.)
2006-10-22 23:27:23 +00:00
mrg
d7bc6234aa regenerate powerpc and sparc64 mknative files for GCC 4.1-20061021. 2006-10-22 20:01:41 +00:00
cherry
ebd1964a09 Bootstrap for ia64 2006-09-14 23:48:28 +00:00
scw
959fd76ef8 Add gcc4 mknative files for sh5el. 2006-09-04 20:01:28 +00:00
mrg
eb4b398a46 regenerate. (largely from dsl@, thanks.) libstdc++ should support
wide characters properly again now, for everyone.
2006-08-28 09:26:59 +00:00
mrg
063c6908bc regenerate with many fixes in libstdc++-v3 configury. 2006-08-24 10:28:07 +00:00
mrg
4f8b9b11de regenerate with recent wchar/iconv fixes. 2006-08-23 20:47:02 +00:00
mrg
fb8e7a5b18 regenerate with partly-fixed gcc4/libstdc++-v3 configury. 2006-08-23 12:55:01 +00:00
tsutsui
a7be7dcdc1 MKDEBUG -> MKDEBUGLIB 2006-07-23 03:27:09 +00:00
tron
85fccc00b0 Remove C++ sources which are linked into the build area in "cleandir"
target. This fixes problems when trying to build another architecture
in the same source tree without using object dirs.
2006-07-16 19:54:21 +00:00
mrg
0d145f62a4 regenerate with fixed gcc configury and libc 2006-07-07 08:38:40 +00:00
mrg
049148f698 for PowerPC64, use -mlong-double-128 when building libgcc. 2006-07-06 21:39:44 +00:00
mrg
2f9635ff9a regenerate with fixed armeb configury 2006-07-06 00:26:39 +00:00
tron
0eda04c460 Remove "cs-tconfig.h" in "cleandir" target. 2006-07-04 18:26:18 +00:00
mrg
aacdf51747 regenerate 2006-07-03 00:24:45 +00:00
mrg
700bddfd36 regenerate 2006-07-02 23:05:45 +00:00
mrg
3b92ffadb2 these aren't used and probably won't be so clean them up. 2006-07-02 22:35:51 +00:00
mrg
09ffbd262e regenerate 2006-07-02 22:23:09 +00:00
mrg
e5c6e6a9ab regenerate 2006-07-02 22:12:09 +00:00
mrg
15e1fa39fd regenerate 2006-07-02 21:46:28 +00:00
mrg
3056cc0cf1 regenerate 2006-07-02 09:17:20 +00:00
mrg
a61b5bf841 regenerate. 2006-07-02 07:04:41 +00:00
mrg
291f9292a5 regenerate 2006-07-02 01:26:32 +00:00
mrg
a9550b25ec regenerate 2006-07-01 21:55:44 +00:00
mrg
96a5a9b8ad regenerate. 2006-07-01 21:48:00 +00:00
mrg
e7473eb25e regenerate these. 2006-07-01 05:53:13 +00:00
mrg
5f4bf87665 mknative binutils for powerpc64 2006-06-30 22:48:14 +00:00
mrg
9eade63ded don't build _mulsc3.o, _muldc3.o, _mulxc3.o, _multc3.o, _divsc3.o,
_divdc3.o, _divxc3.o or _divtc3.o for vax, since they depend on
__builtin_inf which does not exist there.
2006-06-30 12:01:57 +00:00
mrg
93720dafdf mknative files for vax / gcc4. 2006-06-30 11:59:36 +00:00
mrg
50ee1514c8 regenerate mknative for armeb. 2006-06-30 03:00:34 +00:00
mrg
5842bdbd43 run mknative for powerpc64. 2006-06-30 02:54:50 +00:00
mrg
dfd0a157a5 regenerate for arm 2006-06-26 20:40:41 +00:00
mrg
0d4ef31ba8 regenerate arm, sh3el (now properly working) and sh3eb (not yet
properly working.)
2006-06-26 19:54:03 +00:00
mrg
c1f26e8c41 regenerate hppa mknative files. this mostly works but i have to
compile significant portions of the tree at -O1 instead of -O2, and
sometimes -Os/-O0 is required, and others none works.  i'd guess that
some instructions in the .md file are generating more assembler than
they claim to be since all these errors are due too large offsets.

but fixing that is work for someone else, or at least another day :-)
2006-06-24 12:58:42 +00:00
mrg
5378eb2368 factor out the unwind.h building code. use it for libgcc itself (needed
when there is no libgcc_s.)

add dependancies for the generated arch/defs.mk to optionlist.
2006-06-23 17:27:08 +00:00
mrg
9dcea3dbff add GCC4 mknative files for sun2. seems to build ok.. 2006-06-23 07:48:45 +00:00
skrll
19e53faf30 More files changes in mknative re-run. I'm still cheating with
src/tools/gcc/Makefile
2006-06-12 11:45:33 +00:00
skrll
09e99a2e51 Re-run mknative for the gcc 3.3.6 import. There's a bit of cheating going
on here - mainly the use of an old src/tools/gcc/Makefile.
2006-06-12 08:00:22 +00:00
mrg
98983484cf remove a comment that isn't really valid. 2006-06-04 02:30:56 +00:00
mrg
100e6c8e21 actually use the local generated options.h rather than the empty version
from the libgcc build dir.  this should fix powerpc build issues.
2006-06-03 22:40:38 +00:00
mrg
db19e89e04 remove support for building (with) GCC 2.95. also:
- always install <stdbool.h>
- don't generate a fake one for vax / gettext.
2006-06-02 22:16:18 +00:00
mrg
d91ef09809 make GCC3 work for vax - without shared library support. 2006-06-02 20:00:37 +00:00
drochner
cb566fe802 sync RCS IDs in comments, no functional change 2006-05-27 13:37:04 +00:00
drochner
8bd6a6b9bd reran native-gcc, fixing the COMDAT problem 2006-05-27 12:14:33 +00:00
mrg
f421d0c91a regenerate. fixes mipsel HAVE_COMDAT_GROUP 2006-05-26 19:57:29 +00:00
mrg
16c4e2e447 generate new libobjc4 files and regenerate many many others.
XXX: re-running "make native-gcc" some times causes the
XXX: gcc/configure test for COMDAT groups to fail.  a fresh
XXX: configure (ie, with no objdir/.native tree yet) seems to
XXX: fix this.  right now mipsel and alpha have the wrong
XXX: definition in the checked in auto-host.h.
2006-05-24 21:20:32 +00:00
mrg
5eebeb71e5 generate options.h like we do for gcc4/backend. so far only seems to
be strictly necessary for powerpc so allow the old MI defs.mk to be
used if a MD one does not exist.  when all platforms are regenerated
this support can be removed along with libobjc4/defs.mk.
2006-05-23 10:59:03 +00:00
mrg
331828317b mknative generated files for hppa and GCC4. seems to kinda of build, not run-tested. 2006-05-21 00:48:58 +00:00
mrg
e9d0e73f70 generated sh5 mknative GCC4 files. seems to build ok, but as-yet untested. 2006-05-20 20:36:03 +00:00
mrg
4bdc7bbc2d add mknative files for sh3* and GCC4. these build the basics but bomb
out in libc due to the current implementation of va_arg() using lvalue
casts and GCC4 gets very unhappy with lvalue casts.
2006-05-20 09:57:48 +00:00
mrg
75a847818d also -I.../gcc/config. this fixes the sh3 builds. 2006-05-20 09:56:29 +00:00
mrg
61772c2d25 generated sparc and m68k GCC4 mknative files. these are only build
tested and mvme68k was the m68k platform has been built.
2006-05-20 03:54:10 +00:00
mrg
173e1af775 generated mknative files for amd64 and GCC4. not tested but a release
build completes.
2006-05-19 18:41:37 +00:00
drochner
7e8ecee6be add alpha native support
(a kernel compiled with gcc4 runs for me, userland untested)
2006-05-19 11:44:24 +00:00
mrg
f97e259a75 add generated mknative files for mipseb platforms. evbmips/mipseb gets
to kernels build now (this breaks due to current -current breakage.)

(i guess christos's csu fixes fixed the builds libgcc_s build, which was
missing symbols that i recall as being weak.)

the mips* binaries are as-yet untested.
2006-05-19 05:44:16 +00:00
mrg
804d35c095 GCC4 mknative files for armeb (big endian) and mipsel (little endian.)
armeb builds but mips fails in libgcc_s.so.
2006-05-18 20:20:49 +00:00
mrg
657e5b49ad GCC4 mknative files for arm (little endian) 2006-05-18 20:18:11 +00:00
mrg
a702cc5589 regen (just rcsid changes) 2006-05-18 18:43:37 +00:00
mrg
93f5fae775 generate arm (little endian) mknative files. "evbarm" release builds,
but this is 100% untested yet.
2006-05-17 05:52:38 +00:00
mrg
e172949eb7 regenerate 2006-05-17 05:33:36 +00:00
mrg
09bf9ad8a0 regenerate with fixed mknative-gcc. 2006-05-15 22:10:05 +00:00
dogcow
15d9504168 /usr/src/gnu/dist/gcc4 -> ${GNUHOSTDIST} 2006-05-15 13:40:00 +00:00
christos
7a85412dcd We don't need -Wno-error 2006-05-15 04:57:05 +00:00
uwe
e37068ccdf Force building and installing libgcc_pic.a when MKPIC=yes even when
MKPICINSTALL=no, as it is required to build shared libraries.  Move it
to comp-c-lib set to match crtbeginS.o
2006-05-13 01:50:51 +00:00
mrg
33ffc74201 - bump libobjc to version 2.1
- now that OBJCOPTS.file.c works, use it for the objects that need it
- always pass -fno-strict-aliasing -fexceptions like the GCC build does
2006-05-11 23:52:41 +00:00
mrg
89318da5dd add the build framework for in-tree GCC4 libraries, and the mknative
output for i386, sparc64 and powerpc.
2006-05-10 22:53:49 +00:00
mrg
2427b03e9b GCC4 subdir is actually called "libstdc++-v3_4" 2006-05-09 19:29:13 +00:00
skrll
61458fa35f Do a mknative run to pick up (for real) the added support for various
features.

nan is removed from libstdc++ as it's been added to libc. A major bump
is avoided as there are very few (no) examples of linkage against
libstdc++ and not against libc.
2006-04-20 20:14:05 +00:00
christos
2731b15f5e fix debug build 2006-04-09 02:52:20 +00:00
mrg
0db1500b43 retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4. 2006-04-07 19:38:58 +00:00
he
9be7b2d54a After the latest update to <sys/time.h>, struct timezone is no longer
defined if _NETBSD_SOURCE is not defined, so comment out the definition
of HAVE_STRUCT_TIMEZONE.  Fixes build problem for vax.

Even though this file says "auto-generated, do not edit", matt said
"OK" to manually tweaking it.
2006-04-01 20:02:56 +00:00
he
91afe2706a Now that the libiberty config.h was made MD again, we need to instruct
the build of this (only done for old gcc, i.e. vax) to pick up the
config.h file from the new place.
2006-02-16 10:36:24 +00:00
skrll
d36eb258eb mknative re-run to pick up the binutils version from the sources
imported, i.e. the binutils-2.16.1 release and not the branch that
I worked with originally.

Lot of the changes are due to the update of the mknative script RCSId.
2006-02-04 17:03:02 +00:00
christos
c71e1a889d bump version. 2006-02-03 16:30:13 +00:00