macro-020506-branch'.
Sprout from gdb_5_2-branch 2002-03-11 00:01:12 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch 'gdb_5_2-branch'.'
Cherrypick from master 2002-05-05 18:58:17 UTC Alexandre Oliva <aoliva@redhat.com> '* configure.in (noconfigdirs): Don't disable libgcj on':
ChangeLog
MAINTAINERS
Makefile.in
config.guess
config.sub
config/ChangeLog
config/acinclude.m4
config/mh-a68bsd
config/mh-apollo68
config/mh-cxux
config/mh-decstation
config/mh-dgux
config/mh-dgux386
config/mh-djgpp
config/mh-hp300
config/mh-hpux
config/mh-hpux8
config/mh-interix
config/mh-irix5
config/mh-irix6
config/mh-lynxrs6k
config/mh-mingw32
config/mh-ncr3000
config/mh-ncrsvr43
config/mh-necv4
config/mh-openedition
config/mh-riscos
config/mh-sco
config/mh-solaris
config/mh-sysv
config/mh-sysv4
config/mh-sysv5
config/mt-aix43
config/mt-alphaieee
config/mt-linux
configure
configure.in
include/ChangeLog
include/coff/ChangeLog
include/coff/rs6k64.h
include/dyn-string.h
include/elf/ChangeLog
include/elf/dwarf2.h
include/floatformat.h
include/opcode/ChangeLog
include/opcode/i386.h
include/opcode/mips.h
include/opcode/pdp11.h
include/xregex2.h
ltmain.sh
Delete:
config/mh-irix4
config/mh-lynxos
config/mh-sun3
config/mh-vaxult2
config/mt-armpic
config/mt-elfalphapic
config/mt-i370pic
config/mt-ia64pic
config/mt-m68kpic
config/mt-papic
config/mt-ppcpic
config/mt-s390pic
config/mt-sparcpic
config/mt-x86pic
+2002-05-05 Alexandre Oliva <aoliva@redhat.com>
+
+ * configure.in (noconfigdirs): Don't disable libgcj on
+ sparc64-*-solaris* and sparcv9-*-solaris*.
+
+2002-05-03 Alexandre Oliva <aoliva@redhat.com>
+
+ * configure.in: Revert 2002-04-18's patch; fixed in libjava.
+
+2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * configure.in (FLAGS_FOR_TARGET): Do not add
+ -B$$r/$(TARGET_SUBDIR)/newlib/ when compiling newlib natively
+ on i[3456]86-*-linux*.
+
+2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * configure.in (noconfigdirs): Replace [ ] with test.
+
+ * configure.in (noconfigdirs): Do not add target-newlib if
+ target == i[3456]86-*-linux*, and host == target.
+
+2002-04-29 Mark Mitchell <mark@codesourcery.com>
+
+ * config.guess: Updated to 2002-04-26's version.
+ * config.sub: Updated to 2002-04-26's version.
+
+2002-04-29 Nathanael Nerode <neroden@doctormoo.dyndns.org>
+
+ * configure.in: delete reference to absent file
+
+ * configure.in: replace '[' with 'test'
+
+ * configure.in: Eliminate references to gash.
+ * Makefile.in: Eliminate references to gash.
+
+ * configure.in: remove useless references to 'pic' makefile fragments.
+
+ * configure.in: (*-*-windows*) Finish removing.
+
+ * configure.in: Eliminate redundant test for libgui.
+
+2002-04-26 Joel Sherrill <joel@OARcorp.com>
+
+ * configure.in (h8300*-*-rtems*): Disable libf2c and libgcj.
+ (sparc-*-elf*, sparc64-*-elf*): Disable libgcj.
+
+2002-04-19 Nathanael Nerode <neroden@twcny.rr.com>
+
+ * configure.in: remove references to dead files
+
+2002-04-18 Tom Tromey <tromey@redhat.com>
+
+ * configure.in: Disallow configuring libgcj when it is already
+ installed and we're using Solaris 2.8 linker. Do enable libgcj on
+ Solaris 2.8 by default. For PR libgcj/6158.
+
+2002-04-17 Nathanael Nerode <neroden@twcny.rr.com>
+
+ * configure.in: Move default CC setting out of config/mh-* fragments
+ directly into here.
+
+2002-04-17 Nathanael Nerode <neroden@twcny.rr.com>
+
+ * configure.in: don't even try to configure or make a subdirectory
+ if there's no configure script for it.
+
+2002-04-15 Mark Mitchell <mark@codesourcery.com>
+
+ * MAINTAINERS: Remove chill maintainers.
+ * Makefile.in (CHILLFLAGS): Remove.
+ (CHILL_LIB): Remove.
+ (TARGET_CONFIGDIRS): Remove libchill.
+ (CHILL_FOR_TARGET): Remove.
+ (BASE_FLAGS_TO_PASS): Don't pass CHILLFLAGS, CHILL_FOR_TARGET, or
+ CHILL_LIB.
+ (CONFIGURE_TARGET_MODULES): Remove configure-target-libchill.
+ (CHECK_TARGET_MODULES): Likewise.
+ (INSTALL_TARGET_MODULES): Likewise.
+ (CLEAN_TARGET_MODULES): Likewise.
+ (configure-target-libchill): Remove.
+ (all-target-libchill): Remove.
+ * configure.in (target_libs): Remove target-libchill.
+ Do not compute CHILL_FOR_TARGET.
+ * libchill: Remove directory.
+
+2002-04-15 DJ Delorie <dj@redhat.com>
+
+ * Makefile.in, configure.in, configure: Sync with gcc, entries
+ follow...
+
+2002-04-08 Tom Tromey <tromey@redhat.com>
+
+ * configure.in: Add FLAGS_FOR_TARGET to GCJ_FOR_TARGET.
+ Fixes PR libgcj/6068.
+
+2002-03-30 Krister Walfridsson <cato@df.lth.se>
+
+ * configure.in (i*86-*-netbsdelf*): Don't disable libgcj.
+
+2002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * configure.in (alpha*-dec-osf*): Enable libgcj.
+
+2002-03-24 Nick Clifton <nickc@cambridge.redhat.com>
+
+ Fix for: PR bootstrap/3591, target/5676
+ * configure.in (mcore-pe): Disable the configuration of
+ libstdc++-v3 since exceptions are not supported.
+
+2002-03-20 Anthony Green <green@redhat.com>
+
+ * configure.in: Enable libgcj for xscale-elf target.
+
+2002-02-28 Alexandre Oliva <aoliva@redhat.com>
+
+ * configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for
+ libjava.
+ (CXX_FOR_TARGET): Explain why -shared-libgcc here.
+
+2002-02-22 Alexandre Oliva <aoliva@redhat.com>
+
+ * configure.in (CXX_FOR_TARGET): Add -shared-libgcc for
+ libstdc++-v3 and libjava.
+
+2002-02-11 Adam Megacz <adam@xwt.org>
+
+ * gcc/Makefile.in: Removed libstdc++-v3 dependancy for libjava and
+ boehm-gc
+
+2002-02-09 Alexandre Oliva <aoliva@redhat.com>
+
+ * config.guess: Updated to 2002-01-30's version.
+ * config.sub: Updated to 2002-02-01's version.
+ Contribute sh64-elf.
+ 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
+ * configure.in: Added sh64-*-*.
+
+2002-01-17 H.J. Lu <hjl@gnu.org>
+
+ * Makefile.in (all-fastjar): Also depend on all-libiberty.
+ (all-target-fastjar): Also depend on all-target-libiberty.
+
+Wed Dec 5 07:33:45 2001 Douglas B. Rupp <rupp@gnat.com>
+
+ * configure, configure.in: Use temp file for long sed commands.
+
+2001-11-14 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * configure.in (noconfigdirs) [h8300*-*-*, h8500-*-*]: Disable
+ libf2c.
+
+2001-11-03 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * configure.in (noconfigdirs) [mmix-*-*]: Disable libgcj.
+
+2001-10-11 Hans-Peter Nilsson <hp@axis.com>
+
+ * configure.in (noconfigdirs) [cris-*-*]: Disable libgcj.
+
+2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
+
+ * configure: Handle temporary files securely using mkdir.
+
+2001-09-26 Will Cohen <wcohen@redhat.com>
+
+ * configure.in (*-*-linux*): Disable configuration of target-newlib
+ and target-libgloss.
+
+2001-09-26 Alexandre Oliva <aoliva@redhat.com>
+
+ * Makefile.in (EXTRA_TARGET_FLAGS): Pass RANLIB_FOR_TARGET for
+ RANLIB.
+
+2001-08-11 Graham Stott <grahams@redhat.com>
+
+ * Makefile.in (check-c++): Add missing semicolon.
+
+2001-07-25 Andrew Haley <aph@cambridge.redhat.com>
+
+ * configure.in (sh-*-linux*): New.
+
+2001-07-12 Stephane Carrez <Stephane.Carrez@worldnet.fr>
+
+ * configure.in (noconfigdirs): Don't compile libiberty, libstdcxx
+ and libgcj on m68hc11/m68hc12.
+
+2001-06-27 H.J. Lu (hjl@gnu.org)
+
+ * Makefile (CFLAGS_FOR_BUILD): New.
+ (EXTRA_GCC_FLAGS): Add CFLAGS_FOR_BUILD.
+
+2001-06-01 Hans-Peter Nilsson <hp@axis.com>
+
+ * configure.in (libstdcxx_flags): Do not try to execute
+ libstdc++-v3/testsuite_flags until it exists.
+
+2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
+
+ * configure.in (libstdcxx_flags): Remove reference to libstdc++.INC.
+
+2001-05-09 Jeffrey Oldham <oldham@codesourcery.com>
+
+ * ltcf-cxx.sh: Add -nostdlib to IRIX 6 archive_cmds.
+
+Mon Apr 23 09:15:03 2001 Anthony Green <green@redhat.com>
+
+ * configure.in: Move *-chorusos target case to the proper switch.
+ Disable libgcj.
+
+2001-04-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
+
+ * Makefile.in (STAGE1_CFLAGS): Pass down.
+
+2001-04-13 Alan Modra <amodra@one.net.au>
+
+ * config.guess: Add hppa64-linux support. Note for next import that
+ this is already in the master file.
+ * configure.in: Likewise. Accept `parisc' alias for `hppa'.
+
+2001-03-22 Colin Howell <chowell@redhat.com>
+
+ * Makefile.in (DO_X): Do not backslash single-quotes in
+ backquotes (two places).
+
+2001-03-18 Laurynas Biveinis <lauras@softhome.net>
+
+ * Makefile.in (DO_X): Quote nested quotes.
+
+2001-03-15 Laurynas Biveinis <lauras@softhome.net>
+
+ * Makefile.in (DO_X): Use double quotes for quoting
+ "RANLIB=$${RANLIB}".
+
+2001-03-09 Nicola Pero <n.pero@mi.flashnet.it>
+
+ * configure.in: Only use `lang_requires' for languages athat are
+ actually enabled.
+
+2001-03-07 Tom Tromey <tromey@redhat.com>
+
+ * configure.in: Allow config-lang.in to set `lang_requires' to list
+ of other required languages.
+
+2001-03-06 Laurynas Biveinis <lauras@softhome.net>
+
+ * Makefile.in: Remove RANLIB definition. Use RANLIB
+ in RANLIB_FOR_TARGET, EXTRA_HOST_FLAGS, EXTRA_TARGET_FLAGS,
+ EXTRA_GCC_FLAGS, $(DO_X) targets only when the RANLIB is set.
+
+2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
+ Alexandre Oliva <aoliva@redhat.com>
+
+ * Makefile.in (check-c++): Use tabs, not spaces.
+
+2001-02-19 Benjamin Kosnik <bkoz@redhat.com>
+
+ * Makefile.in (check-c++): New rule.
+
+ * configure.in (target_libs): Remove libg++.
+ (noconfigdirs): Remove libg++.
+ (noconfigdirs): Same.
+ (noconfigdirs): Same.
+ (noconfigdirs): Same.
+
+ * config-ml.in: Remove libg++ references.
+
+ * Makefile.in (TARGET_CONFIGDIRS): Remove libio, libstdc++, libg++.
+ (ALL_TARGET_MODULES): Same.
+ (configure-target-libg++): Remove.
+ (all-target-libg++): Remove.
+ (configure-target-libio): Remove.
+ (all-target-libio): Remove.
+ (check-target-libio): Remove.
+ (.PHONY): Remove.
+ (libg++.tar.bz2): Remove.
+ (all-target-cygmon): Remove libio.
+ (all-target-libstdc++): Remove.
+ (configure-target-libstdc++): Remove.
+ (TARGET_LIB_PATH): Remove libstdc++.
+ (ALL_GCC_CXX): Remove libstdc++.
+ (all-target-gperf): Correct.
+
+2001-02-15 Anthony Green <green@redhat.com>
+
+ * configure: Introduce GCJ_FOR_TARGET.
+ * configure.in: Ditto.
+ * Makefile.in: Ditto.
+
+2001-02-08 Chandrakala Chavva <cchavva@redhat.com>
+
+ * configure.in: for *-chorusos, don't config target-newlib and
+ target-libgloss.
+
+2001-02-04 Mark Mitchell <mark@codesourcery.com>
+
+ Remove V2 C++ library.
+ * configure.in: Remove --enable-libstdcxx_v3 support.
+
+2001-01-27 Richard Henderson <rth@redhat.com>
+
+ * configure.in (target_makefile_frag) [alpha*-*]: Use mt-alphaieee.
+
+2001-01-26 Tom Tromey <tromey@redhat.com>
+
+ * configure.in: Allow libgcj to be built on Sparc Solaris.
+
+2001-01-23 Bryce McKinlay <bryce@albatross.co.nz>
+
+ * configure.in: Enable libgcj on several additional platforms.
+
+2001-01-22 Bryce McKinlay <bryce@albatross.co.nz>
+
+ * configure.in: Enable libgcj for linux targets.
+
+2001-01-09 Mike Stump <mrs@wrs.com>
+
+ * Makefile.in (CONFIGURE_TARGET_MODULES): Pass back configuration
+ failures of subdirectories.
+
+2001-01-02 Laurynas Biveinis <lauras@softhome.net>
+
+ * configure: handle DOS-style absolute paths.
+
+2001-01-02 Laurynas Biveinis <lauras@softhome.net>
+
+ * configure.in: remove supported directories from $noconfigdirs for DJGPP.
+
+2000-12-18 Benjamin Kosnik <bkoz@redhat.com>
+
+ * Makefile.in (BASE_FLAGS_TO_PASS): Alphabetize.
+ (libstdcxx_incdir): Pass down.
+ * config.if: Remove expired bits for cxx_interface, add stub.
+ (libstdcxx_incdir): Add variable for g++ include directory.
+ * configure.in (gxx_include_dir): Use it.
+
+2000-12-15 Andreas Jaeger <aj@suse.de>
+
+ * configure.in: Handle lang_dirs.
+
+2000-12-13 Anthony Green <green@redhat.com>
+
+ * configure.in: Disable libgcj for any target not specifically
+ listed. Disable libgcj for x86 and Alpha Linux until compatible
+ with g++ abi.
+
+2000-12-13 Mike Stump <mrs@wrs.com>
+
+ * Makefile.in (local-distclean): Also remove fastjar.
+
+2000-12-10 Anthony Green <green@redhat.com>
+
+ * configure.in: Define libgcj. Disable libgcj target libraries for
+ most targets.
+
+2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
+
+ * configure.in (target_libs): Revert 2000-12-08 patch.
+ (noconfigdirs): Added target-libjava.
+
+2000-12-09 Laurynas Biveinis <lauras@softhome.net>
+
+ * Makefile.in: handle DOS-style absolute paths.
+
+2000-12-08 Alexandre Petit-Bianco <apbianco@cygnus.com>
+
+ * Makefile.in (TARGET_CONFIGDIRS): Wrong place. Removed note about
+ libjava.
+ * configure.in (target_libs): Removed `target-libjava'.
+
+2000-12-08 Alexandre Petit-Bianco <apbianco@cygnus.com>
+
+ * Makefile.in (TARGET_CONFIGDIRS): Added note about libjava.
+ (ALL_MODULES): Added fastjar.
+ (NATIVE_CHECK_MODULES, INSTALL_MODULES, CLEAN_MODULES): Likewise.
+ (all-target-libjava): all-fastjar replaces all-zip.
+ (all-fastjar): Added.
+ (configure-target-fastjar, all-target-fastjar): Likewise.
+ * configure.in (host_tools): Added fastjar.
+
+2000-12-07 Mike Stump <mrs@wrs.com>
+
+ * Makefile.in (local-distclean): Remove leftover built files.
+
+2000-11-16 Fred Fish <fnf@be.com>
+
+ * configure.in (enable_libstdcxx_v3): Fix typo,
+ libstd++ -> libstdc++.
+
+2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
+
+ * configure: Provide the original toplevel configure arguments
+ (including $0) to subprocesses in the environment rather than
+ through gcc/configargs.h.
+
+2000-11-12 Mark Mitchell <mark@codesourcery.com>
+
+ * configure: Turn on libstdc++ V3 by default.
+
+2000-10-16 Michael Meissner <meissner@redhat.com>
+
+ * configure (gcc/configargs.h): Only create if there is a build GCC
+ directory created.
+
+2000-10-05 Phil Edwards <pme@gcc.gnu.org>
+
+ * configure: Save configure arguments to gcc/configargs.h.
+
+2000-10-04 Andris Pavenis <pavenis@latnet.lv>
+
+ * Makefile.in (bootstrap): avoid recursion if subdir missing
+ (cross): ditto
+ (do-proto-toplev): ditto
+
+Wed Sep 13 11:11:29 2000 Jeffrey A Law (law@cygnus.com)
+
+ * configure.in: Do not build byacc for hppa64. Provide paths to the
+ X11 libraries for hppa64.
+
+2000-09-02 Anthony Green <green@cygnus.com>
+
+ * Makefile.in (all-gcc): Depend on all-zlib.
+ (CLEAN_MODULES): Add clean-zlib.
+ (ALL_MODULES): Add all-zlib.
+ * configure.in (host_libs): Add zlib.
+
+2000-08-25 Alexandre Oliva <aoliva@redhat.com>
+
+ * configure.in (FLAGS_FOR_TARGET): Use $target_configdirs and
+ $targargs to tell whether newlib is going to be built.
+
+ * configure.in [disable-libstdcxx-v3] (libstdcxx_flags): Search
+ $$r/TARGET_SUBDIR/libio for _G_config.h.
+
+2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
+
+ * configure.in (libstdcxx_flags): Remove -isystem $$s/libio/stdio.
+
+ * configure: Make enable_threads and enable_shared defaults
+ explicit. Substitute enable_threads into generated Makefiles.
+ * configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
+ * libtool.m4: Accept *-*-linux* not just *-*-linux-gnu*.
+
+2000-08-02 Manfred Hollstein <manfredh@redhat.com>
+
+ * configure.in: Re-enable all references to libg++ and librx.
+
+2002-04-09 Loren James Rittle <rittle@labs.mot.com>
+
+ * configure.in: Add *-*-freebsd* configurations.
+
+2002-04-07 Andrew Cagney <ac131313@redhat.com>
+
+ * Makefile.in (do-tar-bz2): Delete rule. Replace with ...
+ (do-tar, do-bz2): New rules.
+ (taz): Update. Replace do-tar-bz2 with do-tar and do-bz2.
+ (gdb-tar): New rule.
+ (gdb-taz): Rewrite. Use gdb-tar and do-bz2.
+ (insight_dejagnu.tar): New rule.
+ (insight.tar): New rule.
+ (gdb+dejagnu.tar): New rule.
+ (gdb.tar): New rule.
+
+2002-04-07 Andrew Cagney <ac131313@redhat.com>
+
+ * MAINTAINERS: Update dejagnu/
+
+2002-03-16 Alexandre Oliva <aoliva@redhat.com>
+
+ * ltmain.sh (relink_command): Fix typo in previous change.
+
+2002-03-15 Alexandre Oliva <aoliva@redhat.com>
+
+ * ltmain.sh (taglist): Initialized. Don't let `CC' tag out of it.
+ (relink_command): Added --tag flags.
+ (mode=install): If relinking fails; error out.
+
+2002-03-12 Richard Henderson <rth@redhat.com>
+
+ * Makefile.in (NOTPARALLEL): New. Use it instead of explicit
+ .NOTPARALLEL tag.
+ (do-check): Rename from check.
+ (check): Allow parallel check.
+
+2002-03-11 Richard Henderson <rth@redhat.com>
+
+ * Makefile.in (.NOTPARALLEL): Add fake tag.
+
+2002-03-07 H.J. Lu (hjl@gnu.org)
+
+ * configure.in: Enable gprof for mips*-*-linux*.
+
2002-02-28 Alexandre Oliva <aoliva@redhat.com>
* configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for
2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
- * COPYING.NEWLIB: Remove advertising clause from
- Berkeley and Red Hat licenses.
+ * COPYING.NEWLIB: Remove advertising clause from
+ Berkeley and Red Hat licenses.
2002-02-01 Mo DeJong <supermo@bayarea.net>
2001-12-05 Laurent Guerby <guerby@acm.org>
* MAINTAINERS: gcc adopts symlink-tree, refer more to
- libiberty.
+ libiberty.
Import this patch from gcc:
2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
- * COPYING.NEWLIB: Add BSD-style license/copyright blurb for my work.
+ * COPYING.NEWLIB: Add BSD-style license/copyright blurb for my work.
2001-11-08 Phil Edwards <pedwards@disaster.jaj.com>
2001-01-07 Andreas Jaeger <aj@suse.de>
- * config.sub, config.guess: Update from subversions.
+ * config.sub, config.guess: Update from subversions.
2000-12-12 Alexandre Oliva <aoliva@redhat.com>
2000-10-30 Stephane Carrez <stcarrez@worldnet.fr>
- * configure.in (noconfigdirs): Don't compile some
- of the libraries for 68HC11 & 68hc12 targets.
+ * configure.in (noconfigdirs): Don't compile some
+ of the libraries for 68HC11 & 68hc12 targets.
2000-09-30 Alexandre Oliva <aoliva@redhat.com>
2000-07-01 Koundinya K <kk@ddeorg.soft.net>
- * ltconfig: Add support for mips-dde-sysv4.2MP
+ * ltconfig: Add support for mips-dde-sysv4.2MP
2000-06-28 Corinna Vinschen <vinschen@cygnus.com>
20000-05-21 H.J. Lu (hjl@gnu.org)
- * Makefile.in (CC_FOR_TARGET): Make sure as/ld in the gcc
- directory are used if they exist. Make sure
- $(build_tooldir)/include is searched for header files,
- $(build_tooldir)/lib/ for library files.
+ * Makefile.in (CC_FOR_TARGET): Make sure as/ld in the gcc
+ directory are used if they exist. Make sure
+ $(build_tooldir)/include is searched for header files,
+ $(build_tooldir)/lib/ for library files.
(GCC_FOR_TARGET): Likewise.
- (CXX_FOR_TARGET): Likewise.
+ (CXX_FOR_TARGET): Likewise.
2000-05-18 Jeffrey A Law (law@cygnus.com)
2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
* djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst
- with the version name.
+ with the version name.
2000-05-01 Benjamin Kosnik <bkoz@cygnus.com>
2000-04-16 Dave Pitts <dpitts@cozx.com>
- * config.sub (case $basic_machine): Change default for "ibm-*"
- to "openedition".
+ * config.sub (case $basic_machine): Change default for "ibm-*"
+ to "openedition".
2000-04-12 Andrew Cagney <cagney@b1.cygnus.com>
* configure (warn_cflags): Delete.
2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
- Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>
+ Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>
- * configure.in (enable_libstdcxx_v3): Add.
- (target_libs): Add bits here to switch between libstdc++-v2 and
- libstdc++-v3.
- * config.if: And this file too.
- * Makefile.in: Add libstdc++-v3 targets.
+ * configure.in (enable_libstdcxx_v3): Add.
+ (target_libs): Add bits here to switch between libstdc++-v2 and
+ libstdc++-v3.
+ * config.if: And this file too.
+ * Makefile.in: Add libstdc++-v3 targets.
2000-04-05 Michael Meissner <meissner@redhat.com>
(configure-target-boehm-gc): New target.
(configure-target-qthreads): New target.
- * configure.in (target_libs): Added target-qthreads.
- * Makefile.in (ALL_TARGET_MODULES): Added qthreads.
- (CONFIGURE_TARGET_MODULES): Likewise.
- (CHECK_TARGET_MODULES): Likewise.
- (INSTALL_TARGET_MODULES): Likewise.
- (CLEAN_TARGET_MODULES): Likewise.
- (all-target-qthreads): New target.
- (configure-target-libjava): Depend on configure-target-qthreads.
- (all-target-libjava): Depend on all-target-qthreads.
+ * configure.in (target_libs): Added target-qthreads.
+ * Makefile.in (ALL_TARGET_MODULES): Added qthreads.
+ (CONFIGURE_TARGET_MODULES): Likewise.
+ (CHECK_TARGET_MODULES): Likewise.
+ (INSTALL_TARGET_MODULES): Likewise.
+ (CLEAN_TARGET_MODULES): Likewise.
+ (all-target-qthreads): New target.
+ (configure-target-libjava): Depend on configure-target-qthreads.
+ (all-target-libjava): Depend on all-target-qthreads.
* Makefile.in (ALL_TARGET_MODULES): Added libjava, boehm-gc.
(CONFIGURE_TARGET_MODULES): Likewise.
Bad merge removed these two changes.
Tue Apr 13 22:50:54 1999 Donn Terry (donn@interix.com)
- Martin Heller (Ing.-Buero_Heller@t-online.de)
+ Martin Heller (Ing.-Buero_Heller@t-online.de)
* config.guess (interix Alpha): Add.
1999-03-21 Ben Elliston <bje@cygnus.com>
- * config.guess: Correct typo for detecting ELF on FreeBSD.
+ * config.guess: Correct typo for detecting ELF on FreeBSD.
Thu Mar 18 00:17:50 1999 Mark Elbrecht <snowball3@usa.net>
1999-02-02 Catherine Moore <clm@cygnus.com>
- * config.sub (oabi): Recognize.
- * configure.in (arm-*-oabi): Handle.
+ * config.sub (oabi): Recognize.
+ * configure.in (arm-*-oabi): Handle.
1999-01-30 Robert Lipe (robertlipe@usa.net)
1998-11-17 Geoffrey Noer <noer@cygnus.com>
- * Makefile.in: modify CC_FOR_TARGET and CXX_FOR_TARGET so that
- they include winsup/include when it's a cygwin target.
+ * Makefile.in: modify CC_FOR_TARGET and CXX_FOR_TARGET so that
+ they include winsup/include when it's a cygwin target.
1998-11-12 Tom Tromey <tromey@cygnus.com>
1998-11-02 Geoffrey Noer <noer@cygnus.com>
- * configure.in: drop "32" from config/mh-cygwin32. Check
+ * configure.in: drop "32" from config/mh-cygwin32. Check
cygwin* instead of cygwin32*.
* config.sub: Check cygwin* instead of cygwin32*.
Mon Feb 23 15:09:18 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de
- * config.sub (sco5): Fix typo.
+ * config.sub (sco5): Fix typo.
Mon Feb 23 14:46:06 1998 Ian Lance Taylor <ian@cygnus.com>
Fri Nov 7 10:34:09 1997 Rob Savoye <rob@darkstar.cygnus.com>
- * include/libiberty.h: Add extern "C" { so it can be used with C++
- progrms.
- * include/remote-sim.h: Add extern "C" { so it can be used with C++
- programs.
+ * include/libiberty.h: Add extern "C" { so it can be used with C++
+ progrms.
+ * include/remote-sim.h: Add extern "C" { so it can be used with C++
+ programs.
Thu Oct 30 11:09:29 1997 Michael Meissner <meissner@cygnus.com>
Fri Sep 5 16:11:28 1997 Joel Sherrill (joel@OARcorp.com)
- * configure.in (*-*-rtems*): Do not build libgloss for rtems.
+ * configure.in (*-*-rtems*): Do not build libgloss for rtems.
Fri Sep 5 12:27:17 1997 Jeffrey A Law (law@cygnus.com)
* configure: When handling a Canadian Cross, handle YACC as well as
BISON. Just set BISON to bison. When setting YACC, prefer bison.
- * Makefile.in (all-bison): Depend upon all-texinfo.
+ * Makefile.in (all-bison): Depend upon all-texinfo.
Tue Aug 12 20:09:48 1997 Jason Merrill <jason@yorick.cygnus.com>
Mon Mar 31 16:26:55 1997 Joel Sherrill <joel@oarcorp.com>
- * configure.in (hppa1.1-*-rtems*): New target, like hppa-*-*elf*.
+ * configure.in (hppa1.1-*-rtems*): New target, like hppa-*-*elf*.
Sun Mar 30 12:38:27 1997 Fred Fish <fnf@cygnus.com>
* config.guess: Merge from FSF.
1996-09-12 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
- * config.guess: Use pc instead of unknown, for pc clone systems.
- Change linux to linux-gnu.
+ * config.guess: Use pc instead of unknown, for pc clone systems.
+ Change linux to linux-gnu.
Mon Jul 15 23:51:11 1996 Karl Heuer <kwzh@gnu.ai.mit.edu>
- * config.guess: Avoid non-portable tr syntax.
+ * config.guess: Avoid non-portable tr syntax.
Wed Oct 9 06:06:46 1996 Jeffrey A Law (law@cygnus.com)
Sun Jun 23 22:41:54 1996 Geoffrey Noer <noer@cygnus.com>
- * configure.in: enable dosrel for cygwin32-hosted builds,
- remove diff from the list of things not buildable
- via Canadian Cross
+ * configure.in: enable dosrel for cygwin32-hosted builds,
+ remove diff from the list of things not buildable
+ via Canadian Cross
Sat Jun 22 11:39:01 1996 Jason Merrill <jason@yorick.cygnus.com>
Tue Mar 26 21:18:50 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
- * configure (--enable-*): Handle quoted option lists such as
- --enable-sim-cflags='-g0 -O' better.
+ * configure (--enable-*): Handle quoted option lists such as
+ --enable-sim-cflags='-g0 -O' better.
Thu Mar 21 11:53:08 1996 Michael Meissner <meissner@tiktok.cygnus.com>
Wed Apr 12 16:06:01 1995 Jason Merrill <jason@phydeaux.cygnus.com>
* test-build.mk: Enable building of shared libraries on IRIX 5 and
- OSF/1. Fix compiler flags.
+ OSF/1. Fix compiler flags.
* build-all.mk: Support Linux and OSF/1 3.0. Fix compiler flags.
Tue Apr 11 18:55:40 1995 Doug Evans <dje@canuck.cygnus.com>
Thu Aug 25 20:28:51 1994 Richard Stallman <rms@mole.gnu.ai.mit.edu>
* config.guess (Pyramid*:OSx*:*:*): New case.
- (PATH): Add /.attbin at end for finding uname.
- (dummy.c): Handle i860-alliant-bsd. Follow whitespace conventions.
+ (PATH): Add /.attbin at end for finding uname.
+ (dummy.c): Handle i860-alliant-bsd. Follow whitespace conventions.
Wed Aug 17 18:21:02 1994 Tor Egge (tegge@pvv.unit.no)
- * config.guess (M88*:DolphinOS:*:*): New case.
+ * config.guess (M88*:DolphinOS:*:*): New case.
Thu Aug 11 17:00:13 1994 Stan Cox (coxs@dg-rtp.dg.com)
- * config.guess (AViiON:dgux:*:*): Use TARGET_BINARY_INTERFACE
- to select whether to use ELF or COFF.
+ * config.guess (AViiON:dgux:*:*): Use TARGET_BINARY_INTERFACE
+ to select whether to use ELF or COFF.
Sun Jul 24 16:20:53 1994 Richard Stallman <rms@mole.gnu.ai.mit.edu>
- * config.guess: Recognize i860-stardent-sysv and i860-unknown-sysv.
+ * config.guess: Recognize i860-stardent-sysv and i860-unknown-sysv.
Sun May 1 10:23:10 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
Wed Apr 13 15:14:52 1994 Bill Cox (bill@cygnus.com)
* configure: Make file links cleanly even if Lynx fails on
- an NFS symlink (at least fail cleanly).
+ an NFS symlink (at least fail cleanly).
Mon Apr 11 10:58:56 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
Wed Feb 2 13:57:57 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
- * Makefile.in: Avoid bug in losing hpux sed.
+ * Makefile.in: Avoid bug in losing hpux sed.
Wed Feb 2 14:53:05 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
ranlib.
* configure: also define $(host_canonical) and
- $(target_canonical), which are the full, canonical names for the
- given host and target
+ $(target_canonical), which are the full, canonical names for the
+ given host and target
Sun Nov 1 16:38:17 1992 Per Bothner (bothner@cygnus.com)
Tue Aug 11 23:13:17 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
- * COPYING: new file, GPL v2
+ * COPYING: new file, GPL v2
Tue Aug 4 01:12:43 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
gdb-patches@sources.redhat.com
dejagnu/
- Notify http://dejagnu.sourceforge.net/ of generic changes.
- Generic patches to gdb-patches@sources.redhat.com;
- Other dependents of dejagnu include sid@, binutils@, gcc@, etc.
+ Send all patches to:
+ http://www.gnu.org/software/dejagnu/
+ mail:bug-dejagnu@gnu.org
+ For changes to the local repostory, send them to
+ gdb-patches@sources.redhat.com when generic; and sid@,
+ binutils@, gcc@, etc. for sub-components.
gdb/; mmalloc/; readline/; sim/; GDB's part of include/ & dejagnu/
gdb: http://sources.redhat.com/gdb/
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
+# Tell GNU make 3.79 not to run the top level in parallel. This
+# prevents contention for $builddir/$target/config.cache, as well
+# as minimizing scatter in file system caches.
+NOTPARALLEL = .NOTPARALLEL
+$(NOTPARALLEL):
+
srcdir = .
prefix = /usr/local
LDFLAGS =
LIBCFLAGS = $(CFLAGS)
+CFLAGS_FOR_BUILD = $(CFLAGS)
CFLAGS_FOR_TARGET = $(CFLAGS)
LDFLAGS_FOR_TARGET =
LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
PICFLAG =
PICFLAG_FOR_TARGET =
-CHILLFLAGS = $(CFLAGS)
-CHILL_LIB = -lchill
CXX = c++
# Use -O2 to stress test the compiler.
CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
-RANLIB = ranlib
-
DLLTOOL = dlltool
WINDRES = windres
# This is set by the configure script to the list of directories which
# should be built using the target tools.
-TARGET_CONFIGDIRS = libiberty libgloss $(SPECIAL_LIBS) newlib libio librx libstdc++ libg++ winsup opcodes bsp libstub cygmon libf2c libchill libobjc
+TARGET_CONFIGDIRS = libiberty libgloss $(SPECIAL_LIBS) newlib librx winsup opcodes bsp libstub cygmon libf2c libobjc
# Target libraries are put under this directory:
# Changed by configure to $(target_alias) if cross.
# This is the list of directories that may be needed in RPATH_ENVVAR
# so that prorgams built for the target machine work.
-TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libstdc++
+TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
# configure.in sets SET_LIB_PATH to this if --enable-shared was used.
# Some platforms don't like blank entries, so we remove duplicate,
# Should be substed by configure.in
FLAGS_FOR_TARGET =
CC_FOR_TARGET =
-CHILL_FOR_TARGET =
CXX_FOR_TARGET =
CXX_FOR_TARGET_FOR_RECURSIVE_MAKE =
+GCJ_FOR_TARGET =
# If GCC_FOR_TARGET is not overriden on the command line, then this
# variable is passed down to the gcc Makefile, where it is used to
"CC_FOR_TARGET=$(CC_FOR_TARGET)" \
"CFLAGS=$(CFLAGS)" \
"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
- "CHILLFLAGS=$(CHILLFLAGS)" \
- "CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \
- "CHILL_LIB=$(CHILL_LIB)" \
+ "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
"CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
"CXXFLAGS=$(CXXFLAGS)" \
"CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
"libdir=$(libdir)" \
"libexecdir=$(libexecdir)" \
"lispdir=$(lispdir)" \
+ "libstdcxx_incdir=$(libstdcxx_incdir)" \
+ "libsubdir=$(libsubdir)" \
"localstatedir=$(localstatedir)" \
"mandir=$(mandir)" \
"oldincludedir=$(oldincludedir)" \
"gxx_include_dir=$(gxx_include_dir)" \
"gcc_version=$(gcc_version)" \
"gcc_version_trigger=$(gcc_version_trigger)" \
- "target_alias=$(target_alias)" \
- "libsubdir=$(libsubdir)"
+ "target_alias=$(target_alias)"
# For any flags above that may contain shell code that varies from one
# target library to another. When doing recursive invocations of the
'DLLTOOL=$(DLLTOOL)' \
'LD=$(LD)' \
'NM=$(NM)' \
- 'RANLIB=$(RANLIB)' \
+ "`echo 'RANLIB=$(RANLIB)' | sed -e s/.*=$$/XFOO=/`" \
'WINDRES=$(WINDRES)'
FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
'HOST_PREFIX=$(HOST_PREFIX)' \
'HOST_PREFIX_1=$(HOST_PREFIX_1)' \
'NM=$(NM)' \
- 'RANLIB=$(RANLIB)' \
+ "`echo 'RANLIB=$(RANLIB)' | sed -e s/.*=$$/XFOO=/`" \
'WINDRES=$$(WINDRES_FOR_TARGET)' \
"GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
+ "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
"`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \
"`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s/.*=$$/XFOO=/`" \
"`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s/.*=$$/XFOO=/`" \
"`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
"`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s/.*=$$/XFOO=/`" \
"`echo 'ENQUIRE=$(ENQUIRE)' | sed -e s/.*=$$/XFOO=/`" \
+ "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
"`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s/.*=$$/XFOO=/`"
GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
all-diff \
all-dosutils \
all-etc \
+ all-fastjar \
all-fileutils \
all-findutils \
all-find \
NATIVE_CHECK_MODULES = \
check-bison \
check-byacc \
+ check-fastjar \
check-flex \
check-zip
install-diff \
install-dosutils \
install-etc \
+ install-fastjar \
install-fileutils \
install-findutils \
install-find \
all-emacs19 \
all-gdb \
all-expect \
- all-gash \
all-guile \
all-tclX \
all-tk \
check-gdb \
check-guile \
check-expect \
- check-gash \
check-tclX \
check-tk \
check-tix
install-gdb \
install-guile \
install-expect \
- install-gash \
install-tclX \
install-tk \
install-tk8.1 \
# This is a list of the targets for all of the modules which are compiled
# using $(TARGET_FLAGS_TO_PASS).
ALL_TARGET_MODULES = \
- all-target-libio \
- all-target-libstdc++ \
all-target-libstdc++-v3 \
all-target-librx \
- all-target-libg++ \
all-target-newlib \
all-target-libf2c \
- all-target-libchill \
all-target-libobjc \
all-target-libtermcap \
all-target-winsup \
# This is a list of the configure targets for all of the modules which
# are compiled using the target tools.
CONFIGURE_TARGET_MODULES = \
- configure-target-libio \
- configure-target-libstdc++ \
configure-target-libstdc++-v3 \
configure-target-librx \
- configure-target-libg++ \
configure-target-newlib \
configure-target-libf2c \
- configure-target-libchill \
configure-target-libobjc \
configure-target-libtermcap \
configure-target-winsup \
# This is a list of the check targets for all of the modules which are
# compiled using $(TARGET_FLAGS_TO_PASS).
CHECK_TARGET_MODULES = \
- check-target-libio \
- check-target-libstdc++ \
check-target-libstdc++-v3 \
- check-target-libg++ \
check-target-newlib \
check-target-libf2c \
- check-target-libchill \
check-target-libobjc \
check-target-winsup \
check-target-libiberty \
# This is a list of the install targets for all of the modules which are
# compiled using $(TARGET_FLAGS_TO_PASS).
INSTALL_TARGET_MODULES = \
- install-target-libio \
- install-target-libstdc++ \
install-target-libstdc++-v3 \
- install-target-libg++ \
install-target-newlib \
install-target-libf2c \
- install-target-libchill \
install-target-libobjc \
install-target-libtermcap \
install-target-winsup \
clean-diff \
clean-dosutils \
clean-etc \
+ clean-fastjar \
clean-fileutils \
clean-findutils \
clean-find \
# All of the target modules that can be cleaned
CLEAN_TARGET_MODULES = \
- clean-target-libio \
- clean-target-libstdc++ \
clean-target-libstdc++-v3 \
clean-target-librx \
- clean-target-libg++ \
clean-target-newlib \
clean-target-libf2c \
- clean-target-libchill \
clean-target-libobjc \
clean-target-winsup \
clean-target-libgloss \
clean-emacs19 \
clean-gdb \
clean-expect \
- clean-gash \
clean-guile \
clean-tclX \
clean-tk \
if (cd ./$$i; \
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
- "RANLIB=$${RANLIB}" \
+ "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
$${target}); \
then true; else exit 1; fi; \
if (cd $(TARGET_SUBDIR)/$$i; \
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
- "RANLIB=$${RANLIB}" \
+ "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
$${target}); \
then true; else exit 1; fi; \
-if [ "$(TARGET_SUBDIR)" != "." ]; then \
rm -rf $(TARGET_SUBDIR); \
else true; fi
+ -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
+ -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
+ -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
+ -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
+ -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
local-maintainer-clean:
@echo "This command is intended for maintainers to use;"
# Check target.
-.PHONY: check
-check: $(CHECK_MODULES) \
+.PHONY: check do-check
+check:
+ $(MAKE) do-check NOTPARALLEL=parallel-ok
+
+do-check: $(CHECK_MODULES) \
$(CHECK_TARGET_MODULES) \
$(CHECK_X11_MODULES) \
check-gcc
CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
CXX="$(CXX_FOR_TARGET)"; export CXX; \
CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
+ GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
LD="$(LD_FOR_TARGET)"; export LD; \
LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
echo Configuring in $(TARGET_SUBDIR)/$${dir}; \
- cd $(TARGET_SUBDIR)/$${dir}; \
+ cd "$(TARGET_SUBDIR)/$${dir}" || exit 1; \
case $(srcdir) in \
- /*) \
+ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(TARGET_SUBDIR)" in \
CONFIG_SITE=no-such-file $(SHELL) $$s/configure \
$(TARGET_CONFIGARGS) $${srcdiroption} \
--with-target-subdir="$(TARGET_SUBDIR)"; \
- fi; \
+ fi || exit 1; \
if [ -f skip-this-dir ] ; then \
sh skip-this-dir; \
rm -f skip-this-dir; \
true; \
fi
+.PHONY: check-c++
+check-c++:
+ @if [ -f ./gcc/Makefile ] ; then \
+ r=`pwd`; export r; \
+ s=`cd $(srcdir); pwd`; export s; \
+ $(SET_LIB_PATH) \
+ (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
+ $(MAKE) check-target-libstdc++-v3; \
+ else \
+ true; \
+ fi
+
.PHONY: install-gcc
install-gcc:
@if [ -f ./gcc/Makefile ] ; then \
ALL_GCC = all-gcc
ALL_GCC_C = $(ALL_GCC) all-target-newlib all-target-libgloss
-ALL_GCC_CXX = $(ALL_GCC_C) all-target-libstdc++ all-target-libstdc++-v3
+ALL_GCC_CXX = $(ALL_GCC_C) all-target-libstdc++-v3
# This is a list of inter-dependencies among modules.
all-apache:
all-bfd: all-libiberty all-intl
all-binutils: all-libiberty all-opcodes all-bfd all-flex all-bison all-byacc all-intl
all-bison: all-texinfo
-configure-target-boehm-gc: $(ALL_GCC_CXX) configure-target-qthreads
+configure-target-boehm-gc: $(ALL_GCC_C) configure-target-qthreads
all-target-boehm-gc: configure-target-boehm-gc
configure-target-bsp: $(ALL_GCC_C)
all-target-bsp: configure-target-bsp
all-cgen: all-libiberty
all-cvssrc:
configure-target-cygmon: $(ALL_GCC_C)
-all-target-cygmon: configure-target-cygmon all-target-libiberty all-target-libio all-target-libstub all-target-bsp
+all-target-cygmon: configure-target-cygmon all-target-libiberty all-target-libstub all-target-bsp
all-db:
all-dejagnu: all-tcl all-expect all-tk
all-diff: all-libiberty
all-find:
all-flex: all-libiberty all-bison all-byacc
all-gas: all-libiberty all-opcodes all-bfd all-intl
-all-gash: all-tcl
all-gawk:
all-gcc: all-bison all-byacc all-binutils all-gas all-ld all-zlib
all-bootstrap: all-libiberty all-texinfo all-bison all-byacc all-binutils all-gas all-ld all-zlib
all-ispell: all-emacs19
all-itcl: all-tcl all-tk all-tcl8.1 all-tk8.1
all-ld: all-libiberty all-bfd all-opcodes all-bison all-byacc all-flex all-intl
-configure-target-libg++: $(ALL_GCC_CXX) configure-target-librx
-all-target-libg++: configure-target-libg++ all-target-libiberty all-target-librx
configure-target-libgloss: $(ALL_GCC)
all-target-libgloss: configure-target-libgloss configure-target-newlib
-configure-target-libio: $(ALL_GCC_C)
-all-target-libio: configure-target-libio all-gas all-ld all-gcc all-target-libiberty all-target-newlib
-check-target-libio: all-target-libstdc++
all-libgui: all-tcl all-tk all-tcl8.1 all-tk8.1 all-itcl
all-libiberty:
configure-target-libffi: $(ALL_GCC_C)
all-target-libffi: configure-target-libffi
-configure-target-libjava: $(ALL_GCC_CXX) configure-target-zlib configure-target-boehm-gc configure-target-qthreads configure-target-libffi
-all-target-libjava: configure-target-libjava all-zip all-target-zlib all-target-boehm-gc all-target-qthreads all-target-libffi
+configure-target-libjava: $(ALL_GCC_C) configure-target-zlib configure-target-boehm-gc configure-target-qthreads configure-target-libffi
+all-target-libjava: configure-target-libjava all-fastjar all-target-zlib all-target-boehm-gc all-target-qthreads all-target-libffi
configure-target-librx: $(ALL_GCC_C)
all-target-librx: configure-target-librx
-configure-target-libstdc++: $(ALL_GCC_C)
-all-target-libstdc++: configure-target-libstdc++ all-target-libiberty all-target-libio
configure-target-libstdc++-v3: $(ALL_GCC_C)
all-target-libstdc++-v3: configure-target-libstdc++-v3 all-target-libiberty
configure-target-libstub: $(ALL_GCC_C)
all-libtool:
configure-target-libf2c: $(ALL_GCC_C)
all-target-libf2c: configure-target-libf2c all-target-libiberty
-configure-target-libchill: $(ALL_GCC_C)
-all-target-libchill: configure-target-libchill all-target-libiberty
configure-target-libobjc: $(ALL_GCC_C)
all-target-libobjc: configure-target-libobjc all-target-libiberty
all-m4: all-libiberty all-texinfo
all-zlib:
configure-target-zlib: $(ALL_GCC_C)
all-target-zlib: configure-target-zlib
+all-fastjar: all-zlib all-libiberty
+configure-target-fastjar: configure-target-zlib
+all-target-fastjar: configure-target-fastjar all-target-zlib all-target-libiberty
configure-target-libiberty: $(ALL_GCC_C)
all-target-libiberty: configure-target-libiberty
all-target: $(ALL_TARGET_MODULES)
TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
MD5PROG="$(MD5PROG)" \
SUPPORT_FILES="$(SUPPORT_FILES)"
- $(MAKE) -f Makefile.in do-tar-bz2 \
+ $(MAKE) -f Makefile.in do-tar \
+ TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
+ MD5PROG="$(MD5PROG)" \
+ SUPPORT_FILES="$(SUPPORT_FILES)"
+ $(MAKE) -f Makefile.in do-bz2 \
TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
MD5PROG="$(MD5PROG)" \
SUPPORT_FILES="$(SUPPORT_FILES)"
-.PHONY: gdb-taz
-gdb-taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
+.PHONY: gdb-tar
+gdb-tar: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
$(MAKE) -f Makefile.in do-proto-toplev \
TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
MD5PROG="$(MD5PROG)" \
TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
MD5PROG="$(MD5PROG)" \
SUPPORT_FILES="$(SUPPORT_FILES)"
- $(MAKE) -f Makefile.in do-tar-bz2 \
+ $(MAKE) -f Makefile.in do-tar \
+ TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
+ MD5PROG="$(MD5PROG)" \
+ SUPPORT_FILES="$(SUPPORT_FILES)"
+
+.PHONY: gdb-taz
+gdb-taz: gdb-tar $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
+ $(MAKE) -f Makefile.in gdb-tar \
+ TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
+ MD5PROG="$(MD5PROG)" \
+ SUPPORT_FILES="$(SUPPORT_FILES)"
+ $(MAKE) -f Makefile.in do-bz2 \
TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
MD5PROG="$(MD5PROG)" \
SUPPORT_FILES="$(SUPPORT_FILES)"
-rm -f $(PACKAGE)-$(VER)
ln -s proto-toplev $(PACKAGE)-$(VER)
-.PHONY: do-tar-bz2
-do-tar-bz2:
- echo "==> Making $(PACKAGE)-$(VER).tar.bz2"
- -rm -f $(PACKAGE)-$(VER).tar.bz2
+.PHONY: do-tar
+do-tar:
+ echo "==> Making $(PACKAGE)-$(VER).tar"
+ -rm -f $(PACKAGE)-$(VER).tar
find $(PACKAGE)-$(VER) -follow -name CVS -prune -o -type f -print \
| tar cTfh - $(PACKAGE)-$(VER).tar
+
+.PHONY: do-bz2
+do-bz2:
+ echo "==> Bzipping $(PACKAGE)-$(VER).tar.bz2"
+ -rm -f $(PACKAGE)-$(VER).tar.bz2
$(BZIPPROG) -v -9 $(PACKAGE)-$(VER).tar
.PHONY: do-md5sum
MD5PROG="$(MD5PROG)" \
SUPPORT_FILES="$(GASB_SUPPORT_DIRS)"
-.PHONY: libg++.tar.bz2
-LIBGXX_SUPPORT_DIRS=include libstdc++ libio librx libiberty
-libg++.tar.bz2: $(DIST_SUPPORT) libg++
- $(MAKE) -f Makefile.in taz TOOL=libg++ \
- MD5PROG="$(MD5PROG)" \
- SUPPORT_FILES="$(LIBGXX_SUPPORT_DIRS)"
-
GNATS_SUPPORT_DIRS=include libiberty send-pr
gnats.tar.bz2: $(DIST_SUPPORT) $(GNATS_SUPPORT_DIRS) gnats
$(MAKE) -f Makefile.in taz TOOL=gnats \
$(MAKE) -f Makefile.in gdb-taz TOOL=gdb \
MD5PROG="$(MD5PROG)" \
SUPPORT_FILES="$(GDB_SUPPORT_DIRS)"
+.PHONY: gdb.tar
+gdb.tar: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb
+ $(MAKE) -f Makefile.in gdb-tar TOOL=gdb \
+ MD5PROG="$(MD5PROG)" \
+ SUPPORT_FILES="$(GDB_SUPPORT_DIRS)"
-.PHONY: dejagnu.tar.bz2
DEJAGNU_SUPPORT_DIRS= tcl expect libiberty
+.PHONY: dejagnu.tar.bz2
dejagnu.tar.bz2: $(DIST_SUPPORT) $(DEJAGNU_SUPPORT_DIRS) dejagnu
$(MAKE) -f Makefile.in taz TOOL=dejagnu \
MD5PROG="$(MD5PROG)" \
$(MAKE) -f Makefile.in gdb-taz TOOL=gdb PACKAGE=gdb+dejagnu \
MD5PROG="$(MD5PROG)" \
SUPPORT_FILES="$(GDBD_SUPPORT_DIRS)"
+.PHONY: gdb+dejagnu.tar
+gdb+dejagnu.tar: $(DIST_SUPPORT) $(GDBD_SUPPORT_DIRS) gdb
+ $(MAKE) -f Makefile.in gdb-tar TOOL=gdb PACKAGE=gdb+dejagnu \
+ MD5PROG="$(MD5PROG)" \
+ SUPPORT_FILES="$(GDBD_SUPPORT_DIRS)"
.PHONY: insight.tar.bz2
INSIGHT_SUPPORT_DIRS= $(GDB_SUPPORT_DIRS) tcl tk itcl tix libgui
$(MAKE) -f Makefile.in gdb-taz TOOL=gdb PACKAGE=insight \
MD5PROG="$(MD5PROG)" \
SUPPORT_FILES="$(INSIGHT_SUPPORT_DIRS)"
+.PHONY: insight.tar
+insight.tar: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb
+ $(MAKE) -f Makefile.in gdb-tar TOOL=gdb PACKAGE=insight \
+ MD5PROG="$(MD5PROG)" \
+ SUPPORT_FILES="$(INSIGHT_SUPPORT_DIRS)"
.PHONY: insight+dejagnu.tar.bz2
INSIGHTD_SUPPORT_DIRS= $(INSIGHT_SUPPORT_DIRS) expect dejagnu
$(MAKE) -f Makefile.in gdb-taz TOOL=gdb PACKAGE="insight+dejagnu" \
MD5PROG="$(MD5PROG)" \
SUPPORT_FILES="$(INSIGHTD_SUPPORT_DIRS)"
+.PHONY: insight+dejagnu.tar
+insight+dejagnu.tar: $(DIST_SUPPORT) $(INSIGHTD_SUPPORT_DIRS) gdb
+ $(MAKE) -f Makefile.in gdb-tar TOOL=gdb PACKAGE="insight+dejagnu" \
+ MD5PROG="$(MD5PROG)" \
+ SUPPORT_FILES="$(INSIGHTD_SUPPORT_DIRS)"
.PHONY: newlib.tar.bz2
NEWLIB_SUPPORT_DIRS=libgloss
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc.
-timestamp='2002-02-19'
+timestamp='2002-03-20'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in
,,) echo "int dummy(){}" > $dummy.c ;
- for c in cc gcc c89 ; do
+ for c in cc gcc c89 c99 ; do
($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ;
if test $? = 0 ; then
CC_FOR_BUILD="$c"; break ;
#
# Note: NetBSD doesn't particularly care about the vendor
# portion of the name. We always set it to "unknown".
- UNAME_MACHINE_ARCH=`(uname -p) 2>/dev/null` || \
- UNAME_MACHINE_ARCH=unknown
+ sysctl="sysctl -n hw.machine_arch"
+ UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
+ /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
case "${UNAME_MACHINE_ARCH}" in
arm*) machine=arm-unknown ;;
sh3el) machine=shl-unknown ;;
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit 0 ;;
ia64:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
exit 0 ;;
m68*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
#undef CPU
#undef mips
#undef mipsel
- #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
- CPU=mipsel
+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
+ CPU=mipsel
#else
- #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
CPU=mips
#else
CPU=
#endif
- #endif
+ #endif
EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
rm -f $dummy.c
echo `uname -p`-apple-darwin${UNAME_RELEASE}
exit 0 ;;
*:procnto*:*:* | *:QNX:[0123456789]*:*)
- if test "${UNAME_MACHINE}" = "x86pc"; then
+ UNAME_PROCESSOR=`uname -p`
+ if test "$UNAME_PROCESSOR" = "x86"; then
+ UNAME_PROCESSOR=i386
UNAME_MACHINE=pc
- echo i386-${UNAME_MACHINE}-nto-qnx
- else
- echo `uname -p`-${UNAME_MACHINE}-nto-qnx
fi
+ echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
exit 0 ;;
*:QNX:*:4*)
echo i386-pc-qnx
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc.
-timestamp='2002-02-22'
+timestamp='2002-04-26'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
| mips64vr4100 | mips64vr4100el | mips64vr4300 \
| mips64vr4300el | mips64vr5000 | mips64vr5000el \
| mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \
- | mipsisa32 \
+ | mipsisa32 | mipsisa64 \
| mn10200 | mn10300 \
| ns16k | ns32k \
| openrisc | or32 \
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
| pyramid \
| sh | sh[34] | sh[34]eb | shbe | shle | sh64 \
- | sparc | sparc64 | sparclet | sparclite | sparcv9 | sparcv9b \
+ | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
| strongarm \
| tahoe | thumb | tic80 | tron \
| v850 | v850e \
| pyramid-* \
| romp-* | rs6000-* \
| sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* | sh64-* \
- | sparc-* | sparc64-* | sparc86x-* | sparclite-* \
+ | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
| tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
| v850-* | v850e-* | vax-* \
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
- | -morphos* | -superux* | -rtmk* | -rtmk-nova*)
+ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* )
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
-ptx*)
vendor=sequent
;;
- -vxsim* | -vxworks*)
+ -vxsim* | -vxworks* | -windiss*)
vendor=wrs
;;
-aux*)
+2002-04-29 Nathanael Nerode <neroden@twcny.rr.com>
+
+ * config/mh-cxux: remove dead code
+ * config/mh-dgux386: remove dead code
+ * config/mh-hp300: remove dead code
+ * config/mh-hpux: remove dead code
+ * config/mh-hpux8: remove dead code
+ * config/mh-irix5: remove dead code
+ * config/mh-irix6: remove dead code
+ * config/mh-ncr3000: remove dead code
+ * config/mh-ncrsvr43: remove dead code
+ * config/mh-necv4: remove dead code
+ * config/mh-sco: remove dead code
+ * config/mh-solaris: remove dead code
+ * config/mh-sysv: remove dead code
+ * config/mh-sysv4: remove dead code
+ * config/mh-sysv5: remove dead code
+ * config/mh-irix4: remove, contains only dead code
+
+ * config/mt-armpic: Delete.
+ * config/mt-elfalphapic: Delete.
+ * config/mt-i370pic: Delete.
+ * config/mt-ia64pic: Delete.
+ * config/mt-m68kpic: Delete.
+ * config/mt-papic: Delete.
+ * config/mt-ppcpic: Delete.
+ * config/mt-s390pic: Delete.
+ * config/mt-sparcpic: Delete.
+ * config/mt-x86pic: Delete.
+
+2002-04-19 Nathanael Nerode <neroden@twcny.rr.com>
+
+ * mh-a68bsd: clean out dead code
+ * mh-apollo68: clean out dead code
+ * mh-cxux: clean out dead code
+ * mh-decstation: clean out dead code
+ * mh-dgux: clean out dead code
+ * mh-dgux386: clean out dead code
+ * mh-hp300: clean out dead code
+ * mh-hpux: clean out dead code
+ * mh-hpux8: clean out dead code
+ * mh-interix: clean out dead code
+ * mh-irix4: clean out dead code
+ * mh-lynxrs6k: clean out dead code
+ * mh-mingw32: clean out dead code
+ * mh-ncr3000: clean out dead code
+ * mh-ncrsvr43: clean out dead code
+ * mh-necv4: clean out dead code
+ * mh-openedition: clean out dead code
+ * mh-riscos: clean out dead code
+ * mh-sco: clean out dead code
+ * mh-sysv4: clean out dead code
+ * mh-lynxos: removed, contained only dead code
+ * mh-vaxult2: removed, contained only dead code
+ * mh-sun3: removed, contained only dead code
+
+2002-04-15 Keith Seitz <keiths@redhat.com>
+
+ * acinclude.m4 (CYG_AC_PATH_TCLCONFIG): Search the win/ directory,
+ too.
+ (CYG_AC_PATH_TKCONFIG): Likewise.
+
+2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
+
+ * acinclude.m4: Fix spelling error of "separate" as "seperate".
+
+2001-05-22 Jason Merrill <jason_merrill@redhat.com>
+
+ * mt-linux (CXXFLAGS_FOR_TARGET): Lose -fvtable-thunks.
+
+2001-01-27 Richard Henderson <rth@redhat.com>
+
+ * mt-alphaieee: New file.
+
+2001-01-02 Laurynas Biveinis <lauras@softhome.net>
+
+ * mh-djgpp: do not set CFLAGS.
+
+2000-08-04 Mark Elbrecht <snowball3@bigfoot.com>
+
+ * mh-djgpp: Conditionally set 'target_alias' to djgpp. Conditionally
+ modify 'gcc_version'.
+
+2000-07-21 Andrew Haley <aph@cygnus.com>
+
+ * mh-ia64pic: New file.
+ * mt-ia64pic: New file.
+
2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
* mh-s390pic: New file.
dnl next check if it came with Tcl configuration file in the source tree
if test x"${ac_cv_c_tclconfig}" = x ; then
for i in $dirlist; do
+ dnl need to test both unix and win directories, since
+ dnl cygwin's tkConfig.sh could be in either directory depending
+ dnl on the cygwin port of tcl.
if test -f $srcdir/$i/unix/tclConfig.sh ; then
ac_cv_c_tclconfig=`(cd $srcdir/$i/unix; pwd)`
break
fi
+ if test -f $srcdir/$i/win/tclConfig.sh ; then
+ ac_cv_c_tclconfig=`(cd $srcdir/$i/win; pwd)`
+ break
+ fi
done
fi
dnl check in a few other locations
dnl find the exact Tcl dir. We do it this way, cause there
dnl might be multiple version of Tcl, and we want the most recent one.
for i in `ls -dr $tclconfpath/tcl* 2>/dev/null ` ; do
+ dnl need to test both unix and win directories, since
+ dnl cygwin's tclConfig.sh could be in either directory depending
+ dnl on the cygwin port of tcl.
if test -f $i/unix/tclConfig.sh ; then
ac_cv_c_tclconfig=`(cd $i/unix; pwd)`
break
fi
+ if test -f $i/win/tclConfig.sh ; then
+ ac_cv_c_tclconfig=`(cd $i/win; pwd)`
+ break
+ fi
done
fi
# Note the gross little conversion here of srcdir by cd'ing to the found
# directory. This converts the path from a relative to an absolute, so
# recursive cache variables for the path will work right. We check all
-# the possible paths in one loop rather than many seperate loops to speed
+# the possible paths in one loop rather than many separate loops to speed
# things up.
# the alternative search directory is involked by --with-tkinclude
#
dnl next check if it came with Tk configuration file in the source tree
if test x"${ac_cv_c_tkconfig}" = x ; then
for i in $dirlist; do
+ dnl need to test both unix and win directories, since
+ dnl cygwin's tkConfig.sh could be in either directory depending
+ dnl on the cygwin port of tk.
if test -f $srcdir/$i/unix/tkConfig.sh ; then
ac_cv_c_tkconfig=`(cd $srcdir/$i/unix; pwd)`
break
fi
+ if test -f $srcdir/$i/win/tkConfig.sh ; then
+ ac_cv_c_tkconfig=`(cd $srcdir/$i/unix; pwd)`
+ break
+ fi
done
fi
dnl check in a few other locations
dnl find the exact Tk dir. We do it this way, cause there
dnl might be multiple version of Tk, and we want the most recent one.
for i in `ls -dr $tkconfpath/tk* 2>/dev/null ` ; do
+ dnl need to test both unix and win directories, since
+ dnl cygwin's tkConfig.sh could be in either directory depending
+ dnl on the cygwin port of tk.
if test -f $i/unix/tkConfig.sh ; then
ac_cv_c_tkconfig=`(cd $i/unix; pwd)`
break
fi
+ if test -f $i/win/tkConfig.sh ; then
+ ac_cv_c_tkconfig=`(cd $i/win; pwd)`
+ break
+ fi
done
fi
RANLIB=true
-
-#None of the Apollo compilers can compile gas or binutils. The preprocessor
-# chokes on bfd, the compiler won't let you assign integers to enums, and
-# other problems. Defining CC to gcc is a questionable way to say "don't use
-# the apollo compiler" (the preferred version of GCC could be called cc,
-# or whatever), but I'm not sure leaving CC as cc is any better...
-
-#CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
-CC=gcc
-
BISON=yacc
HDEFINES = -DUSG
RANLIB=true
-CC= cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG
# Configuration for Harris CX/UX 7 (and maybe 6), based on sysv4 configuration.
-# Define SYSV as -DSYSV if you are using a System V operating system.
-SYSV = -DSYSV -DSVR4
RANLIB = true
-# C++ debugging is not yet supported under SVR4 (DWARF)
-CXXFLAGS=-O
-
# The l flag generates a warning from the SVR4 archiver, remove it.
AR_FLAGS = cq
-# Under CX/UX, we want to tell the compiler to use ANSI mode.
-CC=cc -Xa
-CC = cc -Wf,-XNg1000
-
# for X11, since the native DECwindows include files are really broken when
# it comes to function prototypes.
X11_EXTRA_CFLAGS = "-DNeedFunctionPrototypes=0"
HDEFINES=-DHOST_SYS=DGUX_SYS
-CC=gcc -Wall -ansi -D__using_DGUX
RANLIB=true
# from mh-dgux
HDEFINES=-DHOST_SYS=DGUX_SYS
-CC=gcc -Wall -ansi -D__using_DGUX
RANLIB = true
# from mh-sysv4
-# Define SYSV as -DSYSV if you are using a System V operating system.
-SYSV = -DSYSV -DSVR4
RANLIB = true
-# C++ debugging is not yet supported under SVR4 (DWARF)
-CXXFLAGS=-O
-
# The l flag generates a warning from the SVR4 archiver, remove it.
AR_FLAGS = cr
X11_EXTRA_LIBS = -lnsl
-# from angela
-# no debugging due to broken compiler, use BSD style timeofday
-CFLAGS=-O -D_BSD_TIMEOFDAY_FLAVOR
-
-# We don't want to use debugging information on DOS. Unfortunately,
-# this requires that we set CFLAGS.
-# This used to set -fno-omit-frame-pointer.
-CFLAGS=-O2
+# Shorten the target alias so when it is used to set 'libsubdir'
+# the name will work in both short and long filename environments.
+ifeq ($(findstring -pc-msdosdjgpp,$(target_alias)),-pc-msdosdjgpp)
+target_alias=djgpp
+endif
+
+# The version string must be modified to contain just one dot
+# because DOS filenames can only have one dot when long filenames
+# are not available.
+__version:=$(gcc_version)
+__version:=$(subst ., ,$(__version))
+ifeq ($(words $(__version)),3)
+gcc_version=$(word 1,$(__version)).$(word 2,$(__version))$(word 3,$(__version))
+endif
-# Define SYSV as -DSYSV if you are using a System V operating system.
-SYSV = -DSYSV
-# Avoid "too much defining" errors from HPUX compiler.
-CC = cc -Wp,-H256000
# If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
# If it's HP/UX ar, this should be harmless.
RANLIB = ar ts
-
-# Native cc can't bootstrap gcc with -g. Defining CFLAGS here loses (a)
-# for non-gcc directories, (b) if we are compiling with gcc, not
-# native cc. Neither (a) nor (b) has a trivial fix though.
-
-CFLAGS =
-# Define SYSV as -DSYSV if you are using a System V operating system.
-CC = cc -Wp,-H256000
-SYSV = -DSYSV
RANLIB = true
-# Define SYSV as -DSYSV if you are using a System V operating system.
-CC = cc -Wp,-H256000
-SYSV = -DSYSV
RANLIB = true
SHELL = sh
RANLIB = true
-# We don't want debugging info in Interix-hosted toolchains.
-# Accomplish this by overriding CFLAGS. This is also a workaround
-# for LD crash when building shared libstdc++.
-CFLAGS=-O2
-CXXFLAGS=-O2
-
# We also need to override LIBGCC2_DEBUG_CFLAGS so libgcc2 will be
# built without debugging information
+++ /dev/null
-# Makefile changes for SGI's running IRIX-4.x.
-# Tell compiler to use K&R C. We can't compile under the SGI Ansi
-# environment. Also bump switch table size so that cp-parse will
-# compile. Bump string length limit so linker builds.
-
-CC = cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192
-SYSV = -DSYSV
# Makefile changes for SGI's running IRIX-5.x.
-SYSV = -DSYSV
RANLIB = true
# Makefile changes for SGI's running IRIX-6.x.
-SYSV = -DSYSV
RANLIB = true
+++ /dev/null
-# /bin/cc is less than useful for our purposes. Always use GCC
-CC = /bin/gcc
# LynxOS running on the rs6000 doesn't have ranlib
RANLIB = true
-# /bin/cc is less than useful for our purposes. Always use GCC
-CC = /usr/cygnus/progressive/bin/gcc
-
# /bin/sh is too buggy, so use /bin/bash instead.
SHELL = /bin/bash
-# We don't want debugging info in Win32-hosted toolchains.
-# Accomplish this by overriding CFLAGS.
-CFLAGS=-O2
-CXXFLAGS=-O2
-
# We also need to override LIBGCC2_DEBUG_CFLAGS so libgcc2 will be
# built without debugging information
# Host configuration file for an NCR 3000 (i486/SVR4) system.
-# The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
-# This compiler not only emits obnoxious copyright messages every time
-# you run it, but it chokes and dies on a whole bunch of GNU source
-# files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
-# Unfortunately though, the AT&T compiler sometimes generates code that
-# the assembler barfs on if -g is used, so disable it by default as well.
-CC = /usr/ccs/ATT/cc
-CFLAGS =
-
-# Define SYSV as -DSYSV if you are using a System V operating system.
-SYSV = -DSYSV -DSVR4
RANLIB = true
# The l flag generates a warning from the SVR4 archiver, remove it.
# Host configuration file for an NCR 3000 (i486/SVR43) system.
-# The MetaWare compiler will generate a copyright message unless you
-# turn it off by adding the -Hnocopyr flag.
-CC = cc -Hnocopyr
-
-# Define SYSV as -DSYSV if you are using a System V operating system.
-SYSV = -DSYSV -DSVR4
RANLIB = true
# Host Makefile fragment for NEC MIPS SVR4.
-# The C compiler on NEC MIPS SVR4 needs bigger tables.
-CC = cc -ZXNd=5000 -ZXNg=1000
-
-# Define SYSV as -DSYSV if you are using a System V operating system.
-SYSV = -DSYSV -DSVR4
RANLIB = true
# NEC -lX11 needs some other libraries.
# This is for a MIPS running RISC/os 4.52C.
-# This is needed for GDB, but needs to be in the top-level make because
-# if a library is compiled with the bsd headers and gets linked with the
-# sysv system libraries all hell can break loose (e.g. a jmp_buf might be
-# a different size).
-# ptrace(2) apparently has problems in the BSD environment. No workaround is
-# known except to select the sysv environment. Could we use /proc instead?
-# These "sysv environments" and "bsd environments" often end up being a pain.
-#
-# This is not part of CFLAGS because perhaps not all C compilers have this
-# option.
-CC= cc -systype sysv
-
RANLIB = true
-# Define SYSV as -DSYSV if you are using a System V operating system.
-SYSV = -DSYSV
RANLIB = true
# You may need this if you don't have bison.
# BISON = yacc -Sm10400
-# The native C compiler botches some simple uses of const. Unfortunately,
-# it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
-CC = cc -Dconst=
X11_EXTRA_LIBS = -lsocket -lm -lintl -lmalloc
# Makefile changes for Suns running Solaris 2
-SYSV = -DSYSV
RANLIB = true
X11_EXTRA_LIBS = -lnsl -lsocket
+++ /dev/null
-# Sun's C compiler needs the -J flag to be able to compile cp-parse.c
-# without overflowing the jump tables (-J says to use a 32 bit table)
-CC = cc -J
-# Define SYSV as -DSYSV if you are using a System V operating system.
-SYSV = -DSYSV
RANLIB = true
-# Define SYSV as -DSYSV if you are using a System V operating system.
-SYSV = -DSYSV -DSVR4
RANLIB = true
-# C++ debugging is not yet supported under SVR4 (DWARF)
-CXXFLAGS=-O
-
# The l flag generates a warning from the SVR4 archiver, remove it.
AR_FLAGS = cr
-# Define SYSV as -DSYSV if you are using a System V operating system.
-SYSV = -DSYSV -DSVR4 -DSVR5
RANLIB = true
# The l flag generates a warning from the SVR4 archiver, remove it.
+++ /dev/null
-# The old BSD pcc isn't up to compiling parts of gdb so use gcc
-CC = gcc
# AIX 4.3 and above requires -X32_64 flag to all ar and nm commands
# to handle both 32-bit and 64-bit objects.
AR_FOR_TARGET=ar -X32_64
-NM_FOR_TARGET=nm -X32_64
+NM_FOR_TARGET=nm -B -X32_64
--- /dev/null
+CFLAGS_FOR_TARGET += -mieee
+CXXFLAGS_FOR_TARGET += -mieee
+++ /dev/null
-PICFLAG_FOR_TARGET=-fPIC
+++ /dev/null
-PICFLAG_FOR_TARGET=-fPIC
+++ /dev/null
-PICFLAG_FOR_TARGET=-fPIC
+++ /dev/null
-PICFLAG_FOR_TARGET=-fpic
-# When using glibc 2 on Linux we must always use vtable thunks.
-CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -fvtable-thunks -D_GNU_SOURCE
+CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE
+++ /dev/null
-PICFLAG_FOR_TARGET=-fpic
+++ /dev/null
-PICFLAG_FOR_TARGET=-fPIC
+++ /dev/null
-PICFLAG_FOR_TARGET=-fPIC
+++ /dev/null
-PICFLAG_FOR_TARGET=-fpic
+++ /dev/null
-PICFLAG_FOR_TARGET=`case '${LIBCFLAGS} ${LIBCXXFLAGS}' in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac`
+++ /dev/null
-PICFLAG_FOR_TARGET=-fpic
### WARNING: this file contains embedded tabs. Do not run untabify on this file.
# Configuration script
-# Copyright (C) 1988, 90, 91, 92, 93, 94, 95, 96, 97, 98, 1999
+# Copyright (C) 1988, 90, 91, 92, 93, 94, 95, 96, 97, 98, 1999, 2000, 2001
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
configdirs=
extraconfigdirs=
diroptions=
+enable_threads=no
+enable_shared=no
+enable_libstdcxx_v3=yes
exec_prefix=
exec_prefixoption=
fatal=
if [ -n "$PWD" ]; then PWD=`pwd`; fi
case "${progname}" in
-/*) ;;
+/* | [A-Za-z]:[\\/]* ) ;;
*/*) ;;
*)
PATH=$PATH:${PWD=`pwd`} ; export PATH
;;
esac
+# Export original configure arguments for use by sub-configures.
+TOPLEVEL_CONFIGURE_ARGUMENTS="$progname $@"
+export TOPLEVEL_CONFIGURE_ARGUMENTS
+
# Loop over all args
while :
esac
# keep this filename short for &%*%$*# 14 char file names and 8+3 file names
-tmpfile=${TMPDIR}/cNf$$
+tmpdir=${TMPDIR}/cNf$$
+mkdir ${tmpdir} || exit 1
+tmpfile=${tmpdir}/cNf$$
# Note that under many versions of sh a trap handler for 0 will *override* any
# exit status you explicitly specify! At this point, the only non-error exit
# is at the end of the script; these actions are duplicated there, minus
# the "exit 1". Don't use "exit 0" anywhere after this without resetting the
# trap handler, or you'll lose.
-trap "rm -f Makefile.tem ${tmpfile}.com ${tmpfile}.tgt ${tmpfile}.hst ${tmpfile}.pos; exit 1" 0 1 2 15
+trap "rm -rf Makefile.tem ${tmpdir}; exit 1" 0 1 2 15
# split ${srcdir}/configure.in into common, per-host, per-target,
# and post-target parts. Post-target is optional.
# Perform the same cleanup as the trap handler, minus the "exit 1" of course,
# and reset the trap handler.
trap 0
- rm -f Makefile* ${tmpfile}.com ${tmpfile}.tgt ${tmpfile}.hst ${tmpfile}.pos
+ rm -rf Makefile* ${tmpdir}
# Execute the final clean-up actions
${config_shell} skip-this-dir
# and stop configuring this directory.
# are not the same, we set reasonable default values for the tools.
tools="AR AR_FOR_TARGET AS AS_FOR_TARGET BISON CC_FOR_BUILD"
- tools="${tools} CC_FOR_TARGET CXX_FOR_TARGET"
+ tools="${tools} CC_FOR_TARGET CXX_FOR_TARGET GCJ_FOR_TARGET"
tools="${tools} DLLTOOL DLLTOOL_FOR_TARGET GCC_FOR_TARGET HOST_PREFIX"
tools="${tools} HOST_PREFIX_1 LD LD_FOR_TARGET LEX MAKEINFO NM"
tools="${tools} NM_FOR_TARGET RANLIB RANLIB_FOR_TARGET"
CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
CC_FOR_TARGET=${CC_FOR_TARGET-${target_alias}-gcc}
CXX_FOR_TARGET=${CXX_FOR_TARGET-${target_alias}-c++}
+ GCJ_FOR_TARGET=${GCJ_FOR_TARGET-${target_alias}-gcj}
DLLTOOL=${DLLTOOL-${host_alias}-dlltool}
DLLTOOL_FOR_TARGET=${DLLTOOL_FOR_TARGET-${target_alias}-dlltool}
GCC_FOR_TARGET=${GCC_FOR_TARGET-${CC_FOR_TARGET-${target_alias}-gcc}}
case "${srcdir}" in
".") # no -srcdir option. We're building in place.
makesrcdir=. ;;
- /*) # absolute path
+ /* | [A-Za-z]:[\\/]* ) # absolute path
makesrcdir=`echo ${srcdir}/${subdir} | sed -e 's|/\.$||'`
;;
*) # otherwise relative
esac
# real copy now in ${subdir}/Makefile.tem
- # prepend warning about editting, and a bunch of variables.
+ # prepend warning about editing, and a bunch of variables.
rm -f ${Makefile}
cat > ${Makefile} <<EOF
# ${NO_EDIT}
case "${package_makefile_frag}" in
"") ;;
- /*) echo package_makefile_frag = ${package_makefile_frag} >>${Makefile} ;;
+ /* | [A-Za-z]:[\\/]* ) echo package_makefile_frag = ${package_makefile_frag} >>${Makefile} ;;
*) echo package_makefile_frag = ${invsubdir}${package_makefile_frag} >>${Makefile} ;;
esac
case "${target_makefile_frag}" in
"") ;;
- /*) echo target_makefile_frag = ${target_makefile_frag} >>${Makefile} ;;
+ /* | [A-Za-z]:[\\/]* ) echo target_makefile_frag = ${target_makefile_frag} >>${Makefile} ;;
*) echo target_makefile_frag = ${invsubdir}${target_makefile_frag} >>${Makefile} ;;
esac
case "${host_makefile_frag}" in
"") ;;
- /*) echo host_makefile_frag = ${host_makefile_frag} >>${Makefile} ;;
+ /* | [A-Za-z]:[\\/]* ) echo host_makefile_frag = ${host_makefile_frag} >>${Makefile} ;;
*) echo host_makefile_frag = ${invsubdir}${host_makefile_frag} >>${Makefile} ;;
esac
echo site_makefile_frag = ${invsubdir}${site_makefile_frag} >>${Makefile}
fi
- # record if we want to build shared libs.
- if test -z "${enable_shared}"; then
- echo enable_shared = no >> ${Makefile}
- else
- echo enable_shared = ${enable_shared} >> ${Makefile}
- fi
+ echo enable_shared = ${enable_shared} >> ${Makefile}
+ echo enable_threads = ${enable_threads} >> ${Makefile}
# record if we want to rumtime library stuff installed in libsubdir.
if test -z "${enable_version_specific_runtime_libs}"; then
echo enable_version_specific_runtime_libs = no >> ${Makefile}
# remove any form feeds.
if [ -z "${subdirs}" ]; then
rm -f ${subdir}/Makefile.tm2
- sed -e "s:^SUBDIRS[ ]*=.*$:SUBDIRS = ${configdirs}:" \
- -e "s:^NONSUBDIRS[ ]*=.*$:NONSUBDIRS = ${noconfigdirs}:" \
+ sedtemp=sed.$$
+ cat >$sedtemp <<EOF
+s:^SUBDIRS[ ]*=.*$:SUBDIRS = ${configdirs}:
+s:^NONSUBDIRS[ ]*=.*$:NONSUBDIRS = ${noconfigdirs}:
+EOF
+ sed -f $sedtemp \
${subdir}/Makefile.tem > ${subdir}/Makefile.tm2
+ rm -f $sedtemp
rm -f ${subdir}/Makefile.tem
mv ${subdir}/Makefile.tm2 ${subdir}/Makefile.tem
fi
### figure out what to do with srcdir
case "${srcdir}" in
".") newsrcdir=${srcdir} ;; # no -srcdir option. We're building in place.
- /*) # absolute path
- newsrcdir=${srcdir}/${cfg_dir}
- srcdiroption="--srcdir=${newsrcdir}"
- ;;
- ?:*) # absolute path on win32
+ /* | [A-Za-z]:[\\/]* ) # absolute path
newsrcdir=${srcdir}/${cfg_dir}
srcdiroption="--srcdir=${newsrcdir}"
;;
case "${cache_file}" in
"") # empty
;;
- /*) # absolute path
- cache_file_option="--cache-file=${cache_file}"
- ;;
- ?:*) # absolute path on win32
+ /* | [A-Za-z]:[\\/]* ) # absolute path
cache_file_option="--cache-file=${cache_file}"
;;
*) # relative path
recprog=${newsrcdir}/configure
elif [ -f ${newsrcdir}/configure.in ] ; then
case "${progname}" in
- /*) recprog=${progname} ;;
- ?:*) recprog=${progname} ;;
- *) recprog=../${progname} ;;
+ /* | [A-Za-z]:[\\/]* ) recprog=${progname} ;;
+ *) recprog=../${progname} ;;
esac
else
eval echo No configuration information in ${cfg_dir} ${redirect}
# Perform the same cleanup as the trap handler, minus the "exit 1" of course,
# and reset the trap handler.
-rm -f ${tmpfile}.com ${tmpfile}.tgt ${tmpfile}.hst ${tmpfile}.pos
+rm -rf ${tmpdir}
trap 0
exit 0
## For more information on these two systems, check out the documentation
## for 'Autoconf' (autoconf.texi) and 'Configure' (configure.texi).
-# Copyright (C) 1992-99, 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998,
+# 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# these libraries are used by various programs built for the host environment
#
-host_libs="intl mmalloc libiberty opcodes bfd readline gash db tcl tk tcl8.1 tk8.1 tclX itcl tix libgui"
-
-if [ "${enable_gdbgui}" = "yes" ] ; then
- host_libs="${host_libs} libgui"
-fi
+host_libs="intl mmalloc libiberty opcodes bfd readline db tcl tk tcl8.1 tk8.1 tclX itcl tix libgui zlib"
libstdcxx_version="target-libstdc++-v3"
# Don't use libstdc++-v3's flags to configure/build itself.
# these tools are built for the host environment
# Note, the powerpc-eabi build depends on sim occurring before gdb in order to
# know that we are building the simulator.
-host_tools="texinfo byacc flex bison binutils ld gas gcc cgen sid sim gdb make patch prms send-pr gprof gdbtest tgas etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool ispell grep diff rcs cvssrc fileutils shellutils time textutils wdiff find emacs emacs19 uudecode hello tar gzip indent recode release sed utils guile perl apache inet gawk findutils snavigator libtool gettext zip"
+host_tools="texinfo byacc flex bison binutils ld gas gcc cgen sid sim gdb make patch prms send-pr gprof gdbtest tgas etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool ispell grep diff rcs cvssrc fileutils shellutils time textutils wdiff find emacs emacs19 uudecode hello tar gzip indent recode release sed utils guile perl apache inet gawk findutils snavigator libtool gettext zip fastjar"
+
+# libgcj represents the runtime libraries only used by gcj.
+libgcj="target-libffi \
+ target-boehm-gc \
+ target-zlib \
+ target-qthreads \
+ target-libjava"
# these libraries are built for the target environment, and are built after
# the host libraries and the host tools (which may be a cross compiler)
target_libs="target-libiberty \
target-libgloss \
target-newlib \
+ target-librx \
${libstdcxx_version} \
target-libf2c \
- target-libchill \
- target-libffi \
- target-libjava \
- target-zlib \
- target-boehm-gc \
- target-qthreads \
+ ${libgcj}
target-libobjc"
# these tools are built using the target libs, and are intended to run only
#
# This must be a single line because of the way it is searched by grep in
# the code below.
-native_only="autoconf automake libtool cvssrc emacs emacs19 fileutils find gawk gettext grep gzip hello indent ispell m4 rcs recode sed shellutils tar textutils gash uudecode wdiff gprof target-groff guile perl apache inet time ash bash bzip2 prms snavigator gnuserv target-gperf"
+native_only="autoconf automake libtool cvssrc emacs emacs19 fileutils find gawk gettext grep gzip hello indent ispell m4 rcs recode sed shellutils tar textutils uudecode wdiff gprof target-groff guile perl apache inet time ash bash bzip2 prms snavigator gnuserv target-gperf"
# directories to be built in a cross environment only
#
# per-host:
# Work in distributions that contain no compiler tools, like Autoconf.
-if [ -d ${srcdir}/config ]; then
+tentative_cc=""
+if test -d ${srcdir}/config ; then
case "${host}" in
m68k-hp-hpux*)
+ # Avoid "too much defining" errors from HPUX compiler.
+ tentative_cc="cc -Wp,-H256000"
host_makefile_frag="${host_makefile_frag} config/mh-hp300"
;;
m68k-apollo-sysv*)
+ tentative_cc="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
host_makefile_frag="${host_makefile_frag} config/mh-apollo68"
;;
m68k-apollo-bsd*)
+ #None of the Apollo compilers can compile gas or binutils. The preprocessor
+ # chokes on bfd, the compiler won't let you assign integers to enums, and
+ # other problems. Defining CC to gcc is a questionable way to say "don't use
+ # the apollo compiler" (the preferred version of GCC could be called cc,
+ # or whatever), but I'm not sure leaving CC as cc is any better...
+ #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
+ tentative_cc=gcc
host_makefile_frag="${host_makefile_frag} config/mh-a68bsd"
;;
m88k-dg-dgux*)
+ tentative_cc="gcc -Wall -ansi -D__using_DGUX"
host_makefile_frag="${host_makefile_frag} config/mh-dgux"
;;
m88k-harris-cxux*)
+ # Under CX/UX, we want to tell the compiler to use ANSI mode.
+ tentative_cc="cc -Xa"
host_makefile_frag="${host_makefile_frag} config/mh-cxux"
;;
m88k-motorola-sysv*)
host_makefile_frag="${host_makefile_frag} config/mh-delta88"
;;
mips*-dec-ultrix*)
+ tentative_cc="cc -Wf,-XNg1000"
host_makefile_frag="${host_makefile_frag} config/mh-decstation"
;;
mips*-nec-sysv4*)
+ # The C compiler on NEC MIPS SVR4 needs bigger tables.
+ tentative_cc="cc -ZXNd=5000 -ZXNg=1000"
host_makefile_frag="${host_makefile_frag} config/mh-necv4"
;;
mips*-sgi-irix6*)
host_makefile_frag="${host_makefile_frag} config/mh-irix5"
;;
mips*-sgi-irix4*)
- host_makefile_frag="${host_makefile_frag} config/mh-irix4"
+ # Tell compiler to use K&R C. We can't compile under the SGI Ansi
+ # environment. Also bump switch table size so that cp-parse will
+ # compile. Bump string length limit so linker builds.
+ tentative_cc="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
;;
mips*-sgi-irix3*)
host_makefile_frag="${host_makefile_frag} config/mh-sysv"
host_makefile_frag="${host_makefile_frag} config/mh-sysv4"
;;
mips*-*-sysv*)
+ # This is for a MIPS running RISC/os 4.52C.
+
+ # This is needed for GDB, but needs to be in the top-level make because
+ # if a library is compiled with the bsd headers and gets linked with the
+ # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
+ # a different size).
+ # ptrace(2) apparently has problems in the BSD environment. No workaround is
+ # known except to select the sysv environment. Could we use /proc instead?
+ # These "sysv environments" and "bsd environments" often end up being a pain.
+ #
+ # This is not part of CFLAGS because perhaps not all C compilers have this
+ # option.
+ tentative_cc="cc -systype sysv"
host_makefile_frag="${host_makefile_frag} config/mh-riscos"
;;
i370-ibm-opened*)
+ tentative_cc="c89"
host_makefile_frag="${host_makefile_frag} config/mh-openedition"
;;
i[3456]86-*-sysv5*)
host_makefile_frag="${host_makefile_frag} config/mh-sysv5"
;;
i[3456]86-*-dgux*)
+ tentative_cc="gcc -Wall -ansi -D__using_DGUX"
host_makefile_frag="${host_makefile_frag} config/mh-dgux386"
;;
i[3456]86-ncr-sysv4.3*)
+ # The MetaWare compiler will generate a copyright message unless you
+ # turn it off by adding the -Hnocopyr flag.
+ tentative_cc="cc -Hnocopyr"
host_makefile_frag="${host_makefile_frag} config/mh-ncrsvr43"
;;
i[3456]86-ncr-sysv4*)
+ # for an NCR 3000 (i486/SVR4) system.
+ # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
+ # This compiler not only emits obnoxious copyright messages every time
+ # you run it, but it chokes and dies on a whole bunch of GNU source
+ # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
+ tentative_cc="/usr/ccs/ATT/cc"
host_makefile_frag="${host_makefile_frag} config/mh-ncr3000"
;;
i[3456]86-*-sco3.2v5*)
host_makefile_frag="${host_makefile_frag} config/mh-sysv"
;;
i[3456]86-*-sco*)
+ # The native C compiler botches some simple uses of const. Unfortunately,
+ # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
+ tentative_cc="cc -Dconst="
host_makefile_frag="${host_makefile_frag} config/mh-sco"
;;
i[3456]86-*-udk*)
*-interix*)
host_makefile_frag="${host_makefile_frag} config/mh-interix"
;;
- *-windows*)
- host_makefile_frag="${host_makefile_frag} config/mh-windows"
- ;;
vax-*-ultrix2*)
- host_makefile_frag="${host_makefile_frag} config/mh-vaxult2"
+ # The old BSD pcc isn't up to compiling parts of gdb so use gcc
+ tentative_cc=gcc
;;
*-*-solaris2*)
host_makefile_frag="${host_makefile_frag} config/mh-solaris"
;;
m68k-sun-sunos*)
- host_makefile_frag="${host_makefile_frag} config/mh-sun3"
+ # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
+ # without overflowing the jump tables (-J says to use a 32 bit table)
+ tentative_cc="cc -J"
;;
*-hp-hpux[78]*)
+ tentative_cc="cc -Wp,-H256000"
host_makefile_frag="${host_makefile_frag} config/mh-hpux8"
;;
*-hp-hpux*)
+ tentative_cc="cc -Wp,-H256000"
host_makefile_frag="${host_makefile_frag} config/mh-hpux"
;;
*-*-hiux*)
+ tentative_cc="cc -Wp,-H256000"
host_makefile_frag="${host_makefile_frag} config/mh-hpux"
;;
rs6000-*-lynxos*)
+ # /bin/cc is less than useful for our purposes. Always use GCC
+ tentative_cc="/usr/cygnus/progressive/bin/gcc"
host_makefile_frag="${host_makefile_frag} config/mh-lynxrs6k"
;;
*-*-lynxos*)
- host_makefile_frag="${host_makefile_frag} config/mh-lynxos"
+ # /bin/cc is less than useful for our purposes. Always use GCC
+ tentative_cc="/bin/gcc"
;;
*-*-sysv4*)
host_makefile_frag="${host_makefile_frag} config/mh-sysv4"
# If we aren't going to be using gcc, see if we can extract a definition
# of CC from the fragment.
-if [ -z "${CC}" ] && [ "${build}" = "${host}" ]; then
+# Actually, use the 'pre-extracted' version above.
+if test -z "${CC}" && test "${build}" = "${host}" ; then
IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:"
found=
for dir in $PATH; do
fi
done
IFS="$save_ifs"
- if [ -z "${found}" ] && [ -n "${host_makefile_frag}" ] && [ -f "${srcdir}/${host_makefile_frag}" ]; then
- xx=`sed -n -e 's/^[ ]*CC[ ]*=[ ]*\(.*\)$/\1/p' < ${srcdir}/${host_makefile_frag}`
- if [ -n "${xx}" ] ; then
- CC=$xx
- fi
+ if test -z "${found}" && test -n "${tentative_cc}" ; then
+ CC=$tentative_cc
fi
fi
# We default to --with-shared on platforms where -fpic is meaningless.
# Well, we don't yet, but we will.
-if false && [ "${host}" = "${target}" ] && [ x${enable_shared} = x ]; then
+if false && test "${host}" = "${target}" && test x${enable_shared} = x ; then
case "${target}" in
alpha*-dec-osf*) enable_shared=yes ;;
alpha*-*-linux*) enable_shared=yes ;;
esac
fi
+# hpux11 in 64bit mode has libraries in a weird place. Arrange to find
+# them automatically.
+case "${host}" in
+ hppa*64*-*-hpux11*)
+ withoptions="$withoptions -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
+ ;;
+esac
+
case "${enable_shared}" in
yes) shared=yes ;;
no) shared=no ;;
*) shared=yes ;;
esac
-if [ x${shared} = xyes ]; then
- case "${host}" in
- alpha*-*-linux*)
- host_makefile_frag="${host_makefile_frag} config/mh-elfalphapic"
- ;;
- arm*-*-*)
- host_makefile_frag="${host_makefile_frag} config/mh-armpic"
- ;;
- hppa*-*-*)
- host_makefile_frag="${host_makefile_frag} config/mh-papic"
- ;;
- i[3456]86-*-cygwin*)
- # We don't want -fPIC on Cygwin.
- ;;
- i[3456]86-*-*)
- host_makefile_frag="${host_makefile_frag} config/mh-x86pic"
- ;;
- i370-*-*)
- host_makefile_frag="${host_makefile_frag} config/mh-i370pic"
- ;;
- ia64-*-*)
- host_makefile_frag="${host_makefile_frag} config/mh-ia64pic"
- ;;
- sparc64-*-*)
- host_makefile_frag="${host_makefile_frag} config/mh-sparcpic"
- ;;
- powerpc*-*-aix*)
- # We don't want -fPIC on AIX.
- ;;
- powerpc*-*-*)
- host_makefile_frag="${host_makefile_frag} config/mh-ppcpic"
- ;;
- s390-* | s390x-*)
- host_makefile_frag="${host_makefile_frag} config/mh-s390pic"
- ;;
- *-*-*)
- if test -f ${srcdir}/config/mh-${host_cpu}pic; then
- host_makefile_frag="${host_makefile_frag} config/mh-${host_cpu}pic"
- fi
- ;;
- esac
-fi
-
rm -f mh-frag
-if [ -n "${host_makefile_frag}" ] ; then
+if test -n "${host_makefile_frag}" ; then
for f in ${host_makefile_frag}
do
cat ${srcdir}/$f >> mh-frag
powerpc-*-netware*)
target_makefile_frag="${target_makefile_frag} config/mt-netware"
;;
- *-*-linux-gnu*)
+ alpha*-*-linux*)
+ target_makefile_frag="${target_makefile_frag} config/mt-linux"
+ target_makefile_frag="${target_makefile_frag} config/mt-alphaieee"
+ ;;
+ alpha*-*-*)
+ target_makefile_frag="${target_makefile_frag} config/mt-alphaieee"
+ ;;
+ *-*-linux*)
target_makefile_frag="${target_makefile_frag} config/mt-linux"
;;
*-*-aix4.[3456789]* | *-*-aix[56789].*)
yes | "") # the default value for this tree is that X11 is available
;;
no)
- skipdirs="${skipdirs} tk libgui gash"
+ skipdirs="${skipdirs} tk libgui"
;;
*)
echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2
is_cross_compiler=
-if [ x"${host}" = x"${target}" ] ; then
+if test x"${host}" = x"${target}" ; then
# when doing a native toolchain, don't build the targets
# that are in the 'cross only' list
skipdirs="${skipdirs} ${cross_only}"
# can reliably find it.
target_subdir=${target_alias}
-if [ ! -d ${target_subdir} ] ; then
+if test ! -d ${target_subdir} ; then
if mkdir ${target_subdir} ; then true
else
echo "'*** could not make ${PWD=`pwd`}/${target_subdir}" 1>&2
build_subdir=${build_alias}
-if [ x"${build_alias}" != x"${host}" ] ; then
- if [ ! -d ${build_subdir} ] ; then
+if test x"${build_alias}" != x"${host}" ; then
+ if test ! -d ${build_subdir} ; then
if mkdir ${build_subdir} ; then true
else
echo "'*** could not make ${PWD=`pwd`}/${build_subdir}" 1>&2
# Handle --with-headers=XXX. The contents of the named directory are
# copied to $(tooldir)/sys-include.
-if [ x"${with_headers}" != x ]; then
- if [ x${is_cross_compiler} = xno ]; then
+if test x"${with_headers}" != x ; then
+ if test x${is_cross_compiler} = xno ; then
echo 1>&2 '***' --with-headers is only supported when cross compiling
exit 1
fi
# Handle --with-libs=XXX. Multiple directories are permitted. The
# contents are copied to $(tooldir)/lib.
-if [ x"${with_libs}" != x ]; then
- if [ x${is_cross_compiler} = xno ]; then
+if test x"${with_libs}" != x ; then
+ if test x${is_cross_compiler} = xno ; then
echo 1>&2 '***' --with-libs is only supported when cross compiling
exit 1
fi
# If both --with-headers and --with-libs are specified, default to
# --without-newlib.
-if [ x"${with_headers}" != x ] && [ x"${with_libs}" != x ]; then
- if [ x"${with_newlib}" = x ]; then
+if test x"${with_headers}" != x && test x"${with_libs}" != x ; then
+ if test x"${with_newlib}" = x ; then
with_newlib=no
fi
fi
# Recognize --with-newlib/--without-newlib.
-if [ x${with_newlib} = xno ]; then
+if test x${with_newlib} = xno ; then
skipdirs="${skipdirs} target-newlib"
-elif [ x${with_newlib} = xyes ]; then
+elif test x${with_newlib} = xyes ; then
skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
fi
# Default to using --with-stabs for certain targets.
-if [ x${with_stabs} = x ]; then
+if test x${with_stabs} = x ; then
case "${target}" in
mips*-*-irix6*)
;;
# Handle ${copy_dirs}
set fnord ${copy_dirs}
shift
-while [ $# != 0 ]; do
- if [ -f $2/COPIED ] && [ x"`cat $2/COPIED`" = x"$1" ]; then
+while test $# != 0 ; do
+ if test -f $2/COPIED && test x"`cat $2/COPIED`" = x"$1" ; then
:
else
echo Copying $1 to $2
# Use the install script to create the directory and all required
# parent directories.
- if [ -d $2 ]; then
+ if test -d $2 ; then
:
else
echo >config.temp
noconfigdirs=""
case "${host}" in
+ hppa*64*-*-*)
+ noconfigdirs="$noconfigdirs byacc"
+ ;;
i[3456]86-*-vsta)
noconfigdirs="tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl apache inet itcl tix db snavigator gnuserv gettext"
;;
i[3456]86-*-go32* | i[3456]86-*-msdosdjgpp*)
- noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl apache inet itcl tix db snavigator gnuserv gettext libffi"
+ noconfigdirs="tcl tk expect dejagnu send-pr uudecode guile apache inet itcl tix db snavigator gnuserv libffi"
;;
i[3456]86-*-mingw32*)
# noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl apache inet itcl tix db snavigator gnuserv"
;;
esac
-
# Save it here so that, even in case of --enable-libgcj, if the Java
# front-end isn't enabled, we still get libgcj disabled.
libgcj_saved=$libgcj
esac
case "${target}" in
+ *-*-chorusos)
+ noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
+ ;;
+ *-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
+ noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
+ ;;
*-*-netbsd*)
# Skip some stuff on all NetBSD configurations.
skipdirs="$skipdirs target-newlib target-libiberty target-libgloss"
# Skip some stuff that's unsupported on some NetBSD configurations.
case "${target}" in
+ i*86-*-netbsdelf*) ;;
*)
- noconfigdirs="$noconfigdirs ${libgcj}"
+ noconfigdirs="$noconfigdirs ${libgcj}"
;;
esac
;;
*-*-netware)
- noconfigdirs="$noconfigdirs ${libstdcxx_version} target-newlib target-libiberty target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs ${libstdcxx_version} target-librx target-newlib target-libiberty target-libgloss ${libgcj}"
;;
*-*-rtems*)
- noconfigdirs="$noconfigdirs target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
+ case ${target} in
+ h8300*-*-* | h8500-*-*)
+ noconfigdirs="$noconfigdirs target-libf2c"
+ ;;
+ *) ;;
+ esac
;;
*-*-vxworks*)
- noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
;;
alpha*-dec-osf*)
# ld works, but does not support shared libraries. emacs doesn't
noconfigdirs="$noconfigdirs gas ld emacs fileutils target-newlib target-libgloss"
;;
alpha*-*-*vms*)
- noconfigdirs="$noconfigdirs gdb ld target-newlib target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
;;
- alpha*-*-*)
+ alpha*-*-linux*)
# newlib is not 64 bit ready
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+ # linux has rx in libc
+ skipdirs="$skipdirs target-librx"
+ ;;
+ alpha*-*-freebsd*)
+ noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+ ;;
+ alpha*-*-*)
+ # newlib is not 64 bit ready
+ noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
;;
+ sh-*-linux*)
+ noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
+ # linux has rx in libc
+ skipdirs="$skipdirs target-librx"
+ ;;
sh*-*-pe|mips*-*-pe|*arm-wince-pe)
- noconfigdirs="$noconfigdirs target-libjava target-libffi target-zlib"
- noconfigdirs="$noconfigdirs target-boehm-gc target-qthreads target-examples"
+ noconfigdirs="$noconfigdirs ${libgcj}"
+ noconfigdirs="$noconfigdirs target-examples"
noconfigdirs="$noconfigdirs target-libiberty texinfo send-pr"
noconfigdirs="$noconfigdirs tcl tix tk itcl libgui sim"
noconfigdirs="$noconfigdirs expect dejagnu"
esac
;;
arc-*-*)
- noconfigdirs="$noconfigdirs target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
;;
arm-*-pe*)
- noconfigdirs="$noconfigdirs target-libgloss"
+ noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
;;
arm-*-oabi*)
- noconfigdirs="$noconfigdirs target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
;;
thumb-*-coff)
- noconfigdirs="$noconfigdirs target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
;;
thumb-*-elf)
- noconfigdirs="$noconfigdirs target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
;;
thumb-*-oabi)
- noconfigdirs="$noconfigdirs target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
;;
strongarm-*-elf)
- noconfigdirs="$noconfigdirs target-libffi"
- if [ x${is_cross_compiler} != xno ] ; then
- target_configdirs="${target_configdirs} target-bsp target-cygmon"
- fi
+ noconfigdirs="$noconfigdirs ${libgcj}"
;;
strongarm-*-coff)
- noconfigdirs="$noconfigdirs target-libffi"
- if [ x${is_cross_compiler} != xno ] ; then
- target_configdirs="${target_configdirs} target-bsp target-cygmon"
- fi
+ noconfigdirs="$noconfigdirs ${libgcj}"
;;
xscale-*-elf)
- noconfigdirs="$noconfigdirs target-libffi"
- if [ x${is_cross_compiler} != xno ] ; then
- target_configdirs="${target_configdirs} target-bsp target-cygmon"
- fi
+ noconfigdirs="$noconfigdirs target-libffi target-qthreads"
;;
xscale-*-coff)
- noconfigdirs="$noconfigdirs target-libffi"
- if [ x${is_cross_compiler} != xno ] ; then
- target_configdirs="${target_configdirs} target-bsp target-cygmon"
- fi
+ noconfigdirs="$noconfigdirs ${libgcj}"
;;
thumb-*-pe)
- noconfigdirs="$noconfigdirs target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
;;
arm-*-riscix*)
- noconfigdirs="$noconfigdirs ld target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}"
;;
c4x-*-*)
- noconfigdirs="$noconfigdirs ${libstdcxx_version} target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs ${libstdcxx_version} target-librx target-libgloss ${libgcj}"
;;
c54x*-*-* | tic54x-*-*)
- noconfigdirs="$noconfigdirs ${libstdcxx_version} target-libgloss target-libffi gcc gdb newlib"
+ noconfigdirs="$noconfigdirs ${libstdcxx_version} target-libgloss ${libgcj} gcc gdb newlib"
+ ;;
+ cris-*-*)
+ noconfigdirs="$noconfigdirs ${libgcj}"
;;
d10v-*-*)
- noconfigdirs="$noconfigdirs ${libstdcxx_version} target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs target-librx ${libstdcxx_version} target-libgloss ${libgcj}"
;;
d30v-*-*)
+ noconfigdirs="$noconfigdirs ${libgcj}"
;;
fr30-*-elf*)
- if [ x${is_cross_compiler} != xno ] ; then
+ noconfigdirs="$noconfigdirs ${libgcj}"
+ if test x${is_cross_compiler} != xno ; then
target_configdirs="${target_configdirs} target-bsp target-libstub target-cygmon"
fi
;;
noconfigdirs="$noconfigdirs target-libgloss"
;;
h8500-*-*)
- noconfigdirs="$noconfigdirs ${libstdcxx_version} target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs ${libstdcxx_version} target-librx target-libgloss ${libgcj} target-libf2c"
+ ;;
+ hppa*64*-*-linux* | parisc*64*-*-linux*)
+ # In this case, it's because the hppa64-linux target is for
+ # the kernel only at this point and has no libc, and thus no
+ # headers, crt*.o, etc., all of which are needed by these.
+ noconfigdirs="$noconfigdirs target-zlib"
;;
hppa*-*-*elf* | \
- hppa*-*-linux-gnu* | \
+ parisc*-*-linux* | hppa*-*-linux* | \
hppa*-*-lites* | \
hppa*64*-*-*)
+ noconfigdirs="$noconfigdirs ${libgcj}"
# Do configure ld/binutils/gas for this case.
;;
hppa*-*-*)
noconfigdirs="$noconfigdirs tix readline mmalloc libgui itcl gdb ld"
;;
i[3456]86-*-coff | i[3456]86-*-elf)
- if [ x${is_cross_compiler} != xno ] ; then
+ noconfigdirs="$noconfigdirs ${libgcj}"
+ if test x${is_cross_compiler} != xno ; then
target_configdirs="${target_configdirs} target-libstub target-cygmon"
fi
;;
- i[3456]86-*-go32* | i[3456]-*-msdosdjgpp*)
- # but don't build gdb
- noconfigdirs="$noconfigdirs gdb ${libstdcxx_version} target-libffi"
+ i[34567]86-*-freebsd*)
+ noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+ ;;
+ s390*-*-linux*)
+ # The libffi port is not yet in the GCC tree
+ noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
+ # linux has rx in libc
+ skipdirs="$skipdirs target-librx"
+ ;;
+ i[3456]86-*-linux*)
+ # This section makes it possible to build newlib natively on linux.
+ # If we are using a cross compiler then don't configure newlib.
+ if test x${is_cross_compiler} != xno ; then
+ noconfigdirs="$noconfigdirs target-newlib"
+ fi
+ noconfigdirs="$noconfigdirs target-libgloss"
+ # If we are not using a cross compiler, do configure newlib.
+ # Note however, that newlib will only be configured in this situation
+ # if the --with-newlib option has been given, because otherwise
+ # 'target-newlib' will appear in skipdirs.
+ # linux has rx in libc
+ skipdirs="$skipdirs target-librx"
+ ;;
+ *-*-linux*)
+ noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+ # linux has rx in libc
+ skipdirs="$skipdirs target-librx"
;;
i[3456]86-*-mingw32*)
target_configdirs="$target_configdirs target-mingw"
esac
;;
i[3456]86-*-pe)
- noconfigdirs="$noconfigdirs ${libstdcxx_version} target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs ${libstdcxx_version} target-librx target-libgloss ${libgcj}"
;;
i[3456]86-*-sco3.2v5*)
# The linker does not yet know about weak symbols in COFF,
# and is not configured to handle mixed ELF and COFF.
- noconfigdirs="$noconfigdirs ld target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}"
;;
i[3456]86-*-sco*)
- noconfigdirs="$noconfigdirs gprof target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
;;
i[3456]86-*-solaris2*)
noconfigdirs="$noconfigdirs target-libgloss"
*) ;;
esac
# but that's okay since emacs doesn't work anyway
- noconfigdirs="$noconfigdirs emacs emacs19 target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs emacs emacs19 target-libgloss ${libgcj}"
;;
i[3456]86-*-beos*)
noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
;;
- m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
- noconfigdirs="$noconfigdirs target-libiberty target-librx target-libg++ target-libstdc++ target-libio target-libf2c target-libchill target-zlib target-libobjc"
+ m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
+ noconfigdirs="$noconfigdirs target-libiberty ${libstdcxx_version} ${libgcj}"
;;
- m68k-*-elf*)
- if [ x${is_cross_compiler} != xno ] ; then
+ m68k-*-elf*)
+ noconfigdirs="$noconfigdirs ${libgcj}"
+ if test x${is_cross_compiler} != xno ; then
target_configdirs="${target_configdirs} target-bsp target-cygmon"
fi
;;
m68k-*-coff*)
- if [ x${is_cross_compiler} != xno ] ; then
+ noconfigdirs="$noconfigdirs ${libgcj}"
+ if test x${is_cross_compiler} != xno ; then
target_configdirs="${target_configdirs} target-bsp target-cygmon"
fi
;;
+ mcore-*-pe*)
+ # The EPOC C++ environment does not support exceptions or rtti,
+ # and so building libstdc++-v3 tends not to always work.
+ noconfigdirs="$noconfigdirs target-libstdc++-v3"
+ ;;
+ mmix-*-*)
+ noconfigdirs="$noconfigdirs ${libgcj}"
+ ;;
mn10200-*-*)
- noconfigdirs="$noconfigdirs target-libffi"
- if [ x${is_cross_compiler} != xno ] ; then
+ noconfigdirs="$noconfigdirs ${libgcj}"
+ if test x${is_cross_compiler} != xno ; then
target_configdirs="${target_configdirs} target-libstub target-cygmon"
fi
;;
mn10300-*-*)
- noconfigdirs="$noconfigdirs target-libffi"
- if [ x${is_cross_compiler} != xno ] ; then
+ noconfigdirs="$noconfigdirs ${libgcj}"
+ if test x${is_cross_compiler} != xno ; then
target_configdirs="${target_configdirs} target-bsp target-libstub target-cygmon"
fi
;;
powerpc-*-aix*)
# copied from rs6000-*-* entry
+ noconfigdirs="$noconfigdirs gprof cvssrc target-libgloss ${libgcj}"
use_gnu_ld=yes
;;
powerpc*-*-winnt* | powerpc*-*-pe* | ppc*-*-pe)
target_configdirs="$target_configdirs target-winsup"
- noconfigdirs="$noconfigdirs gdb tcl tk make expect target-libgloss itcl tix db snavigator gnuserv target-libffi"
+ noconfigdirs="$noconfigdirs gdb tcl tk make expect target-libgloss itcl tix db snavigator gnuserv ${libgcj}"
# always build newlib.
skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
;;
# This is temporary until we can link against shared libraries
powerpcle-*-solaris*)
- noconfigdirs="$noconfigdirs gdb sim make tcl tk expect itcl tix db snavigator gnuserv target-libffi"
+ noconfigdirs="$noconfigdirs gdb sim make tcl tk expect itcl tix db snavigator gnuserv ${libgcj}"
;;
powerpc-*-beos*)
- noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
+ noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
;;
powerpc-*-eabi)
- if [ x${is_cross_compiler} != xno ] ; then
+ noconfigdirs="$noconfigdirs ${libgcj}"
+ if test x${is_cross_compiler} != xno ; then
target_configdirs="${target_configdirs} target-bsp target-libstub target-cygmon"
fi
;;
rs6000-*-lynxos*)
# The CVS server code doesn't work on the RS/6000
- noconfigdirs="$noconfigdirs target-newlib gprof cvssrc target-libffi"
+ noconfigdirs="$noconfigdirs target-newlib gprof cvssrc ${libgcj}"
;;
rs6000-*-aix*)
- noconfigdirs="$noconfigdirs gprof target-libffi"
+ noconfigdirs="$noconfigdirs gprof ${libgcj}"
use_gnu_ld=yes
;;
rs6000-*-*)
- noconfigdirs="$noconfigdirs gprof target-libffi"
+ noconfigdirs="$noconfigdirs gprof ${libgcj}"
;;
m68k-apollo-*)
- noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
;;
mips*-*-irix5*)
# The GNU linker does not support shared libraries.
# emacs is emacs 18, which does not work on Irix 5 (emacs19 does work)
- noconfigdirs="$noconfigdirs ld gprof emacs target-libgloss"
+ noconfigdirs="$noconfigdirs ld gprof emacs target-libgloss ${libgcj}"
;;
mips*-*-irix6*)
# The GNU assembler does not support IRIX 6.
noconfigdirs="$noconfigdirs gas gprof emacs target-libgloss ${libgcj}"
;;
mips*-dec-bsd*)
- noconfigdirs="$noconfigdirs gprof target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
;;
mips*-*-bsd*)
- noconfigdirs="$noconfigdirs gprof target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
;;
mipstx39-*-*)
- noconfigdirs="$noconfigdirs gprof target-libffi" # same as generic mips
+ noconfigdirs="$noconfigdirs gprof ${libgcj}" # same as generic mips
target_configdirs="${target_configdirs} target-bsp target-libstub target-cygmon"
;;
+ mips*-*-linux*)
+ noconfigdirs="$noconfigdirs target-libffi"
+ ;;
mips*-*-*)
- noconfigdirs="$noconfigdirs gprof target-libffi"
+ noconfigdirs="$noconfigdirs gprof ${libgcj}"
;;
romp-*-*)
- noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
;;
sh-*-*)
case "${host}" in
i[3456]86-*-msdosdjgpp*) ;; # don't add gprof back in
*) skipdirs=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
esac
- noconfigdirs="$noconfigdirs target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
;;
sh64-*-*)
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
;;
sparc-*-elf*)
- if [ x${is_cross_compiler} != xno ] ; then
+ if test x${is_cross_compiler} != xno ; then
target_configdirs="${target_configdirs} target-libstub target-cygmon"
fi
+ noconfigdirs="$noconfigdirs ${libgcj}"
;;
sparc64-*-elf*)
- if [ x${is_cross_compiler} != xno ] ; then
+ if test x${is_cross_compiler} != xno ; then
target_configdirs="${target_configdirs} target-libstub target-cygmon"
fi
- noconfigdirs="$noconfigdirs target-libffi"
+ noconfigdirs="$noconfigdirs ${libgcj}"
;;
sparclite-*-*)
- if [ x${is_cross_compiler} != xno ] ; then
+ if test x${is_cross_compiler} != xno ; then
target_configdirs="${target_configdirs} target-bsp target-libstub target-cygmon"
fi
- noconfigdirs="$noconfigdirs target-libffi"
+ noconfigdirs="$noconfigdirs ${libgcj}"
;;
sparc-*-sunos4*)
- if [ x${is_cross_compiler} != xno ] ; then
+ noconfigdirs="$noconfigdirs ${libgcj}"
+ if test x${is_cross_compiler} != xno ; then
noconfigdirs="$noconfigdirs gdb gdbtest target-newlib target-libgloss"
else
use_gnu_ld=no
fi
;;
- sparc-*-solaris*)
- case "${host}" in
- sparc-*-solaris2.8)
- # According to Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>, libjava
- # won't build correctly on Solaris 8 if there's a
- # previously-installed version of GCC in the configured prefix.
- # This problem does not show up on earlier versions of Solaris.
- noconfigdirs="$noconfigdirs ${libgcj}"
- ;;
- esac
+ sparc-*-solaris* | sparc64-*-solaris* | sparcv9-*-solaris*)
;;
v810-*-*)
- noconfigdirs="$noconfigdirs bfd binutils gas gcc gdb ld ${libstdcxx_version} opcodes target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs bfd binutils gas gcc gdb ld ${libstdcxx_version} opcodes target-libgloss ${libgcj}"
;;
v850-*-*)
- noconfigdirs="$noconfigdirs target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
;;
v850e-*-*)
- noconfigdirs="$noconfigdirs target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
;;
v850ea-*-*)
- noconfigdirs="$noconfigdirs target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
;;
vax-*-vms)
- noconfigdirs="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
;;
vax-*-*)
- noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
;;
*-*-lynxos*)
- noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libffi"
+ noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
;;
*-*-macos* | \
*-*-mpw*)
# Macs want a resource compiler.
configdirs="$configdirs grez"
- noconfigdirs="$noconfigdirs target-libffi"
+ noconfigdirs="$noconfigdirs ${libgcj}"
;;
+ *-*-*)
+ noconfigdirs="$noconfigdirs ${libgcj}"
+ ;;
esac
# If we aren't building newlib, then don't build libgloss, since libgloss
esac
# Make sure we don't let GNU ld be added if we didn't want it.
-if [ x$with_gnu_ld = xno ]; then
+if test x$with_gnu_ld = xno ; then
use_gnu_ld=no
noconfigdirs="$noconfigdirs ld"
fi
# Make sure we don't let GNU as be added if we didn't want it.
-if [ x$with_gnu_as = xno ]; then
+if test x$with_gnu_as = xno ; then
use_gnu_as=no
noconfigdirs="$noconfigdirs gas"
fi
fi
enable_languages=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
+# First scan to see if an enabled language requires some other language.
+# We assume that a given config-lang.in will list all the language
+# front ends it requires, even if some are required indirectly.
+for lang in ${srcdir}/gcc/*/config-lang.in ..
+do
+ case $lang in
+ ..)
+ ;;
+ # The odd quoting in the next line works around
+ # an apparent bug in bash 1.12 on linux.
+ ${srcdir}/gcc/[*]/config-lang.in)
+ ;;
+ *)
+ lang_alias=`sed -n -e 's,^language=['"'"'"'"]\(.*\)["'"'"'"'].*$,\1,p' -e 's,^language=\([^ ]*\).*$,\1,p' $lang`
+ this_lang_requires=`sed -n -e 's,^lang_requires=['"'"'"'"]\(.*\)["'"'"'"'].*$,\1,p' -e 's,^lang_requires=\([^ ]*\).*$,\1,p' $lang`
+ for other in $this_lang_requires
+ do
+ case ,${enable_languages}, in
+ *,$other,*)
+ ;;
+ *,all,*)
+ ;;
+ *,$lang_alias,*)
+ echo " \`$other' language required by \`$lang_alias'; enabling" 1>&2
+ enable_languages="$enable_languages,$other"
+ ;;
+ esac
+ done
+ ;;
+ esac
+done
+
subdirs=
for lang in ${srcdir}/gcc/*/config-lang.in ..
do
*)
lang_alias=`sed -n -e 's,^language=['"'"'"'"]\(.*\)["'"'"'"'].*$,\1,p' -e 's,^language=\([^ ]*\).*$,\1,p' $lang`
this_lang_libs=`sed -n -e 's,^target_libs=['"'"'"'"]\(.*\)["'"'"'"'].*$,\1,p' -e 's,^target_libs=\([^ ]*\).*$,\1,p' $lang`
+ this_lang_dirs=`sed -n -e 's,^lang_dirs=['"'"'"'"]\(.*\)["'"'"'"'].*$,\1,p' -e 's,^lang_dirs=\([^ ]*\).*$,\1,p' $lang`
build_by_default=`sed -n -e 's,^build_by_default=['"'"'"'"]\(.*\)["'"'"'"'].*$,\1,p' -e 's,^build_by_default=\([^ ]*\).*$,\1,p' $lang`
if test "x$lang_alias" = x
then
if test x"${add_this_lang}" = xyes; then
eval target_libs='"$target_libs "'\"$this_lang_libs\"
else
- eval noconfigdirs='"$noconfigdirs "'\"$this_lang_libs\"
+ eval noconfigdirs='"$noconfigdirs "'\"$this_lang_libs $this_lang_dirs\"
fi
;;
esac
done
-
# Remove the entries in $skipdirs and $noconfigdirs from $configdirs and
# $target_configdirs.
# If we have the source for $noconfigdirs entries, add them to $notsupp.
notsupp=""
for dir in . $skipdirs $noconfigdirs ; do
dirname=`echo $dir | sed -e s/target-//g`
- if [ $dir != . ] && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
+ if test $dir != . && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
- if [ -r $srcdir/$dirname/configure ] \
- || [ -r $srcdir/$dirname/configure.in ]; then
+ if test -r $srcdir/$dirname/configure \
+ || test -r $srcdir/$dirname/configure.in ; then
if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
true
else
fi
fi
fi
- if [ $dir != . ] && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
+ if test $dir != . && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
- if [ -r $srcdir/$dirname/configure ] \
- || [ -r $srcdir/$dirname/configure.in ]; then
+ if test -r $srcdir/$dirname/configure \
+ || test -r $srcdir/$dirname/configure.in ; then
if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
true
else
# Sometimes the tools are distributed with libiberty but with no other
# libraries. In that case, we don't want to build target-libiberty.
-if [ -n "${target_configdirs}" ]; then
+if test -n "${target_configdirs}" ; then
others=
for i in `echo ${target_configdirs} | sed -e s/target-//g` ; do
- if [ "$i" != "libiberty" ]; then
- if [ -r $srcdir/$i/configure ] || [ -r $srcdir/$i/configure.in ]; then
+ if test "$i" != "libiberty" ; then
+ if test -r $srcdir/$i/configure || test -r $srcdir/$i/configure.in ; then
others=yes;
break;
fi
fi
done
- if [ -z "${others}" ]; then
+ if test -z "${others}" ; then
target_configdirs=
fi
fi
# Deconfigure all subdirectories, in case we are changing the
# configuration from one where a subdirectory is supported to one where it
# is not.
-if [ -z "${norecursion}" ] && [ -n "${configdirs}" ]; then
+if test -z "${norecursion}" && test -n "${configdirs}" ; then
for i in `echo ${configdirs} | sed -e s/target-//g` ; do
rm -f $i/Makefile
done
fi
-if [ -z "${norecursion}" ] && [ -n "${target_configdirs}" ]; then
+if test -z "${norecursion}" && test -n "${target_configdirs}" ; then
for i in `echo ${target_configdirs} | sed -e s/target-//g` ; do
rm -f ${target_subdir}/$i/Makefile
done
fi
+# Quietly strip out all directories which aren't configurable in this tree.
+# This relies on all configurable subdirectories being autoconfiscated, which
+# is now the case.
+configdirs_all="$configdirs"
+configdirs=
+for i in ${configdirs_all} ; do
+ if test -f ${srcdir}/$i/configure ; then
+ configdirs="${configdirs} $i"
+ fi
+done
+target_configdirs_all="$target_configdirs"
+target_configdirs=
+for i in ${target_configdirs_all} ; do
+ j=`echo $i | sed -e s/target-//g`
+ if test -f ${srcdir}/$j/configure ; then
+ target_configdirs="${target_configdirs} $i"
+ fi
+done
+
# Produce a warning message for the subdirs we can't configure.
# This isn't especially interesting in the Cygnus tree, but in the individual
# FSF releases, it's important to let people know when their machine isn't
# supported by the one or two programs in a package.
-if [ -n "${notsupp}" ] && [ -z "${norecursion}" ]; then
+if test -n "${notsupp}" && test -z "${norecursion}" ; then
# If $appdirs is non-empty, at least one of those directories must still
# be configured, or we error out. (E.g., if the gas release supports a
# specified target in some subdirs but not the gas subdir, we shouldn't
# pretend that all is well.)
- if [ -n "$appdirs" ]; then
+ if test -n "$appdirs" ; then
for dir in $appdirs ; do
- if [ -r $dir/Makefile.in ]; then
+ if test -r $dir/Makefile.in ; then
if echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
appdirs=""
break
fi
fi
done
- if [ -n "$appdirs" ]; then
+ if test -n "$appdirs" ; then
echo "*** This configuration is not supported by this package." 1>&2
exit 1
fi
# want to do that, then you should use the --without-gnu-as and
# --without-gnu-ld options for the configure script.
-if [ x${use_gnu_as} = x ] ; then
- if [ x${with_gnu_as} != xno ] && echo " ${configdirs} " | grep " ${gasdir} " > /dev/null 2>&1 && [ -d ${srcdir}/${gasdir} ] ; then
+if test x${use_gnu_as} = x ; then
+ if test x${with_gnu_as} != xno && echo " ${configdirs} " | grep " ${gasdir} " > /dev/null 2>&1 && test -d ${srcdir}/${gasdir} ; then
with_gnu_as=yes
withoptions="$withoptions --with-gnu-as"
fi
fi
-if [ x${use_gnu_ld} = x ] ; then
- if [ x${with_gnu_ld} != xno ] && echo " ${configdirs} " | grep " ld " > /dev/null 2>&1 && [ -d ${srcdir}/ld ] ; then
+if test x${use_gnu_ld} = x ; then
+ if test x${with_gnu_ld} != xno && echo " ${configdirs} " | grep " ld " > /dev/null 2>&1 && test -d ${srcdir}/ld ; then
with_gnu_ld=yes
withoptions="$withoptions --with-gnu-ld"
fi
# If using newlib, add --with-newlib to the withoptions so that gcc/configure
# can detect this case.
-if [ x${with_newlib} != xno ] && echo " ${target_configdirs} " | grep " target-newlib " > /dev/null 2>&1 && [ -d ${srcdir}/newlib ] ; then
+if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " target-newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib ; then
with_newlib=yes
withoptions="$withoptions --with-newlib"
fi
-if [ x${shared} = xyes ]; then
- case "${target}" in
- hppa*)
- target_makefile_frag="${target_makefile_frag} config/mt-papic"
- ;;
- i[3456]86-*)
- target_makefile_frag="${target_makefile_frag} config/mt-x86pic"
- ;;
- ia64-*)
- target_makefile_frag="${target_makefile_frag} config/mt-ia64pic"
- ;;
- powerpc*-*-aix*)
- # We don't want -fPIC on AIX.
- ;;
- powerpc*-*)
- target_makefile_frag="${target_makefile_frag} config/mt-ppcpic"
- ;;
- alpha*-*-linux*)
- target_makefile_frag="${target_makefile_frag} config/mt-elfalphapic"
- ;;
- *)
- if test -f ${srcdir}/config/mt-${target_cpu}pic; then
- target_makefile_frag="${target_makefile_frag} config/mt-${target_cpu}pic"
- fi
- ;;
- esac
-fi
-
rm -f mt-frag
-if [ -n "${target_makefile_frag}" ] ; then
+if test -n "${target_makefile_frag}" ; then
for f in ${target_makefile_frag}
do
cat ${srcdir}/$f >> mt-frag
# can't, we are probably in trouble. We don't care whether we can run the
# executable--we might be using a cross compiler--we only care whether it
# can be created. At this point the main configure script has set CC.
+we_are_ok=no
echo "int main () { return 0; }" > conftest.c
${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
-if [ $? = 0 ] && [ -s conftest -o -s conftest.exe ]; then
- :
-else
- echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
- echo 1>&2 "*** You must set the environment variable CC to a working compiler."
- rm -f conftest*
- exit 1
-fi
+if test $? = 0 ; then
+ if test -s conftest || test -s conftest.exe ; then
+ we_are_ok=yes
+ fi
+fi
+case $we_are_ok in
+ no)
+ echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
+ echo 1>&2 "*** You must set the environment variable CC to a working compiler."
+ rm -f conftest*
+ exit 1
+ ;;
+esac
rm -f conftest*
# The Solaris /usr/ucb/cc compiler does not appear to work.
case "${host}" in
sparc-sun-solaris2*)
CCBASE="`echo ${CC-cc} | sed 's/ .*$//'`"
- if [ "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ] ; then
+ if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
could_use=
- [ -d /opt/SUNWspro/bin ] && could_use="/opt/SUNWspro/bin"
- if [ -d /opt/cygnus/bin ] ; then
- if [ "$could_use" = "" ] ; then
+ test -d /opt/SUNWspro/bin && could_use="/opt/SUNWspro/bin"
+ if test -d /opt/cygnus/bin ; then
+ if test "$could_use" = "" ; then
could_use="/opt/cygnus/bin"
else
could_use="$could_use or /opt/cygnus/bin"
fi
fi
- if [ "$could_use" = "" ] ; then
+ if test "$could_use" = "" ; then
echo "Warning: compilation may fail because you're using"
echo "/usr/ucb/cc. You should change your PATH or CC "
echo "variable and rerun configure."
# If --enable-shared was set, we must set LD_LIBRARY_PATH so that the
# binutils tools will find libbfd.so.
-if [ "${shared}" = "yes" ]; then
+if test "${shared}" = "yes" ; then
sed -e 's/^SET_LIB_PATH[ ]*=.*$/SET_LIB_PATH = $(REALLY_SET_LIB_PATH)/' \
Makefile > Makefile.tem
rm -f Makefile
# native. However, it would be better to use other mechanisms to make the
# sorts of decisions they want to make on this basis. Please consider
# this option to be deprecated. FIXME.
-if [ x${is_cross_compiler} = xyes ]; then
+if test x${is_cross_compiler} = xyes ; then
targargs="--with-cross-host=${host_alias} ${targargs}"
fi
# Default to --enable-multilib.
-if [ x${enable_multilib} = x ]; then
+if test x${enable_multilib} = x ; then
targargs="--enable-multilib ${targargs}"
fi
# Pass --with-newlib if appropriate. Note that target_configdirs has
# changed from the earlier setting of with_newlib.
-if [ x${with_newlib} != xno ] && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && [ -d ${srcdir}/newlib ] ; then
+if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib ; then
targargs="--with-newlib ${targargs}"
fi
# provide a proper gxx_include_dir.
# Note, if you change the default, make sure to fix both here and in
-# the gcc, libio, and libstdc++ subdirectories.
+# the gcc and libstdc++-v3 subdirectories.
# Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
gxx_include_dir=
if test -n "${with_gxx_include_dir}"; then
gxx_include_dir='${libsubdir}/include/g++'
else
. ${topsrcdir}/config.if
- gxx_include_dir='${prefix}/include/g++'-${libstdcxx_interface}
+ gxx_include_dir='${prefix}/include/${libstdcxx_incdir}'
fi
else
gxx_include_dir=${gxx_include_dir}
case " $skipdirs " in
*" target-newlib "*) ;;
*)
+ case " $target_configdirs " in
+ *" newlib "*)
+ case " $targargs " in
+ *" --with-newlib "*)
case "$target" in
*-cygwin*)
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/include -isystem $$s/winsup/cygwin/include -isystem $$s/winsup/w32api/include -isystem $$s/newlib/libc/sys/cygwin -isystem $$s/newlib/libc/sys/cygwin32' ;;
fi
case "${target}-${is_cross_compiler}" in
- i[3456]86-pc-linux*-no)
+ i[3456]86-*-linux*-no)
# Here host == target, so we don't need to build gcc,
# so we don't want to discard standard headers.
FLAGS_FOR_TARGET=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
- FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/'
;;
*)
# If we're building newlib, use its generic headers last, but search
;;
esac
;;
+ esac
+ ;;
+ esac
+ ;;
esac
# On Canadian crosses, we'll be searching the right directories for
*) CC_FOR_TARGET=$CC_FOR_TARGET' $(FLAGS_FOR_TARGET)' ;;
esac
-if test "x${CHILL_FOR_TARGET+set}" = xset; then
+if test "x${GCJ_FOR_TARGET+set}" = xset; then
:
elif test -d ${topsrcdir}/gcc; then
- CHILL_FOR_TARGET='$$r/gcc/xgcc -B$$r/gcc/ -L$$r/gcc/ch/runtime/'
+ GCJ_FOR_TARGET='$$r/gcc/gcj -B$$r/gcc/'
elif test "$host" = "$target"; then
- CHILL_FOR_TARGET='$(CC)'
+ GCJ_FOR_TARGET='gcj'
else
- CHILL_FOR_TARGET=`echo gcc | sed -e 's/x/x/' ${program_transform_name}`
+ GCJ_FOR_TARGET=`echo gcj | sed -e 's/x/x/' ${program_transform_name}`
fi
-case $CHILL_FOR_TARGET in
+case $GCJ_FOR_TARGET in
*' $(FLAGS_FOR_TARGET)') ;;
-*) CHILL_FOR_TARGET=$CHILL_FOR_TARGET' $(FLAGS_FOR_TARGET)' ;;
+*) GCJ_FOR_TARGET=$GCJ_FOR_TARGET' $(FLAGS_FOR_TARGET)' ;;
esac
if test "x${CXX_FOR_TARGET+set}" = xset; then
# macros.
qqCXX_FOR_TARGET=`echo "$qCXX_FOR_TARGET" | sed -e 's,[$][$],$$$$,g'`
-sed -e "s:^TARGET_CONFIGDIRS[ ]*=.*$:TARGET_CONFIGDIRS = ${target_configdirs}:" \
- -e "s%^TARGET_CONFIGARGS[ ]*=.*$%TARGET_CONFIGARGS = ${targargs}%" \
- -e "s%^FLAGS_FOR_TARGET[ ]*=.*$%FLAGS_FOR_TARGET = ${FLAGS_FOR_TARGET}%" \
- -e "s%^CC_FOR_TARGET[ ]*=.*$%CC_FOR_TARGET = ${CC_FOR_TARGET}%" \
- -e "s%^CHILL_FOR_TARGET[ ]*=.*$%CHILL_FOR_TARGET = ${CHILL_FOR_TARGET}%" \
- -e "s%^CXX_FOR_TARGET[ ]*=.*$%CXX_FOR_TARGET = ${qCXX_FOR_TARGET}%" \
- -e "s%^CXX_FOR_TARGET_FOR_RECURSIVE_MAKE[ ]*=.*$%CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = ${qqCXX_FOR_TARGET}%" \
- -e "s%^TARGET_SUBDIR[ ]*=.*$%TARGET_SUBDIR = ${target_subdir}%" \
- -e "s%^BUILD_SUBDIR[ ]*=.*$%BUILD_SUBDIR = ${build_subdir}%" \
- -e "s%^BUILD_CONFIGARGS[ ]*=.*$%BUILD_CONFIGARGS = ${buildargs}%" \
- -e "s%^gxx_include_dir[ ]*=.*$%gxx_include_dir=${gxx_include_dir}%" \
- Makefile > Makefile.tem
-rm -f Makefile
+sedtemp=sed.$$
+cat >$sedtemp <<EOF
+s:^TARGET_CONFIGDIRS[ ]*=.*$:TARGET_CONFIGDIRS = ${target_configdirs}:
+s%^TARGET_CONFIGARGS[ ]*=.*$%TARGET_CONFIGARGS = ${targargs}%
+s%^FLAGS_FOR_TARGET[ ]*=.*$%FLAGS_FOR_TARGET = ${FLAGS_FOR_TARGET}%
+s%^CC_FOR_TARGET[ ]*=.*$%CC_FOR_TARGET = ${CC_FOR_TARGET}%
+s%^GCJ_FOR_TARGET[ ]*=.*$%GCJ_FOR_TARGET = ${GCJ_FOR_TARGET}%
+s%^CXX_FOR_TARGET[ ]*=.*$%CXX_FOR_TARGET = ${qCXX_FOR_TARGET}%
+s%^CXX_FOR_TARGET_FOR_RECURSIVE_MAKE[ ]*=.*$%CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = ${qqCXX_FOR_TARGET}%
+s%^TARGET_SUBDIR[ ]*=.*$%TARGET_SUBDIR = ${target_subdir}%
+s%^BUILD_SUBDIR[ ]*=.*$%BUILD_SUBDIR = ${build_subdir}%
+s%^BUILD_CONFIGARGS[ ]*=.*$%BUILD_CONFIGARGS = ${buildargs}%
+s%^gxx_include_dir[ ]*=.*$%gxx_include_dir=${gxx_include_dir}%
+EOF
+sed -f $sedtemp Makefile > Makefile.tem
+rm -f Makefile $sedtemp
mv -f Makefile.tem Makefile
#
+2002-04-16 David S. Miller <davem@redhat.com>
+
+ * xregex2.h (__restrict_arr): Define to __restrict on GCC
+ 3.1 and later. Do not redefine.
+
+2002-04-01 Phil Edwards <pme@gcc.gnu.org>
+
+ * dyn-string.h: Also allow IN_GLIBCPP_V3 to redefine names.
+
+2002-03-10 Daniel Jacobowitz <drow@mvista.com>
+
+ * gdb: New directory.
+
+2002-03-06 Andrew Cagney <ac131313@redhat.com>
+
+ * floatformat.h (floatformat_arm_ext): Delete declaration.
+
2002-02-21 Jim Blandy <jimb@redhat.com>
Allow the user to specify functions for allocating memory for
+2002-03-18 Tom Rix <trix@redhat.com>
+
+ * rs6k64.h: Add U64_TOCMAGIC, AIX 5 64 bit magic number.
+
2002-02-01 Tom Rix <trix@redhat.com>
* xcoff.h: Conditionally support <aiaff> for pre AIX 4.3.
/* IBM RS/6000 "XCOFF64" file definitions for BFD.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-*/
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/********************** FILE HEADER **********************/
-struct external_filehdr {
- char f_magic[2]; /* magic number */
- char f_nscns[2]; /* number of sections */
- char f_timdat[4]; /* time & date stamp */
- char f_symptr[8];/* file pointer to symtab */
- char f_opthdr[2]; /* sizeof(optional hdr) */
- char f_flags[2]; /* flags */
- char f_nsyms[4]; /* number of symtab entries */
+struct external_filehdr
+{
+ char f_magic[2]; /* magic number */
+ char f_nscns[2]; /* number of sections */
+ char f_timdat[4]; /* time & date stamp */
+ char f_symptr[8]; /* file pointer to symtab */
+ char f_opthdr[2]; /* sizeof(optional hdr) */
+ char f_flags[2]; /* flags */
+ char f_nsyms[4]; /* number of symtab entries */
};
- /* IBM RS/6000 */
-#define U803XTOCMAGIC 0757 /* readonly text segments and TOC, XCOFF64 */
-
-#define BADMAG(x) ((x).f_magic != U803XTOCMAGIC)
+/* IBM RS/6000. */
+#define U803XTOCMAGIC 0757 /* Aix 4.3 64-bit XCOFF */
+#define U64_TOCMAGIC 0767 /* AIX 5+ 64-bit XCOFF */
+#define BADMAG(x) ((x).f_magic != U803XTOCMAGIC && (x).f_magic != U64_TOCMAGIC)
#define FILHDR struct external_filehdr
#define FILHSZ 24
/********************** AOUT "OPTIONAL HEADER" **********************/
-
typedef struct
{
unsigned char magic[2]; /* type of file */
unsigned char vstamp[2]; /* version stamp */
unsigned char o_debugger[4]; /* reserved */
- unsigned char text_start[8]; /* base of text used for this file */
- unsigned char data_start[8]; /* base of data used for this file */
- unsigned char o_toc[8]; /* address of TOC */
+ unsigned char text_start[8]; /* base of text used for this file */
+ unsigned char data_start[8]; /* base of data used for this file */
+ unsigned char o_toc[8]; /* address of TOC */
unsigned char o_snentry[2]; /* section number of entry point */
unsigned char o_sntext[2]; /* section number of .text section */
unsigned char o_sndata[2]; /* section number of .data section */
unsigned char dsize[8]; /* initialized data " " */
unsigned char bsize[8]; /* uninitialized data " " */
unsigned char entry[8]; /* entry pt. */
- unsigned char o_maxstack[8]; /* max stack size (??) */
- unsigned char o_maxdata[8]; /* max data size (??) */
+ unsigned char o_maxstack[8]; /* max stack size (??) */
+ unsigned char o_maxdata[8]; /* max data size (??) */
unsigned char o_resv3[16]; /* reserved */
}
AOUTHDR;
/********************** SECTION HEADER **********************/
-
-struct external_scnhdr {
- char s_name[8]; /* section name */
- char s_paddr[8]; /* physical address, aliased s_nlib */
- char s_vaddr[8]; /* virtual address */
- char s_size[8]; /* section size */
- char s_scnptr[8]; /* file ptr to raw data for section */
- char s_relptr[8]; /* file ptr to relocation */
- char s_lnnoptr[8]; /* file ptr to line numbers */
- char s_nreloc[4]; /* number of relocation entries */
- char s_nlnno[4]; /* number of line number entries*/
- char s_flags[4]; /* flags */
- char s_pad[4]; /* padding */
+struct external_scnhdr
+{
+ char s_name[8]; /* section name */
+ char s_paddr[8]; /* physical address, aliased s_nlib */
+ char s_vaddr[8]; /* virtual address */
+ char s_size[8]; /* section size */
+ char s_scnptr[8]; /* file ptr to raw data for section */
+ char s_relptr[8]; /* file ptr to relocation */
+ char s_lnnoptr[8]; /* file ptr to line numbers */
+ char s_nreloc[4]; /* number of relocation entries */
+ char s_nlnno[4]; /* number of line number entries*/
+ char s_flags[4]; /* flags */
+ char s_pad[4]; /* padding */
};
-
#define SCNHDR struct external_scnhdr
#define SCNHSZ 72
/********************** LINE NUMBERS **********************/
/* 1 line number entry for every "breakpointable" source line in a section.
- * Line numbers are grouped on a per function basis; first entry in a function
- * grouping will have l_lnno = 0 and in place of physical address will be the
- * symbol table index of the function name.
- */
-struct external_lineno {
- union {
- char l_symndx[4];/* function name symbol index, iff l_lnno == 0*/
- char l_paddr[8]; /* (physical) address of line number */
- } l_addr;
- char l_lnno[4]; /* line number */
-};
+ Line numbers are grouped on a per function basis; first entry in a function
+ grouping will have l_lnno = 0 and in place of physical address will be the
+ symbol table index of the function name. */
+struct external_lineno
+{
+ union
+ {
+ char l_symndx[4]; /* function name symbol index, iff l_lnno == 0*/
+ char l_paddr[8]; /* (physical) address of line number */
+ } l_addr;
+
+ char l_lnno[4]; /* line number */
+};
#define LINENO struct external_lineno
#define LINESZ 12
-
/********************** SYMBOLS **********************/
#define E_SYMNMLEN 8 /* # characters in a symbol name */
char e_numaux[1];
};
-
-
#define N_BTMASK (017)
#define N_TMASK (060)
#define N_BTSHFT (4)
#define N_TSHIFT (2)
-
-
-union external_auxent {
+union external_auxent
+{
struct {
union {
struct {
#define DBXMASK 0x80 /* for dbx storage mask */
#define SYMNAME_IN_DEBUG(symptr) ((symptr)->n_sclass & DBXMASK)
-/* Values for auxtype field in XCOFF64, taken from AIX 4.3 sym.h */
+/* Values for auxtype field in XCOFF64, taken from AIX 4.3 sym.h. */
#define _AUX_EXCEPT 255
#define _AUX_FCN 254
#define _AUX_SYM 253
#define _AUX_FILE 252
#define _AUX_CSECT 251
-
-
/********************** RELOCATION DIRECTIVES **********************/
-
-struct external_reloc {
+struct external_reloc
+{
char r_vaddr[8];
char r_symndx[4];
char r_size[1];
char r_type[1];
};
-
#define RELOC struct external_reloc
#define RELSZ 14
/* An abstract string datatype.
- Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
Contributed by Mark Mitchell (mark@markmitchell.com).
This file is part of GCC.
names in user programs, the functions that are used in the
demangler are given implementation-reserved names. */
-#ifdef IN_LIBGCC2
+#if defined(IN_LIBGCC2) || defined(IN_GLIBCPP_V3)
#define dyn_string_init __cxa_dyn_string_init
#define dyn_string_new __cxa_dyn_string_new
#define dyn_string_substring __cxa_dyn_string_substring
#define dyn_string_eq __cxa_dyn_string_eq
-#endif /* IN_LIBGCC2 */
+#endif /* IN_LIBGCC2 || IN_GLIBCPP_V3 */
extern int dyn_string_init PARAMS ((struct dyn_string *, int));
+2002-04-24 Elena Zannoni <ezannoni@redhat.com>
+
+ * dwarf2.h: Add DW_AT_GNU_vector.
+
2002-02-13 Matt Fredette <fredette@netbsd.org>
* m68k.h (EF_M68000): Define.
DW_AT_src_coords = 0x2104,
DW_AT_body_begin = 0x2105,
DW_AT_body_end = 0x2106,
+ DW_AT_GNU_vector = 0x2107,
/* VMS Extensions. */
DW_AT_VMS_rtnbeg_pd_address = 0x2201
};
extern const struct floatformat floatformat_i960_ext;
extern const struct floatformat floatformat_m88110_ext;
extern const struct floatformat floatformat_m88110_harris_ext;
-extern const struct floatformat floatformat_arm_ext; /* deprecated. */
extern const struct floatformat floatformat_arm_ext_big;
extern const struct floatformat floatformat_arm_ext_littlebyte_bigword;
/* IA-64 Floating Point register spilt into memory. */
+2002-04-11 Alan Modra <amodra@bigpond.net.au>
+
+ * i386.h: Add intel mode cmpsd and movsd.
+ Put them before SSE2 insns, so that rep prefix works.
+
+2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
+
+ * mips.h (INSN_MIPS3D): New definition used to mark MIPS-3D
+ instructions.
+ (OPCODE_IS_MEMBER): Adjust comments to indicate that ASE bit masks
+ may be passed along with the ISA bitmask.
+
+2002-03-05 Paul Koning <pkoning@equallogic.com>
+
+ * pdp11.h: Add format codes for float instruction formats.
+
2002-02-25 Alan Modra <amodra@bigpond.net.au>
* ppc.h (PPC_OPCODE_POWER4, PPC_OPCODE_NOPOWER4): Define.
{"cmpunordpd",2, 0x660fc2, 3, CpuSSE2, FP|Modrm|ImmExt,{ RegXMM|LLongMem, RegXMM, 0 } },
{"cmpunordsd",2, 0xf20fc2, 3, CpuSSE2, FP|Modrm|ImmExt,{ RegXMM|LongMem, RegXMM, 0 } },
{"cmppd", 3, 0x660fc2, X, CpuSSE2, FP|Modrm, { Imm8, RegXMM|LLongMem, RegXMM } },
+/* Intel mode string compare. */
+{"cmpsd", 0, 0xa7, X, 0, NoSuf|Size32|IsString, { 0, 0, 0} },
+{"cmpsd", 2, 0xa7, X, 0, NoSuf|Size32|IsString, { AnyMem, AnyMem|EsSeg, 0} },
{"cmpsd", 3, 0xf20fc2, X, CpuSSE2, FP|Modrm, { Imm8, RegXMM|LongMem, RegXMM } },
{"comisd", 2, 0x660f2f, X, CpuSSE2, FP|Modrm, { RegXMM|LongMem, RegXMM, 0 } },
{"cvtpi2pd", 2, 0x660f2a, X, CpuSSE2, FP|Modrm, { RegMMX|LLongMem, RegXMM, 0 } },
{"movlpd", 2, 0x660f13, X, CpuSSE2, FP|Modrm, { RegXMM, LLongMem, 0 } },
{"movmskpd", 2, 0x660f50, X, CpuSSE2, lq_Suf|IgnoreSize|Modrm, { RegXMM|InvMem, Reg32|Reg64, 0 } },
{"movntpd", 2, 0x660f2b, X, CpuSSE2, FP|Modrm, { RegXMM, LLongMem, 0 } },
+/* Intel mode string move. */
+{"movsd", 0, 0xa5, X, 0, NoSuf|Size32|IsString, { 0, 0, 0} },
+{"movsd", 2, 0xa5, X, 0, NoSuf|Size32|IsString, { AnyMem, AnyMem|EsSeg, 0} },
{"movsd", 2, 0xf20f10, X, CpuSSE2, FP|Modrm, { RegXMM|LongMem, RegXMM, 0 } },
{"movsd", 2, 0xf20f11, X, CpuSSE2, FP|Modrm, { RegXMM, RegXMM|LongMem, 0 } },
{"movupd", 2, 0x660f10, X, CpuSSE2, FP|Modrm, { RegXMM|LLongMem, RegXMM, 0 } },
#define INSN_ISA32 0x00000200
#define INSN_ISA64 0x00000400
+/* Masks used for MIPS-defined ASEs. */
+
+/* MIPS-3D ASE */
+#define INSN_MIPS3D 0x00004000
+
/* Chip specific instructions. These are bitmasks. */
/* MIPS R4650 instruction. */
#define CPU_MIPS64 64
#define CPU_SB1 12310201 /* octal 'SB', 01. */
-/* Test for membership in an ISA including chip specific ISAs.
- INSN is pointer to an element of the opcode table; ISA is the
- specified ISA to test against; and CPU is the CPU specific ISA
- to test, or zero if no CPU specific ISA test is desired. */
+/* Test for membership in an ISA including chip specific ISAs. INSN
+ is pointer to an element of the opcode table; ISA is the specified
+ ISA/ASE bitmask to test against; and CPU is the CPU specific ISA to
+ test, or zero if no CPU specific ISA test is desired. */
#define OPCODE_IS_MEMBER(insn, isa, cpu) \
(((insn)->membership & isa) != 0 \
/* PDP-11 opcde list.
- Copyright 2001 Free Software Foundation, Inc.
+ Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of GDB and GAS.
#define PDP11_OPCODE_REG_OP 3 /* register and generic operand */
#define PDP11_OPCODE_REG_OP_REV 4 /* register and generic operand,
reversed syntax */
-#define PDP11_OPCODE_AC_OP 5 /* fpu accumulator and generic
+#define PDP11_OPCODE_AC_FOP 5 /* fpu accumulator and generic float
operand */
#define PDP11_OPCODE_OP_OP 6 /* two generic operands */
#define PDP11_OPCODE_DISPL 7 /* pc-relative displacement */
#define PDP11_OPCODE_IMM6 10 /* 6-bit immediate */
#define PDP11_OPCODE_IMM3 11 /* 3-bit immediate */
#define PDP11_OPCODE_ILLEGAL 12 /* illegal instruction */
+#define PDP11_OPCODE_FOP_AC 13 /* generic float argument, then fpu
+ accumulator */
+#define PDP11_OPCODE_FOP 14 /* generic float operand */
+#define PDP11_OPCODE_AC_OP 15 /* fpu accumulator and generic int
+ operand */
+#define PDP11_OPCODE_OP_AC 16 /* generic int argument, then fpu
+ accumulator */
/*
* PDP-11 instruction set extensions.
# endif
# endif
#endif
-/* For now unconditionally define __restrict_arr to expand to nothing.
- Ideally we would have a test for the compiler which allows defining
- it to restrict. */
-#define __restrict_arr
+
+/* GCC 3.1 and later support declaring arrays as non-overlapping
+ using the syntax array_name[restrict] */
+#ifndef __restrict_arr
+# if ! (3 < __GNUC__ || (3 == __GNUC__ && 1 <= __GNUC_MINOR__)) || defined (__GNUG__)
+# define __restrict_arr
+# else
+# define __restrict_arr __restrict
+# endif
+#endif
/* POSIX compatibility. */
extern int regcomp _RE_ARGS ((regex_t *__restrict __preg,
execute_dlfiles=
lo2o="s/\\.lo\$/.${objext}/"
o2lo="s/\\.${objext}\$/.lo/"
+taglist=
# Parse our command line options once, thoroughly.
while test $# -gt 0
CC)
# Don't test for the "default" C tag, as we know, it's there, but
# not specially marked.
+ taglist="$taglist $tagname"
;;
*)
if grep "^### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$0" > /dev/null; then
fi
done
# Quote the link command for shipping.
- relink_command="cd `pwd`; $SHELL $0 --mode=relink $libtool_args"
+ tagopts=
+ for tag in $taglist; do
+ tagopts="$tagopts --tag $tag"
+ done
+ relink_command="(cd `pwd`; $SHELL $0$tagopts --mode=relink $libtool_args)"
relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
# Only create the output if not a dry run.
if $run eval "$relink_command"; then :
else
$echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
- continue
+ exit 1
fi
fi