diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2001-11-30 04:43:05 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2001-11-30 04:43:05 +0000 |
commit | 06f0b04cab15bdd864387366f84ad86a472e406b (patch) | |
tree | 2bb735450d7699f18d71d9f8c5a346f36f7cbfc9 /gcc/doc/configterms.texi | |
parent | 998979e6dc20eb1b72f6f9a1a818ae28d07d8721 (diff) | |
download | gcc-06f0b04cab15bdd864387366f84ad86a472e406b.tar.gz |
Purge cruft now we have build libiberty.
* Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR,
HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR,
USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT,
USE_HOST_STRSTR): Delete variables.
(vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o,
hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o,
$(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
$(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules.
(LIBIBERTY, BUILD_LIBIBERTY): New variables.
(LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY).
(LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY).
(HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY).
(HOST_LIBS): Ditto.
(HOST_RTL): Remove hashtab.o safe-ctype.o.
(OBJS): Remove splay-tree.o.
(gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a.
(distclean): No need to delete splay-tree.c obstack.c
hashtab.c safe-ctype.c.
(mostlyclean): Delete build copies of print-rtl.c bitmap.c
errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1).
* aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR):
Delete.
* configure.in: Don't use them.
Set and substitute @FORBUILD@.
* config.in, configure: Regenerate.
* doprint.c: Move to libiberty/_doprnt.c.
* doc/configterms.texi: Document that libiberty is now built
up to three times. Fix typo.
* f/Make-lang.in (f/fini, f/intdoc): Depend on $(HOST_LIBDEPS)
and link with $(HOST_LIBS), not safe-ctype.o.
From-SVN: r47475
Diffstat (limited to 'gcc/doc/configterms.texi')
-rw-r--r-- | gcc/doc/configterms.texi | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gcc/doc/configterms.texi b/gcc/doc/configterms.texi index a40fbe09f2b..25433557510 100644 --- a/gcc/doc/configterms.texi +++ b/gcc/doc/configterms.texi @@ -37,7 +37,7 @@ different system. Some people call this a @dfn{host-x-host}, @dfn{crossed native}, or @dfn{cross-built native}. If build and target are the same, but host is different, you are using a cross compiler to build a cross compiler that produces code for the machine you're -building on. This is rare, so there is no common say of describing it +building on. This is rare, so there is no common way of describing it (although I propose calling it a @dfn{crossback}). If build and host are the same, the GCC you are building will also be @@ -57,9 +57,8 @@ process will adjust these variables as needed. It also sets @code{$with_cross_host} to the original @option{--host} value in case you need it. -Libiberty, for example, is built twice. The first time, host comes from -@option{--host} and the second time host comes from @option{--target}. -Historically, libiberty has not been built for the build machine, -though, which causes some interesting issues with programs used to -generate sources for the build. Fixing this, so that libiberty is built -three times, has long been on the to-do list. +The @code{libiberty} support library is built up to three times: once +for the host, once for the target (even if they are the same), and once +for the build if build and host are different. This allows it to be +used by all programs which are generated in the course of the build +process. |