aboutsummaryrefslogtreecommitdiff
path: root/configure
AgeCommit message (Collapse)AuthorFilesLines
2010-05-07configure.ac (--enable-lto): Add x86_64-apple-darwin* as a platform that ↵Steven Bosscher1-0/+1
supports LTO. ChangeLog: * configure.ac (--enable-lto): Add x86_64-apple-darwin* as a platform that supports LTO. * configure: Regenerate. gcc/ChangeLog: * config.gcc (i[34567]86-*-darwin*, x86_64-*-darwin*): Add lto-macho as lto_binary_reader. * target.h (struct gcc_target): New hooks lto_start and lto_end. * target-def.h (TARGET_ASM_LTO_START, TARGET_ASM_LTO_END): Define. * cgraphunit.c (ipa_passes): Wrap LTO assembler output generation in lto_start and lto_end calls. (is_elf_or_coff): Rename to maybe_lto_object_file. Add Mach-O magic numbers. (scan_prog_file): Update is_elf_or_coff call. * doc/tm.text (TARGET_ASM_LTO_START, TARGET_ASM_LTO_END): Document. * collect2.c (main): Fix enum comparison. * config/darwin-protos.h (darwin_asm_lto_start, darwin_asm_lto_end): Add prototypes. * darwin9.h (LINK_COMMAND_SPEC): Pass -flto and -fwhopr to the linker. * darwin.h (LINK_COMMAND_SPEC): Likewise. Define TARGET_ASM_LTO_START and TARGET_ASM_LTO_END. * darwin.c: Include obstack.h and lto-streamer.h. (lto_section_names_offset, lto_section_names_obstack, lto_asm_out_file, lto_asm_out_name, saved_asm_out_file): New static global variables. (LTO_SEGMENT_NAME, LTO_NAMES_SECTION): New defines. (darwin_asm_lto_start): New function. Redirect output to asm_out_file to a temporary file. (darwin_asm_lto_end): New function. Restore asm_out_file. (darwin_asm_named_section): For LTO sections, replace the name with the offset of the section name in a string table, and build this table. (darwin_file_start): Initialize global vars for LTO support. (darwin_file_end): If output to asm_out_file was redirected, append it to the proper asm_out_file here. Add the section names section. lto/ChangeLog: * lto.h (struct lto_file_struct): Document offset member. * lto-endian.h: New file. * lto-macho.h: New file. * lto-macho.c: New file. * Make-lang.in: Add rule for lto-macho.o. From-SVN: r159173
2010-05-06Allow all the versions greater than 0.10 of PPL.Sebastian Pop1-5/+3
2010-05-05 Sebastian Pop <sebastian.pop@amd.com> * configure.ac: Allow all the versions greater than 0.10 of PPL. * configure: Regenerated. From-SVN: r159134
2010-04-27configure.ac (--enable-gold): Support both, both/gold and both/bfd to add ↵Roland McGrath1-23/+43
gold to configdirs without removing ld. * configure.ac (--enable-gold): Support both, both/gold and both/bfd to add gold to configdirs without removing ld. * configure: Regenerated. * Makefile.def: Add install-gold dependency to install-ld. * Makefile.in: Regenerated. Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com> From-SVN: r158786
2010-04-27Missing file from last commit!Dave Korn1-90/+99
ChangeLog: 2010-04-27 Dave Korn <dave.korn.cygwin@gmail.com> PR lto/42776 * configure.ac (--enable-lto): Refactor handling so libelf tests are only performed inside then-clause of ACX_ELF_TARGET_IFELSE, and allow LTO to be explicitly enabled on non-ELF platforms that are known to support it inside else-clause. * configure: Regenerate. From-SVN: r158763
2010-04-20configure.ac (BUILD_CONFIG): Redirect output to /dev/null.Eric Botcazou1-1/+1
* configure.ac (BUILD_CONFIG): Redirect output to /dev/null. * configure: Regenerate. From-SVN: r158550
2010-04-17configure.ac (*-*-rtems*): Add target-libiberty to $skipdirs.Ralf Corsepius1-0/+1
2010-04-17 Ralf Corsépius <ralf.corsepius@rtems.org> * configure.ac (*-*-rtems*): Add target-libiberty to $skipdirs. * configure: Regenerate. From-SVN: r158459
2010-04-16configure.ac: Check for elf_getshdrstrndx or elf_getshstrndx separately.Rainer Orth1-1/+55
toplevel: * configure.ac: Check for elf_getshdrstrndx or elf_getshstrndx separately. * configure: Regenerate. gcc: * configure.ac: Check for elf_getshdrstrndx or elf_getshstrndx flavor. * configure: Regenerate. * config.in: Regenerate. * doc/install.texi (Prerequisites): Document that Solaris 2 libelf works. gcc/lto: * lto-elf.c [!HAVE_ELF_GETSHDRSTRNDX] (elf_getshdrstrndx): New function. From-SVN: r158423
2010-04-14Synchronize with src/.Tristan Gingold1-1/+1
2010-04-14 Tristan Gingold <gingold@adacore.com> * configure.ac (alpha*-*-*vms*): Remove ld from noconfigdirs. * configure: Regenerate. From-SVN: r158341
2010-04-13configure: Regenerate after change to elf.m4.Steve Ellcey1-1/+1
2010-04-13 Steve Ellcey <sje@cup.hp.com> * configure: Regenerate after change to elf.m4. In config subdir: 2010-04-13 Steve Ellcey <sje@cup.hp.com> * elf.m4: Add hppa[12]*-*-hpux* to list of non-elf platforms. From-SVN: r158285
2010-04-02Add brackets around AC_TRY_COMPILE alternative.Sebastian Pop1-3/+3
2010-04-02 Sebastian Pop <sebastian.pop@amd.com> * configure.ac: Add brackets around AC_TRY_COMPILE alternative. * configure: Regenerated. From-SVN: r157946
2010-04-02Print "buggy but acceptable" when CLooG revision is less than 9.Sebastian Pop1-0/+21
2010-04-02 Sebastian Pop <sebastian.pop@amd.com> * configure.ac: Print "buggy but acceptable" when CLooG revision is less than 9. * configure: Regenerated. From-SVN: r157945
2010-04-01re PR bootstrap/43615 (bootstrap fails: /usr/include/gnu/stubs.h:7:27: fatal ↵Ralf Wildenhues1-8/+3
error: gnu/stubs-32.h: No such file or directory) /: PR bootstrap/43615 PR bootstrap/43328 Revert: 2010-03-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * configure.ac: Do not pass --enable-multilib nor --disable-multilib in baseargs. Accept explicitly passed --enable_multilib. * configure: Regenerate. From-SVN: r157916
2010-03-31Fix toplevel configure --enable-multilib handling.Ralf Wildenhues1-3/+8
/: PR bootstrap/43328 * configure.ac: Do not pass --enable-multilib nor --disable-multilib in baseargs. Accept explicitly passed --enable_multilib. * configure: Regenerate. From-SVN: r157851
2010-03-23configure.ac (tic6x-*-*): New case.Joseph Myers1-0/+3
* configure.ac (tic6x-*-*): New case. * configure: Regenerate. From-SVN: r157675
2010-03-19re PR ada/42554 (Can't build GNAT tools)Jack Howarth1-2/+2
PR ada/42554 * configure.ac: Only pass -c to ranlib for darwin9 and earlier. * configure: Regenerate. From-SVN: r157563
2010-03-01re PR other/32499 (libstdc++ testsuite fails on platforms without ranlib)Rainer Orth1-2/+2
libstdc++-v3: PR libstdc++/32499 * testsuite/Makefile.am (check-DEJAGNU $(check_DEJAGNU_normal_targets)): Export AR, RANLIB. * testsuite/Makefile.in: Regenerate. toplevel: PR libstdc++/32499 * configure.ac (RANLIB): Default to true. (STRIP): Likewise. (RANLIB_FOR_TARGET): Remove superfluous : argument. * configure: Regenerate. From-SVN: r157144
2010-02-17re PR c++/11238 (A constructor with exception handler rethrows the exception ↵Nick Clifton1-17/+0
to the constructor caller) PR 11238 * Makefile.tpl (local-distclean): Also remove config.cache files in sub-directories as there may not be Makefiles present in the sub-directories. * Makefile.in: Regenerate. * configure.ac: Revert previous delta. * configure: Regenerate. From-SVN: r156826
2010-02-15configure.ac: Delete config.cache files in sub-directories when deleting ↵Nick Clifton1-0/+17
Makefiles. * configure.ac: Delete config.cache files in sub-directories when deleting Makefiles. * configure: Regenerate. From-SVN: r156769
2010-01-31configure.ac: Add "recommended" version checks for GMP/MPC.Kaveh R. Ghazi1-10/+60
* configure.ac: Add "recommended" version checks for GMP/MPC. Update recommended GMP/MPFR/MPC versions. * configure: Regenerate. gcc: * doc/install.texi: Update recommended GMP/MPFR/MPC versions. From-SVN: r156408
2010-01-25PR libstdc++/36101, PR libstdc++/42813Joern Rennecke1-1/+6
PR libstdc++/36101, PR libstdc++/42813 * configure.ac (bootstrap_target_libs): Make inclusion of target-libgomp conditional on libgomb being in target_configdirs. * configure: Regenerate. From-SVN: r156218
2010-01-23PR libstdc++/36101, PR libstdc++/42813Joern Rennecke1-1/+1
PR libstdc++/36101, PR libstdc++/42813 * configure.ac (bootstrap_target_libs): Include target-libgomp. * configure: Regenerate. From-SVN: r156189
2010-01-22PR libstdc++/36101, PR libstdc++/42813Joern Rennecke1-0/+2
PR libstdc++/36101, PR libstdc++/42813 [toplevel]: * configure.ac (target_configdirs): Substitute. * Makefile.def: Bootstrap target module libgomp. Add dependency of all-target-libstdc++-v3 on configure-target-libgomp. * Makefile.tpl (TARGET_CONFIGDIRS): New makefile variable. (BASE_TARGET_EXPORTS): Export TARGET_CONFIGDIRS. * configure, Makefile.in: Regenerate. libstdc++-v3: * acinclude.m4: (enable_parallel): Test ${TARGET_CONFIGDIRS} instead of loking for omp.h . * configure: Regenerate. From-SVN: r156172
2010-01-11configure.ac: Enable libjava build on x86_64-*freebsd*.Andreas Tobler1-0/+1
2010-01-11 Andreas Tobler <andreast@fgznet.ch> * configure.ac: Enable libjava build on x86_64-*freebsd*. * configure: Regenerate. From-SVN: r155803
2010-01-07re PR bootstrap/42424 (in-tree GMP/MPFR/MPC bootstrap fails)Kaveh R. Ghazi1-7/+37
PR bootstrap/42424 * configure.ac: Include libtool m4 files. (_LT_CHECK_OBJDIR): Call it. (extra_mpc_mpfr_configure_flags, extra_mpc_gmp_configure_flags, gmplibs, ppllibs, clooglibs): Use $lt_cv_objdir. * configure: Regenerate. Co-Authored-By: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> From-SVN: r155712
2010-01-02re PR bootstrap/41529 (LTO configuration should detect if the target is ELF)Richard Guenther1-0/+29
2010-01-02 Richard Guenther <rguenther@suse.de> PR lto/41529 * configure.ac: Include config/elf.m4. Disable LTO if not builting for an elf target. * configure: Regenerate. config/ * elf.m4: New file. From-SVN: r155565
2009-12-06re PR middle-end/30447 (Evaluate complex math functions at compile-time)Kaveh R. Ghazi1-84/+34
PR middle-end/30447 PR middle-end/30789 PR other/40302 * configure.ac: Require MPC. * configure: Regenerate. gcc: * doc/install.texi: Document MPC is required. From-SVN: r155023
2009-11-30configure.ac: Update minimum MPC version to 0.8.Kaveh R. Ghazi1-1/+2
* configure.ac: Update minimum MPC version to 0.8. * configure: Regenerate. gcc: * doc/install.texi: Update minimum MPC version to 0.8. From-SVN: r154750
2009-11-25configure.ac: Check for version 0.15.5 or later revision of CLooG.Sebastian Pop1-3/+3
2009-11-21 Sebastian Pop <sebpop@gmail.com> * configure.ac: Check for version 0.15.5 or later revision of CLooG. * configure: Regenerated. From-SVN: r154635
2009-11-22configure.ac: Change default of poststage1_ldflags to be empty if ↵Ian Lance Taylor1-22/+24
poststage1_libs is set. ./: * configure.ac: Change default of poststage1_ldflags to be empty if poststage1_libs is set. When poststage1_libs is empty, and ENABLE_BUILD_WITH_CXX is set, add -static-libgcc. * configure: Rebuild. gcc/: * Makefile.in (HOST_LIBS): Move higher in file. (LINKER, LINKER_FLAGS): If ENABLE_BUILD_WITH_CXX, but $(HOST_LIBS) is not empty, set to $(CC) and $(CFLAGS). From-SVN: r154422
2009-11-16configure.ac: Add libelf to host_libs.Alexandre Oliva1-13/+18
* configure.ac: Add libelf to host_libs. Enable in-tree configury of ppl and cloog. Fix in-tree configury of libelf, skip tests. Fix portability of test of C++ as bootstrap language. Add ppl/src/ppl-config.o to the bootstrap compare exclusion list. * configure: Rebuild. * Makefile.def: Drop host and target settings from gmp, mpfr, ppl, and cloog. Fix in-tree ppl configuration. Introduce libelf in-tree building. * Makefile.tpl (POSTSTAGE1_CXX_EXPORT): New. (POSTSTAGE1_HOST_EXPORTS): Use it. (STAGE[+id+]_CXXFLAGS): New. (BASE_FLAGS_TO_PASS): Pass it down. (configure-stage[+id+]-[+prefix+][+module+]): Use it. Add extra_exports. (all-stage[+id+]-[+prefix+][+module+]): Likewise. (configure-[+prefix+][+module+], all-[+prefix+][+module+]): Add extra_exports. * Makefile.in: Rebuild. From-SVN: r154211
2009-11-06configure.ac (FLAGS_FOR_TARGET): Add -L and -isystem paths for *-w64-mingw* ↵Ozkan Sezer1-7/+13
and x86_64-*mingw*. 2009-11-06 Ozkan Sezer <sezeroz@gmail.com> * configure.ac (FLAGS_FOR_TARGET): Add -L and -isystem paths for *-w64-mingw* and x86_64-*mingw*. * configure: Regenerated. From-SVN: r153964
2009-10-30configure.ac: Disable target-winsup & co for x86_64-*-mingw* and ↵Kai Tietz1-2/+6
*-w64-mingw* targets. 2009-10-30 Kai Tietz <kai.tietz@onevision.com> * configure.ac: Disable target-winsup & co for x86_64-*-mingw* and *-w64-mingw* targets. * configure: Regenerated. From-SVN: r153761
2009-10-23acx.m4 (ACX_CHECK_CYGWIN_CAT_WORKS): Use = with test.Rainer Orth1-1/+1
config: * acx.m4 (ACX_CHECK_CYGWIN_CAT_WORKS): Use = with test. From-SVN: r153493
2009-10-23configure.ac (CLooG test): Use = with test.Rainer Orth1-1/+1
* configure.ac (CLooG test): Use = with test. * configure: Regenerate. From-SVN: r153490
2009-10-22configure.ac: Do not set LIBS for ppl/cloog checks.Richard Guenther1-13/+5
2009-10-22 Richard Guenther <rguenther@suse.de> * configure.ac: Do not set LIBS for ppl/cloog checks. Disable cloog if the ppl version check failed. Move flags saving before setting in libelf check. * configure: Regenerate. From-SVN: r153447
2009-10-21configure.ac: Adjust the ppl and cloog configure to work as documented.Richard Guenther1-4/+14
2009-10-21 Richard Guenther <rguenther@suse.de> * configure.ac: Adjust the ppl and cloog configure to work as documented. Disable cloog if ppl was disabled. Omit the version checks if they were disabled. * configure: Re-generate. From-SVN: r153055
2009-10-13Fix toplevel 'config.status --recheck' for --enable-lto.Ralf Wildenhues1-1/+4
/: * configure.ac: Add 'lto' to enable_languages, not new_enable_languages, and only if not already present. * configure: Regenerate. From-SVN: r152697
2009-10-03Merge lto branch into trunk.Diego Novillo1-2/+878
From-SVN: r152434
2009-09-26configure.ac: Update minimum MPC version to 0.7.Kaveh R. Ghazi1-1/+2
* configure.ac: Update minimum MPC version to 0.7. * configure: Regenerate. gcc: * doc/install.texi: Update minimum MPC version to 0.7. From-SVN: r152207
2009-09-25configure.ac: Pass any --cache-file=/dev/null option on to subconfigures.Nick Clifton1-3/+12
* configure.ac: Pass any --cache-file=/dev/null option on to subconfigures. * configure: Regenerate. From-SVN: r152183
2009-09-22Error out if building separately but srcdir has build remnants.Ralf Wildenhues1-0/+5
/: PR bootstrap/32272 * configure.ac: Error out if $srcdir isn't '.' but contains host-${host_noncanonical}. * configure: Regenerate. From-SVN: r152037
2009-09-21Require c++ in stage1_languages with --enable-gold in combined bootstrap.Ralf Wildenhues1-0/+7
/: * configure.ac: If bootstrapping a combined tree with --enable-gold, require c++ in stage1_languages. * configure: Regenerate. From-SVN: r151943
2009-09-21toplevel configure: bootstrap target_libs of stage1_languages.Ralf Wildenhues1-3/+6
/: * configure.ac: Also add target_libs of stage1_languages to bootstrap_target_libs. * configure: Regenerate. From-SVN: r151942
2009-09-21Diagnose --enable-build-with-cxx --enable-bootstrap --enable-languages w/o c++Ralf Wildenhues1-0/+7
/* * configure.ac: Diagnose --enable-build-with-cxx bootstrap with --enable-languages not containing c++. * configure: Regenerate. From-SVN: r151939
2009-09-15configure.ac: Disable java and boehm-gc for bfin-*-*.Jie Zhang1-1/+2
* configure.ac: Disable java and boehm-gc for bfin-*-*. * configure: Regenerate. From-SVN: r151724
2009-09-08Fix toplevel config.status for HP-UX sed.Ralf Wildenhues1-10/+30
/: * configure.ac: Do not use $extrasub for replacing @if/@endif parts in Makefile; instead, use additional arguments to AC_CONFIG_COMMANDS to do the replacement manually, with several sed invocations, to avoid HP-UX sed command limits. * configure: Regenerate. From-SVN: r151525
2009-09-04configure.ac (with-build-config): Document.Alexandre Oliva1-0/+14
* configure.ac (with-build-config): Document. Handle without. Handle missing argument. * configure: Rebuilt. From-SVN: r151435
2009-09-03configure.ac (--with-build-config): New.Alexandre Oliva1-3/+33
ChangeLog: * configure.ac (--with-build-config): New. Set BUILD_CONFIG. Default to bootstrap-debug only if compare-debug works. * configure: Rebuilt. * Makefile.tpl: Make BUILD_CONFIG configure-configurable. * Makefile.in: Rebuilt. contrib/ChangeLog: * bootstrap-debug-big.mk (STAGE2_CFLAGS): Drop -gtoggle. * bootstrap-debug-lean.mk: Update comments. (STAGE2_CFLAGS): Likewise. (do-compare): Don't override. gcc/ChangeLog: * doc/invoke.texi (BUILD_CONFIG): Document --with-build-config. (bootstrap-debug): Explain conditions in which it becomes default. (bootstrap-debug-big): Rather than duplicate bootstrap-debug, make it add to it. From-SVN: r151367
2009-08-30configure.ac: Detect awk and sed.Paolo Bonzini1-1/+116
2009-08-30 Paolo Bonzini <bonzini@gnu.org> * configure.ac: Detect awk and sed. * Makefile.def (flags_to_pass): Add AWK and SED. * Makefile.tpl (AWK, SED): New. (BASE_FLAGS_TO_PASS): Add AWK and SED. * configure: Regenerate. * Makefile.in: Regenerate. From-SVN: r151228
2009-08-22Cleanups after the update to Autoconf 2.64, Automake 1.11.Ralf Wildenhues1-50/+0
/: * configure.ac: Remove --with-datarootdir, --with-docdir, --with-pdfdir, --with-htmldir switches. * configure: Regenerate. gcc/: * configure.ac: Remove --with-datarootdir, --with-docdir, --with-htmldir switches. No need to call AC_SUBST for datarootdir, docdir, htmldir any more. * configure: Regenerate. * doc/install.texi (Configuration): Document --datarootdir, --docdir, --htmldir, --pdfdir; update documentation for --infodir, --mandir. (Prerequisites): Bump Autoconf version to 2.64, Automake to 1.11, M4 to 1.4.6. libgfortran/: * Makefile.am (install-html, install-pdf): Remove. * Makefile.in: Regenerate. libjava/classpath/: * doc/cp-hacking.texinfo (Needed Tools and Libraries): Bump Autoconf version to 2.64, Automake to 1.11, M4 to 1.4.6. libjava/: * HACKING: Use aclocal-1.11 and autoconf-2.64 in example. * Makefile.am (install-html, install-pdf): Remove. * Makefile.in: Regenerate. libstdc++-v3/: * doc/xml/manual/build_hacking.xml: Use tools from Autoconf 2.64 and Automake 1.11 in examples; update link to Autoconf manual page about quadrigraphs. * Makefile.am (install-html, install-pdf): Remove. * Makefile.in: Regenerate. libssp/: * Makefile.am (install-html, install-pdf): Remove. * Makefile.in: Regenerate. boehm-gc/: * Makefile.am (install-html, install-pdf): Remove. * Makefile.in: Regenerate. libmudflap/: * Makefile.am (install-html, install-pdf): Remove. * Makefile.in: Regenerate. zlib/: * Makefile.am (install-html, install-pdf, html): Remove. * Makefile.in: Regenerate. libffi/: * Makefile.am (install-html, install-pdf): Remove. * Makefile.in: Regenerate. libgomp/: * Makefile.am (install-html, install-pdf): Remove. * Makefile.in: Regenerate. From-SVN: r151015