mrg
1a086c6b25
introduce an additional switch to enable building GCC3 instead of GCC2:
...
HAVE_GCC3. if this is set, we also set USE_TOOLS_TOOLCHAIN=no. change
the definition of the former to be restricted to whether tools/toolchain
is used or not.
2003-08-27 16:03:17 +00:00
mrg
33eed2cc61
regenerate
2003-08-25 06:09:11 +00:00
mrg
bde3717628
regenerate.
2003-08-22 16:01:12 +00:00
mrg
74cfa6bb4b
regenerate
2003-08-22 09:46:57 +00:00
mrg
023ae3cdb4
regenerate
2003-08-22 02:45:22 +00:00
mrg
22660a6384
add a patch from <sdegler@degler.net> to build .asm files by copying them
...
to .S files first.
2003-08-22 02:39:56 +00:00
mrg
2fe59400d5
bump the major on these
2003-08-04 01:53:51 +00:00
lukem
64b5a0fe7b
Add INCSYMLINKS to <bsd.inc.mk> and <bsd.kinc.mk>, and use that instead of
...
SYMLINKS to install symlinked header files. INCSYMLINKS are installed with
'make includes'. This avoids using SYMLINKS and hacks with the 'linkinstall'
target in <bsd.links.mk>, as linksinstall occurs in 'make install' and hacks
to get it to occur in 'make includes' weren't robust, as seen in lib/libdes.
Yet more improvements to bsd.README.
2003-08-03 09:23:14 +00:00
matt
4e5cf29ef5
Add new files for gcc3 from native-gcc build. (alpha distribution builds
...
now successfully build).
2003-08-02 18:47:40 +00:00
lukem
a93ea220fc
Rework how dependency generation is performed:
...
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
This is a change of behaviour. If a Makefile wants the clean semantics
it must specifically append to CLEANFILES.
Resolves PR toolchain/5204.
* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
that have a suffix of: .c .m .s .S .C .cc .cpp .cxx
* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES
* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS}
* Deprecate the (short lived) DEPENDSRCS
Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.
Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
mrg
391773a711
- fix several build problems
...
- regenerate for most platforms. missing:
m68000, alpha, sh3eb.
2003-08-01 13:55:36 +00:00
matt
5166de08fb
back out inadvertant commit (however, -D_PTHREADS needs to be supplied
...
somewhere so that gthr-posix.h is included).
2003-07-30 21:21:46 +00:00
matt
e379d89a35
Remove the alpha specific -mieee flag
2003-07-30 21:20:33 +00:00
matt
774cd5317a
Remove the alpha specific -mieee
2003-07-30 21:19:35 +00:00
matt
53808daf5c
Regenerate gcc3 configuration for alpha
2003-07-30 06:22:54 +00:00
mrg
2c5b77b2d3
- find gthr-default.h for libgcc3
...
- adapt for gcc3/libiberty change
- regenerate
2003-07-30 05:33:25 +00:00
mrg
9f1ca98b0a
regenerate with --enable-threads
2003-07-29 06:49:53 +00:00
uwe
7c38c5c675
Adapt to bsd.dep.mk changes.
2003-07-29 00:13:21 +00:00
mrg
b7a9236e8e
set GNUHOSTDIST
2003-07-28 02:53:24 +00:00
mrg
975645453d
*correctly* regenerate with correct non-hardcoded paths
2003-07-28 02:39:34 +00:00
mrg
30c88832e7
regenerate with correct non-hardcoded paths
2003-07-28 01:31:15 +00:00
mrg
3335e363cf
turn back on profiling - thanks luke
2003-07-28 01:10:51 +00:00
mrg
57dc195231
build-tested support for m68000, m68k, sh3el and sh3eb.
...
XXX: sun2 seems to be currently generally busted but most of the world
builds. of course it is untested..
XXX: sh3* and -pg goes BOOM with gcc3.3... it generates code that uses
the same labels twice... need to set NOPROFILE for now.
2003-07-27 14:41:32 +00:00
mrg
5a8170433a
actually build libstdc++-v3 now.
...
XXX NOPROFILE has been set as for some very very very strange reason i
don't understand yet this is causing the compiler to barf...
2003-07-27 14:38:57 +00:00
mrg
0d07d92566
regenerate
2003-07-27 14:34:43 +00:00
mrg
354caa5839
add working alpha support - including working cross builds from x86
2003-07-27 05:10:47 +00:00
mrg
5e6550b28e
working mips support (mipsel runs fine, mipseb compiles, untested so far)
2003-07-26 18:41:26 +00:00
mrg
5a9a1bb768
- build/install a libsupc++.a
...
- clean up commented & wrong rules
- find the right bits/ headers for sparc64 & arm
- make sure libsupc++/libstdc++ have all the symbols from libiberty they want
- disable the build of libstdc++ for now (but keep the includes installing)
2003-07-26 14:55:12 +00:00
mrg
9a2ca8e117
working arm & sparc64 support
2003-07-26 14:48:06 +00:00
mrg
82dc526688
make sure tconfig.h exists before .depend
2003-07-25 19:20:07 +00:00
mrg
ae9855d2fe
maybe build gcc3 instead of gcc2
2003-07-25 16:57:06 +00:00
mrg
a9fc136dbd
new reach-over infrastructure (largely based on GCC2.95 one) that (mostly)
...
works. sparc & i386 support is included here. libstdc++-v3 does not yet
properly build for some strange reasons (that may be due to broken netbsd
header files, it's not yet clear) but i have been able to compile, link and
run both i386 & sparc hello.c.
2003-07-25 16:32:23 +00:00
lukem
70e86ffb8d
add more rules to disable default '.cc -> NULL' transforms,
...
because the default rules cause problems if "valarray.cc" is newer
than "valarray" (for example)
2003-07-22 02:52:37 +00:00
uwe
b659db9760
When MKPIC is "no" and we force MKLINKLIB to "yes" to provide
...
something for BFD-using programs to link against, also provide an
empty libinstall target so that libbfd.a does not get installed.
2003-06-26 02:49:31 +00:00
thorpej
4563b128e1
* If MKGCC == no, don't build this library, which is bundled with the
...
compiler.
* Set GNUHOSTDIST (transitional, for use with new mknative).
* Add -I${.CURDIR} to CPPFLAGS (to support a future change).
2003-06-01 02:09:31 +00:00
thorpej
a20987422e
If MKGCC == no, don't build these libraries (which are bundled with
...
the compiler).
2003-06-01 02:08:07 +00:00
thorpej
0a1127cb30
Run mknative to regenerate for binutils 2.13.2.1.
2003-05-26 01:03:05 +00:00
thorpej
a63a02e3b9
If MKPIC is "no", then we need to provide *something* for BFD-using
...
programs to link against, so reset MKLINKLIB to "yes" in that case.
2003-04-09 22:33:26 +00:00
mycroft
2add147359
Actually rerun mknative on these...
2003-03-20 14:47:36 +00:00
mycroft
f63d692921
Build COFF targets. Some embedded tools really, really want this.
2003-03-17 15:53:50 +00:00
mrg
c8e7bd6d18
back out previous:
...
- didn't need to/mean to update libstdc++ yet
- mknative generated bogus files that ended having libstc++ not install
various required headers.
should fix the "can't find iostream.h" lossage in src/regress.
2003-03-03 13:58:24 +00:00
mrg
1fdd6e4cde
build libopcodes separately from libbfd as in binutils 2.13 they have
...
separate CFLAGS name spaces, and the old combined method no longer works.
2003-03-01 13:18:28 +00:00
mrg
f2f9754b55
update / regenerate for binutils 2.13.2.1
2003-03-01 13:08:42 +00:00
jdolecek
ceb43cbb02
do not install libioP.h nor iostreamP.h
2003-01-28 14:40:59 +00:00
thorpej
1dd1ce77c1
Remove more old toolchain bits.
2002-09-17 23:24:52 +00:00
thorpej
3b08abd277
* Eliminate the USE_NEW_TOOLCHAIN variable. Instead, split it into
...
two variables:
TOOLCHAIN_MISSING -- set to "yes" on platforms for which there is
no working in-tree toolchain (hppa, ns32k, sh5, x86_64).
EXTERNAL_TOOLCHAIN -- if defined by the user, points to the root of
an external toolchain (e.g. /usr/local/gnu). This enables the cross-build
framework even for TOOLCHAIN_MISSING platforms.
If TOOLCHAIN_MISSING is set to "yes", MKGDB, MKBFD, and MKGCC are all
unconditionally set to "no", since the bits are not there to build.
If EXTERNAL_TOOLCHAIN is set, MKGCC is unconditionally set to "no",
since the external toolchain's compiler is not in-sync with the
in-tree compiler support components (e.g. libgcc).
* Set MACHINE_CPU much earlier in bsd.own.mk, so that more tests in
that file can use it.
2002-09-17 23:18:25 +00:00
lukem
16683a00df
Explicitly move setting of NOxxx (et al) to the top of the Makefile
...
(before including <bsd.own.mk>)
2002-08-19 15:01:34 +00:00
lukem
8f96758140
Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../../some/path (etc).
...
(Reduces make output by ~ 20%)
2002-08-19 09:46:39 +00:00
fredette
f53ba8285a
Now build profiled libraries on m68000.
2002-07-17 18:46:12 +00:00
itojun
18ef784f92
add some items to CLEANFILES
2002-06-19 16:10:48 +00:00
itojun
05e25409ab
mistake in replacement for peXXigen.c
2002-06-18 08:48:29 +00:00
itojun
6d9d60e78d
add rules needed for full-feature libbfd. usually not visited.
...
to build full-feature libbfd, do the following:
- add "--enable-targets=all --enable-64-bit-bfd" to
src/tools/toolchain/Makefile configure arg
- invoke nbmake-<platform> native, to regenerate files under src/gnu
2002-06-18 08:19:04 +00:00
thorpej
a2213fccd7
Add native toolchain bigs for "armeb" (big-endian ARM).
2002-05-20 15:03:38 +00:00
thorpej
887ea411f8
Remove bfd_elf32_{big,little}arm_nbsd_vec
2002-04-11 21:46:29 +00:00
thorpej
5269e780e1
Update DEFAULT_VECTOR and SELECT_VECS for arm--netbsdelf BFD changes.
2002-04-01 20:25:50 +00:00
jmc
1347ab1b90
Remove check for sparc64 which adds -msoft-quad-float as that is now the
...
default for the compiler on sparc64.
2002-03-28 09:58:09 +00:00
fredette
f3cbb9ef0a
Added ${G_CONFIGDIR} to .PATH. This is needed on m68000 so that
...
libgcc1 gets built.
2002-03-26 23:10:58 +00:00
bjh21
e00fcca843
MACHINE_ARCH can't be "arm26" any more.
2002-03-24 22:23:43 +00:00
fredette
99db91e2e0
Add m68000-specific `toolchain2netbsd' generated toolchain build/config files.
2002-03-22 00:07:45 +00:00
tv
a2ba138feb
Fix fallout from collapsing libiberty to MI config.h: libstdc++ includes
...
little bits of libiberty, so -I the non-arch specific directory now.
2002-02-28 02:13:34 +00:00
tv
ac1299bdfb
New toolchain infrastructure for sh3eb, generated with mknative.
2002-02-27 18:45:14 +00:00
tv
8d7b76f87a
Fix OBJS dependency.
2002-02-27 17:58:52 +00:00
tv
6080b95ae4
Make libobjc configury MI.
2002-02-27 17:55:32 +00:00
tv
b69d8cc8b2
New toolchain framework for sh3el platforms, generated with mknative.
2002-02-27 17:10:09 +00:00
tv
bfa4c6d7c2
Make new toolchain conf files for libiberty MI.
2002-02-27 17:03:49 +00:00
tv
1c986fdf46
Skip building anything if the target's .mk files are missing. (Allows the
...
toolchain to be built in segments, or not at all if the in-tree toolchain
is inappropriate for the target.)
2002-02-11 21:36:33 +00:00
mrg
6bdbccbb59
regenerate.
2002-01-22 15:52:53 +00:00
tron
2ece7637b1
Add "_eh.c" to list of files which are supposed to get cleaned.
2002-01-02 09:17:48 +00:00
thorpej
89b1a9ca73
Introduce 3 new MK* variables that have effect in the USE_NEW_TOOLCHAIN
...
case:
MKBFD If set to "no", disables building of libbfd, libiberty,
and all things that depend on them (binutils/gas/ld, gdb,
dbsym, mdsetimage).
MKGDB If set to "no", disables bulding of gdb.
MKGCC If set to "no", disables building of gcc and the
gcc-related libraries (libg2c, libgcc, libobjc, libstdc++).
These are useful for building platforms for which either of the following
situations are true:
(1) You have no userland from which to run toolchain2netbsd
in order to build the appropriate toolchain build framework.
(2) The platform which you are building requires a newer set
of tools than are currently in the tree (e.g. x86-64, ia64).
2001-12-31 23:04:11 +00:00
mrg
d750ba5f81
this is really libstdc++ 2.8.0
2001-12-30 17:21:19 +00:00
lukem
efcc9a4c9d
* Add user-controlled mk.conf variables
...
- SHLIBDIR Location to install shared libraries if ${USE_SHLIBDIR}
is "yes". Defaults to "/usr/lib".
- USE_SHLIBDIR If "yes", install shared libraries in ${SHLIBDIR}
instead of ${LIBDIR}. Defaults to "no".
Sets ${_LIBSODIR} to the appropriate value.
This may be set by individual Makefiles as well.
- SHLINKDIR Location of shared linker. Defaults to "/usr/libexec".
If != "/usr/libexec", change the dynamic-linker
encoded in shared programs
* Set USE_SHLIBDIR for libraries used by /bin and /sbin:
libc libcrypt libcrypto libedit libipsec libkvm libm libmi387
libtermcap libutil libz
* If ${_LIBSODIR} != ${LIBDIR}, add symlinks from ${LIBDIR}/${LIB}.so*
to ${_LIBSODIR}/${LIB}.so* for compatibility.
* Always install /sbin/init statically (for now)
The net effect of these changes depends on how the variables are set:
1.) If nothing is set or changed, there is no change from the
current behaviour:
- Static /bin, /sbin, and bits of /usr/*
- Dynamic rest
- Shared linker is /usr/libexec/ld*so
2.) If the following make variables are set:
LDSTATIC=
SHLINKDIR=/lib
SHLIBDIR=/lib
Then the behaviour becomes:
- Dynamic tools
- .so libraries used by /bin and /sbin are installed to /lib,
with symlinks from /usr/lib/lib*so to -> /lib/lib*so
where appropriate
- Shared linker is /lib/ld*so
3.) As per 2.), but add the following variable:
USE_SHLIBDIR=yes
This forces all .so's to be instaleld in /lib (with compat
symlinks), not just those tagged by their Makefiles to be.
Again, compat symlinks are installed
2001-12-28 01:32:37 +00:00
thorpej
d103096c14
Fixup VERSION.
2001-12-20 18:26:30 +00:00
tv
4c9a2ef7d3
* Add protoize and unprotoize. (Closes PR 6894.)
...
* Regen files with proper OS names and version numbers.
* Clean up toolchain2netbsd somewhat, to get it ready to be cross-host
compatible (more work to be done here, but it's getting closer).
* Add framework for gdbreplay and gdbserver, but hold off on enabling these
by default until low-nbsd.c is verified to work everywhere.
2001-12-19 23:54:16 +00:00
tv
7fb95bfb35
Remove iostdio.h from the list of system-installed headers; intended to
...
address parts of PR toolchain/14896. This header file is nonstandard
(and doesn't even exist in gcc 3.0); an out-of-the-box gcc build also
doesn't provide the missing functions. So just drop the .h completely.
2001-12-19 20:52:11 +00:00
thorpej
3faae759ba
Allow a new-toolchain build to be done without actually building
...
the target "native toolchain" if BOOTSTRAP_NEW_TOOLCHAIN is set.
This is important if you don't have any userland at all, and you're
trying to make one from which you can run toolchain2netbsd.
2001-12-15 03:37:36 +00:00
thorpej
17f1178fc6
More toolchain2netbsd output for the Alpha, after coaxing
...
toolchain2netbsd to actually spit it out.
2001-12-14 22:29:12 +00:00
thorpej
01768cb6da
Update to reflect latest toolchain2netbsd.
2001-12-14 22:26:03 +00:00
thorpej
2812f0e978
Kludge to make old toolchain builds work again after the NOxxx changes.
2001-12-14 16:55:14 +00:00
thorpej
74ed46fbb4
Commit the results of running toolchain2netbsd on the Alpha.
2001-12-14 07:12:09 +00:00
lukem
df91d4a185
move NOxxx=
2001-12-12 23:09:13 +00:00
lukem
0a3f147fdd
move NOLINT
2001-12-12 23:08:26 +00:00
thorpej
39c9a8ba17
We apparently must now set NOLINT= *BEFORE* including bsd.own.mk.
2001-12-12 23:00:50 +00:00
thorpej
5722ce0152
Make LIB2FUNCS_EH work like the rest of LIB2FUNCS, and clean
...
up the special rules required to build those objects.
2001-12-12 17:27:50 +00:00
lukem
4c650ea52b
we need a .c file to build _eh.{o,so,po} from, so add libgcc2.c back
...
in as a source for the rules.
2001-12-12 09:30:55 +00:00
lukem
22cf1d253e
pull in <bsd.own.mk> after NOLINT is defined, so that MKLINT=no is
...
correctly determined
2001-12-12 08:58:45 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
thorpej
cf11c3964c
Fix building of _eh.o and friends.
2001-12-11 23:43:04 +00:00
thorpej
b149da874b
Clone from mipseb.mk
2001-12-11 03:45:06 +00:00
jmc
d08eaff246
While gcc may automatically add -fexecptions to c++ code it will only do that
...
for files named .cc or .C. _eh gets generated into a .c file so we need
explicit rules for it's targets (.o .po and .so) to compile it correctly.
Without this exceptions just plain don't work. Nothing ever gets caught.
2001-12-02 12:23:52 +00:00
jmc
3508f7583d
Need -msoft-quad-float on sparc64 as double->int promote to quad math.
2001-12-02 03:06:55 +00:00
tv
8eb663859b
Make the .cc->NULL transform do nothing (so that "exception.cc" doesn't
...
get compiled into "exception" during "make includes").
2001-11-28 14:29:13 +00:00
tv
d5533f8e6c
PIC me! PIC me! (libgcc_pic.a)
...
...And while we're at it, add a profiled libgcc too.
Use the "generate .c files and let <bsd.lib.mk> sort it out" method
for compiling these libraries. Only one real divergence (-fexceptions)
existed, but exceptions are turned on for C++ code by default in gcc
2.95.3, so this option was redundant anyway.
2001-11-28 04:39:55 +00:00
thorpej
84392553e1
Remove special-case for ARM.
2001-11-26 00:02:40 +00:00
simonb
23be609b8c
New toolchain files for mipsel.
...
From Rafal's commit for mipseb (which applies here too):
WARNING: Binutils 2.11.2 (maybe earlier) changed the MIPS ABI, so any
shared libs built by this toolchain WILL NOT WORK without either a whack
to BFD to fix that or a patch to ld_elf.so to work around it. I need to
chase the binutils folks on this issue still.
2001-11-17 04:41:44 +00:00
rafal
f317d28b1a
New toolchain files for mipseb. Mainly toolchain2netbsd output with some
...
changes to configuration stuff to (a) recognize `mipseb', and (b) build a
BE-default GCC on mipseb. gprof and gdb still not done.
WARNING: Binutils 2.11.2 (maybe earlier) changed the MIPS ABI, so any
shared libs built by this toolchain WILL NOT WORK without either a whack
to BFD to fix that or a patch to ld_elf.so to work around it. I need to
chase the binutils folks on this issue still.
That said, the new toolchain seems to work quite well once the ABI change
is worked around/fixed -- I'm committing from a machine running a user-
land built with the new compiler.
2001-11-08 07:21:53 +00:00
scw
ec53366faa
Add m68k-specific `toolchain2netbsd' generated toolchain build/config files.
2001-11-05 19:10:55 +00:00
tv
ec5a9a312e
Add REQUIRETOOLS to make version-specific new toolchain compiler libs fail
...
to build if USETOOLS is set to "no" by the builder. (Sanity check; as an
override, USETOOLS may be set to "never", but see warnings in BUILDING.)
2001-10-31 16:27:31 +00:00
tv
32bac67e87
Exclude Y2K bug flag files from the build; fixes undefined symbol errors
...
reported by jbernard@mines.edu in PR bin/14222.
2001-10-19 03:33:35 +00:00
matt
9744d3aebc
If MACHINE_ARCH == arm, install into /usr/include/${MACHINE_ARCH}
2001-10-18 06:12:48 +00:00
matt
1532b67157
Update from toolchain2netbsd run. (though some only have the updated
...
toolchain2netbsd version run)
2001-10-18 05:45:26 +00:00
tv
3ab74bd348
Set SHLIB_{MAJOR,MINOR} explicitly instead of using shlib_version files.
...
(This currently means that checkver doesn't work with these libs, but that
will be fixed.)
2001-09-21 15:38:15 +00:00
simonb
2db48f4c88
Add "Remember to update distrib/sets..." lines (and NetBSD RCS IDs in
...
some cases).
2001-09-10 11:18:41 +00:00
matt
6be82855aa
Final config file for VAX ELF.
2001-09-10 06:04:02 +00:00
matt
f6225f91fb
Rebuild USE_NEW_TOOLCHAIN files for vax. Add binutils, etc. ..
2001-09-08 18:26:05 +00:00
matt
33ebc9435e
Regenerate so that ${DIST} is not expanded.
2001-08-30 01:31:49 +00:00
mrg
69879ba2e5
regenerate.
2001-08-25 12:23:49 +00:00
matt
f5c0264a5d
New toolchain support for ARM ELF.
2001-08-19 16:05:02 +00:00
mrg
7f85f1f0c3
build & install info documentation.
2001-08-19 14:19:38 +00:00
mrg
318911587e
regenerate.
2001-08-15 02:44:58 +00:00
tv
8f264ae2fc
Regen.
2001-08-14 05:18:26 +00:00
tv
75c2396dcc
Regen.
2001-08-14 05:14:59 +00:00
tv
dabda76181
For now, just to make sure we don't conflict with an out-of-the-box
...
gcc 3.0 build (as noted by mrg), bump shlib major again, to version 4.0.
There might be a better solution to this kind of thing in the future; I'll
have to think about it.
2001-08-14 01:21:23 +00:00
mrg
5b25536c3b
build libbfd for sparc & sparc64.
2001-08-10 12:42:37 +00:00
mrg
14c389e8b1
regenerate
2001-08-10 12:41:19 +00:00
mrg
5f38c885be
build libstdc++ for sparc & sparc64.
2001-08-10 11:59:50 +00:00
mrg
8375332080
regenerate.
2001-08-10 11:59:22 +00:00
mrg
220ef62d75
with USE_NEW_TOOLCHAIN, install all required libstdc++ headers. this needs
...
toolchain2netbsd to be re-run for each platform. (sparc, sparc64 and i386
updates coming shortly.)
2001-08-10 11:57:48 +00:00
matt
4ce1ea0d33
USE_NEW_TOOLCHAIN powerpc files for libg2c & libstdc++
2001-08-10 06:46:31 +00:00
matt
f88f89f0d4
Update/add new files for powerpc with USE_NEW_TOOLCHAIN
2001-08-10 06:44:06 +00:00
mrg
19a0a03e84
install the C++ headers with the new toolchain.
2001-08-09 16:10:56 +00:00
mrg
4a850cf2d7
include bsd.own.mk before testing USE_NEW_TOOLCHAIN.
2001-08-09 16:09:52 +00:00
tv
b15841eee9
Add MKPIC=no explicitly for old-toolchain build structure, to avoid shlib
...
version mismatch with new toolchain.
2001-08-07 03:28:07 +00:00
tv
e9a42fcb22
Re-add these files; they're needed by the old-toolchain bfd build until
...
that has been nuked.
2001-08-06 15:49:42 +00:00
tv
a70f325713
BFD library for new toolchain. Currently uses the non-unified layout; once
...
several architectures are available, I'll test and add the unified layout
bits.
2001-08-06 15:47:17 +00:00
matt
71986448fd
Don't make libstdc++ with old toolchain on ARM ELF
2001-07-28 06:59:02 +00:00
matt
faa73ac4d2
Regen new toolchain ARM ELF files with toolchain2netbsd.
...
Include libg2c, libobjc, libstdc++ ARM ELF config files.
2001-07-28 06:57:07 +00:00
mrg
c9a8c7833a
build new sparc & sparc64 fortran libraries.
2001-07-26 11:40:26 +00:00
mrg
7aa1593d24
build new sparc & sparc64 objective c libraries.
2001-07-26 11:36:05 +00:00
mrg
4c86457e13
regenerate.
2001-07-26 11:30:07 +00:00
mrg
160521eb33
install the C++ libgcc headers (exception, new, new.h & typeinfo.)
2001-07-26 11:28:21 +00:00
tv
f6709db6c6
Add new toolchain build structure for libg2c, libobjc, and libstdc++.
...
Note that old build system still exists under .if conditionals; this
will be removed once all platforms are using the new toolchain.
2001-07-24 19:44:47 +00:00
matt
c8e381be8c
Adding VAX gcc 2.95.3 (ELF).
2001-07-20 04:59:06 +00:00
matt
5ac8a0b7ba
powerpc support for 2.95.3
2001-07-19 22:13:23 +00:00
mrg
4523fd67d7
build a mipsel-netbsd gcc & libgcc.
2001-07-19 18:35:22 +00:00
matt
acfa102212
Rework Makefile (perhaps not optimally) to keep all ojbects in ${.OBJDIR}.
...
Due to SRCS containing directories, the objects went in those same
directories.
2001-07-19 18:06:19 +00:00
matt
ac07e0c6c6
ARMELF support for libgcc
2001-07-19 15:33:09 +00:00
matt
3847d1eab8
ARM support for -liberty
2001-07-19 15:30:36 +00:00
mrg
4acc89ca46
build sparc libiberty.
2001-07-19 15:17:59 +00:00
mrg
3963922c9b
build a sparc libgcc
2001-07-19 15:16:39 +00:00
mrg
ac4b8b619b
mipsel libiberty.
2001-07-19 13:46:14 +00:00
mrg
96b4d81d72
sparc64 libiberty.
2001-07-19 13:45:09 +00:00
tv
178c5459ad
Another missing ${.CURDIR}.
2001-07-19 12:51:05 +00:00
mrg
8666107a13
build a sparc64 libgcc.
2001-07-19 12:39:26 +00:00
mrg
ba4c57fc10
opdel.o needs to be built with -DL_op_delete, not -DL_op_del. add a special
...
rule for this...
2001-07-19 06:14:27 +00:00
tv
d370057cd9
Add a missing ${.CURDIR}.
2001-07-18 20:20:01 +00:00
tv
0b01c492fb
i386 libgcc makefile bits from toolchain2netbsd.
2001-07-18 18:29:17 +00:00
tv
f59cc167de
Add build structure for the new gnu/dist/toolchain/gcc based libgcc, preserving
...
old structure for now in an .if based on USE_NEW_TOOLCHAIN.
2001-07-18 18:29:02 +00:00
tv
b1e9e38236
First framework for libiberty, now used by all the toolchain components (so
...
no longer merged with libbfd). Conditional on USE_NEW_TOOLCHAIN for now.
2001-07-18 12:17:15 +00:00
matt
a126663857
Compile fixu* for MACHINE_ARCH of arm
2001-07-13 19:54:28 +00:00
mason
0f5d49210e
Don't build libstdc++ on sparc64.
2001-05-10 12:53:02 +00:00
tsubai
dbe09b485b
sh3 --> sh3eb / sh3el.
2001-02-02 19:32:38 +00:00
enami
6ebf26b574
Define variables before it is used.
2001-01-09 08:33:46 +00:00
itojun
99b0df5333
use MACIHNE_CPU to determine architecture-dependent source code directory.
...
is use of exists(foo) safe enough?
TODO: many other places to fix
2001-01-08 08:29:59 +00:00
itojun
df319c7c4c
sh3 split
2001-01-04 09:22:06 +00:00
itojun
8bd2552493
sh3 split
2001-01-04 09:11:47 +00:00
itojun
8145e73c70
sh3 split
2001-01-04 08:59:24 +00:00
matt
c18fd403d1
Add __udiv_w_sdiv for VAX. gnupg requires it. And since it's a libgcc
...
function it makes sense to put it in libgcc.
2000-11-20 05:47:41 +00:00
msaitoh
8ca9f7f132
fix one of the two fixunsdfsi with fixunssfsi
2000-08-21 14:05:25 +00:00
msaitoh
e2509d0d3e
add _fixunsdfsi.o and _fixunsdfsi.o when MACHINE_ARCH= sh3 or arm26
2000-08-17 00:28:07 +00:00
matt
3e50ef53a3
Add <stdlib.h>
2000-07-03 05:05:43 +00:00
matt
cb3d52d53a
Define STDC_HEADERS so it uses mem* instead b* routines.
2000-07-03 05:05:25 +00:00
kristerw
f9d920a4e3
Added netbsdaout.c for i386
2000-05-20 20:30:48 +00:00
thorpej
11e15dda8b
Oops, botched test for GCC 2.9.
2000-05-10 22:39:29 +00:00
thorpej
2b09e161ae
Don't build compiler-related libraries if using GCC 2.9.
2000-05-09 06:23:40 +00:00
msaitoh
52b61c34d2
set MKLINKLIB = "no" only if ${MKPIC} != "no"
2000-03-27 19:15:32 +00:00
mycroft
2ced2ffc7d
Make this at least pretend to work when cross-compiling.
2000-03-26 09:54:28 +00:00
shin
ac9896415f
remove MIPS SOFTFLOAT.
2000-03-05 05:41:03 +00:00
matt
b9db4a8140
Add rudimentry VAX COFF support. enough so objdump, size, nm, etc. are happy
...
but no near enough for gas or ld.
2000-01-11 05:48:27 +00:00
msaitoh
bec61173c4
libbfd for NetBSD/sh3
1999-12-26 19:48:00 +00:00
eeh
b18e309569
Allow building of PIC or profiling libraries to be disabled.
1999-11-27 23:46:09 +00:00
wrstuden
6a4a304da0
Add rs6000coff_vec, which adds aixcoff-rs6000 support. Used with fixcoff.
1999-11-23 02:08:03 +00:00
takemura
cdabc2eb91
Hpcmips needs completely FPU instruction free user land.
...
XXX, this modification is kinda ad-hoc.
1999-09-29 13:19:13 +00:00
sommerfeld
65bfbb747a
If target is BFD64, define -DBFD_TARG_64 on command line.
...
If BFD_TARG_64 is defined, set BFD_ARCH_SIZE to 64 even on 32-bit platforms.
(BFD_ARCH_SIZE is an attribute of the target, not (just) the host platform)
This is intended for building 32bit->64bit cross libbfd's (e.g.,
x86->alpha or x86->sparc64)
1999-08-01 04:25:39 +00:00
kristerw
9873bbaebf
Don't define USE_MMP. Applications using libbfd assumes that the
...
memory is malloc:ed and tries to free() it...
1999-06-25 23:04:40 +00:00
kleink
5b44632935
Shuffle around vectors for ELF on m68k.
1999-04-30 14:41:38 +00:00
thorpej
6d2943920a
Make it a tad bit easier to bootstrap an a.out system to ELF. Introduce
...
a BOOTSTRAP_ELF Makefile variable that, when set (e.g. in the environment),
builds a targeted-to-ELF toolchain without requiring OBJECT_FMT to be set
to "ELF" (which affects how e.g. libraries are built).
This basically means you don't need fake crtbegin.o and crtend.o files to
be present in /usr/lib while bootstrapping the toolchain.
1999-03-17 00:46:35 +00:00
ragge
87b768a236
DEFUALT_VEC -> DEFAULT_VEC. Thanks, Ken Wellsch.
1999-03-07 10:43:59 +00:00
tv
d793874bfe
Turn off the mipselnetbsd a.out vector, for now.
1999-03-03 13:23:34 +00:00
tv
a3effc3cd4
We also want to read core files. (oops.)
1999-02-26 22:53:14 +00:00
drochner
7ccfa38c7a
make this build after mips->mipse? transition
1999-02-24 17:18:26 +00:00
drochner
536eb455f4
${MACHINE_ARCH} == "mips" loses anyway, so remove this case
1999-02-24 17:17:29 +00:00
lukem
868ca23db4
remove NOPROG (nothing uses it). however, set MKOBJ=no if appropriate
1999-02-13 23:53:56 +00:00
lukem
dcab0210a0
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
tv
3e2114fabc
Provide a definition of CPP for gen-params that works with DESTDIR.
1999-02-11 18:20:58 +00:00
tv
838e0a1db3
Add Texinfo doc.
1999-02-11 17:37:34 +00:00
tv
f30eb3400a
Nuke gcc 2.8 tests now that the tree requires egcs/gcc 2.8, and add
...
Texinfo doc for iostream.
1999-02-11 17:30:46 +00:00
tv
71cc33263d
Add "mipselnetbsd_vec" to mipse[bl].
1999-02-10 17:53:50 +00:00
tv
79734e08d0
This is no longer here.
1999-02-09 17:48:43 +00:00
tv
3cf7289326
It's libbfd now, not bfd.
1999-02-09 17:48:13 +00:00
tv
c172eeaa1b
Move libbfd compile environment to "libbfd" subdir, with the changes:
...
- no includes are installed any more, nor any .a libraries
- a unified libbfd can be built if BFD_UNIFIED is set in mk.conf (will
support dumping/examining objects from all NetBSD architectures of equal
or lesser pointer size)
1999-02-09 15:57:53 +00:00
tv
942ddff25b
Fix up ELF sources list.
1999-02-02 22:16:57 +00:00
tv
939670a527
Re-enable libbfd on all platforms including PowerPC. (Will re-enable
...
individual bfd dependent programs one at a time, as they are verified.)
1999-02-02 20:46:37 +00:00
tv
5accb47df8
It's now called "aout-arm32.c" with a dash.
1999-02-02 20:31:07 +00:00
tv
3677e2d7cb
Update to binutils' bfd 2.9.1.
1999-02-02 20:00:39 +00:00
tv
16d7798441
Turn off bits of the toolchain from building on a recursive make: binutils,
...
bfd, gas.new, ld.new, gdb, gprof; in anticipation of the binutils-2.9.1
import.
1999-02-02 17:45:02 +00:00
eeh
433b3e50de
sparc64 also needs 64-bit BFD.
1999-01-23 20:51:57 +00:00
tv
ef1a003862
Significantly reduce code size of programs which use string, complex,
...
or the Allocator heavily. (For common types, these are already
instantiated in libstdc++, and do not need implicit instantiation.)
1999-01-19 15:27:24 +00:00
kristerw
9c2a161620
Enable use of mmap.
1998-12-30 01:19:18 +00:00
tv
6acc855e3e
Add bfd targets used by other binary emulations that NetBSD recognizes:
...
- a.out-i386-bsd
- a.out-i386-freebsd
- coff-i386
1998-12-28 20:39:54 +00:00
tv
8c88ddc66a
Add dependency to _arch.mk file on targets.{o,so,po}.
1998-12-28 20:38:50 +00:00
tv
1343ef3796
GC old gcc 2.7.2.2.
1998-12-12 23:44:22 +00:00
mrg
009d565122
fix style nit in previous.
1998-11-23 09:29:56 +00:00
mrg
d55e9c12a6
build a sparc64 libbfd.
1998-11-23 09:23:30 +00:00
mrg
80cc7163d4
need the extra objs on sparc64 (at least, that is what a cross compiler did for libgcc)
1998-11-23 09:22:22 +00:00
matt
d7585142e2
Include VAX instruction disassembly support into bfd. (XXX case[lbw] still
...
needs to be done.)
1998-10-29 17:31:10 +00:00
matt
89f233dee8
Not all architecures are IEEE math. Don't define IEEE_drem on VAX.
1998-10-20 18:11:04 +00:00
tv
38d1dc7ea7
Only build on gcc 2.7.x.
1998-10-14 15:05:30 +00:00
christos
0291468ee4
Fix reversed test
1998-09-27 18:48:10 +00:00
christos
a4aadf1ce4
Make this work as intended (when we don't have egcs or gcc-2.8x then
...
include the c++ builtin crap). Although libgcc2.c does not compile
properly with the old compiler so this does not work.
1998-09-27 18:05:10 +00:00
tv
a2e65ee4f1
Nuke libg++, leaving only libstdc++ for GCC 2.7-based systems.
1998-09-13 22:23:02 +00:00
tv
cd40dfec9f
Use tconfig.j to get the proper type definitions.
1998-09-13 20:32:04 +00:00
tv
c60c781fa3
Remove asprintf() and vasprintf(), and bump sparc back to 32 bits (until
...
gdb is updated, at least).
1998-08-29 16:09:56 +00:00
tv
5cc01b9a2b
Add NetBSD rcsids.
1998-08-28 22:38:25 +00:00
tv
7eeb6fe5fd
Don't try building anything in here on gcc 2.7 bootstrap.
1998-08-28 22:36:56 +00:00
tv
7fc231d281
Move some things from SRCS to OBJS so as not to build them at depend time.
1998-08-28 19:05:54 +00:00
tv
a6542a91dc
Update libiberty to the one shipped with egcs. Minor number
...
bump--interfaces added, but none changed or removed.
1998-08-28 16:47:13 +00:00
tv
6c55ff04c2
Re-enable egcs libraries: libg2c, libgcc, libobjc, libstdc++.
1998-08-28 15:34:24 +00:00
tv
aa06e255fa
Update to egcs 1.1-snap's libstdc++. Now shlib version 2.0. Now requires
...
"make includes" before "make" like other libraries.
1998-08-28 15:31:29 +00:00
tv
e7e7954ff4
Install Obj-C includes, found by <veego@netbsd.org>.
1998-08-27 21:37:52 +00:00
tv
705363981e
Bah; nuke "machine/" from bfd include path. This shouldn't have been part
...
of the commit (or part of the Makefile, for that matter).
1998-08-24 16:32:48 +00:00
frueauf
781d14e780
Add missing \, pointed out by Frederick Bruckman <fb@enteract.com>.
1998-08-23 20:57:45 +00:00
simonb
32a1e28254
Add missing \ to the end of a few lines.
1998-08-23 04:42:33 +00:00
tv
2ddcde0613
Use "long long" as the 64 bit quantity to satisfy gdb.
1998-08-22 20:32:02 +00:00
tv
e8efde1ec4
For the benefit of gdb, include <sys/types.h> unconditionally.
1998-08-22 20:24:31 +00:00
tv
d46528eaba
ELF systems still need a file-based workaround for "libbfd.c" as that
...
would otherwise generate the wrong "libbfd.so".
1998-08-22 19:39:23 +00:00
tv
4a51dc3df9
Revamp the libbfd build process. Massive cleanup, enable 64 bit support
...
on SPARC, and use includes (or dynamically built ones) from dist.
1998-08-22 19:02:10 +00:00
tv
b22efa9a4b
Clean bfd.h on "make clean".
1998-08-21 21:12:19 +00:00
tv
053c6819b7
Automatically generate bfd.h.
1998-08-21 21:11:02 +00:00
tv
f122239ef3
Use a pointer, not an array, for bfd_target_vector, working around our
...
linker bogozity. (So that the array can grow and shrink without
relinking.)
1998-08-21 02:06:09 +00:00
tv
82f867274b
Kill HOST_CFLAGS and justify NOLINT.
1998-08-18 17:42:59 +00:00
tv
df595c72cd
Be pedantic; use "${OBJC}" to find the ObjC compiler.
...
Depend all instances of sendmsg.{o,so,po} on runtime-info.h.
1998-08-18 17:38:38 +00:00
tv
0f38668150
Depend shared and profiled objects on g2c.h.
1998-08-18 17:26:36 +00:00
tv
00a8c57db1
Add libg2c (the new name for libf2c). Builds fine, though has some nits
...
on LP64 that need working out.
1998-08-18 17:25:32 +00:00
tv
ee336ece94
Add libobjc as a separate component of egcs. Now also has a shared
...
library (rather minimally sized).
1998-08-18 14:02:35 +00:00
tv
17698d8b59
Add libgcc from gnu/dist/gcc (egcs 1.1 snapshot).
1998-08-17 17:06:59 +00:00
tv
3817858f82
Turn off the egcs bits while the 1.1 import and build verifications are
...
taking place.
1998-08-16 17:16:00 +00:00
tv
a66a06cd19
libf2c is now libg2c in egcs 1.1.
1998-08-16 17:13:48 +00:00
thorpej
c4bd81c249
Do not build this version of libbfd on the PowerPC.
1998-07-29 19:04:16 +00:00
tron
b3c53533a0
Add "beforedepend" target to fix PR lib/5862.
1998-07-29 11:05:26 +00:00
tv
dfeb862ca8
Add definitions for mipseb and mipsel, and remove mips. Map Pmake's
...
MACHINE_ARCH definition of mips to mipsel.
1998-07-27 01:03:48 +00:00
mycroft
8321e6eb66
No need for libreadline any more.
1998-07-25 11:21:24 +00:00
mycroft
ab77ad5ad3
We don't need this any more.
1998-07-25 11:20:40 +00:00
mycroft
dde7581d31
This file is not used.
1998-07-25 05:37:13 +00:00
thorpej
84c26d49f4
Add elf32-i386 target.
1998-07-18 01:00:17 +00:00
thorpej
e97c021b99
Update to match config.bfd.
1998-07-12 19:15:21 +00:00
thorpej
33872f4fd5
Update for change to m68k4k NetBSD target.
1998-07-12 19:09:29 +00:00
thorpej
2921f683ae
Add elf32-m68k support.
1998-07-12 18:53:31 +00:00
tv
3c9123a555
Add ELF32 support for reading and writing. ELF64 not yet working (may
...
require import of 2.9.1 first).
1998-07-01 02:12:11 +00:00
tv
1f999e261f
Increment minor version to indicate addition of proper ar(1) support.
1998-05-25 20:24:37 +00:00
tv
f970339892
Fix botched assumptions about alignment of data elements: files are
...
aligned, but on word-at-filesize bytes instead of word-at-filedatasize
bytes. That's actually a bug in binutils 2.8.1 wrt 4.4BSD archives that is
fixed here.
1998-05-25 18:57:23 +00:00