summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* Allow to pass separate configure arguments for build, host and target.Ralf Wildenhues2010-10-021-3/+11
| | | | | | | | | | | | | | | | /: PR bootstrap/45326 PR bootstrap/45174 * configure.ac: Honor initial values of $build_configargs, $host_configargs, $target_configargs. Mark the precious, so environment settings get recorded. * configure: Regenerate. gcc/: * doc/install.texi (Configuration): Document build_configargs, host_configargs, target_configargs. From-SVN: r164904
* Check in support for Xilinx MicroBlaze processor.Michael Eager2010-09-301-1/+1
| | | | From-SVN: r164756
* Fix unportable shell quoting.Ralf Wildenhues2010-09-271-1/+1
| | | | | | | | | | | | | | | | | | | | | /: PR bootstrap/44621 * configure.ac: Fix unportable shell quoting. * configure: Regenerate. config/: * po.m4 (AM_PO_SUBDIRS): Fix unportable shell quoting. contrib/reghunt/: * bin/gcc-svn-ids: Fix unportable shell quoting. * date_based/reg_periodic: Likewise. * date_based/reg_search: Likewise. intl/: PR bootstrap/44621 * configure: Regenerate. From-SVN: r164668
* configure.ac (enable-lto): Add Darwin to the list of supported lto targets ↵Iain Sandoe2010-09-211-3/+3
| | | | | | | | | | and amend comment. * configure.ac (enable-lto): Add Darwin to the list of supported lto targets and amend comment. * configure: Regenerate. From-SVN: r164481
* configure.ac: Enable LTO by default on Darwin.Jack Howarth2010-09-031-3/+5
| | | | | | | | | 2010-09-03 Jack Howarth <howarth@bromo.med.uc.edu> * configure.ac: Enable LTO by default on Darwin. * configure: Regenerate. From-SVN: r163839
* configure.ac: Support all v850 targets.Naveen.H.S2010-07-261-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Support all v850 targets. * configure: Regenerate. * config/v850/lib1funcs.asm (save_r2_r31, return_r2_r31, save_r20_r31, return_r20_r31, save_r21_r31, return_r21_r31, save_r22_r31, return_r22_r31, save_r23_r31, return_r23_r31, save_r24_r31, return_r24_r31, save_r25_r31, return_r25_r31, save_r26_r31, return_r26_r31, save_r27_r31, return_r27_r31, save_r28_r31, return_r28_r31, save_r29_r31, return_r29_r31, save_r31, return_r31, save_interrupt, return_interrupt, save_all_interrupt, return_all_interrupt, L_save_r2_r31, L_return_interrupt, callt_return_interrupt, L_restore_all_interrupt, L_save_##START##_r31c, L_callt_save_r31c: Updated as per the new ABI requirements. save_r6_r9, L_callt_save_r6_r9: Remove. * config/v850/predicates.md (even_reg_operand, disp23_operand, const_float_1_operand const_float_0_operand): New Predicates. (pattern_is_ok_for_prepare, pattern_is_ok_for_prologue, pattern_is_ok_for_epilogue): Update as per the ABI requirements. * config/v850/t-v850: Update multilibs for new target variants. (save_varargs, callt_save_varargs, callt_save_r6_r9): Remove. * config/v850/t-v850e: Likewise. * config/v850/v850.c (v850_issue_rate): New. (v850_strict_argument_naming): New. (function_arg): Modify to generate a different ABI. (print_operand): Update case 'z' to support float modes. (output_move_single): Modify to generate appropriate and better assembly. (v850_float_z_comparison_operator, v850_select_cc_mode, v850_float_nz_comparison_operator, v850_gen_float_compare, v850_gen_compare): New functions to support comparison of float values. (ep_memory_offset): Add support for V850E2 targets. (INTERRUPT_FIXED_NUM, INTERRUPT_ALL_SAVE_NUM): Update. (INTERRUPT_REGPARM_NUM): Remove. (compute_register_save_size): Add extra case to save/restore long call. (use_prolog_function): New function to support prologue. (expand_prologue): Add support for V850E2 targets and modified as per the current ABI requirements. (expand_epilogue): Likewise. (construct_restore_jr): Modify based on TARGET_LONG_CALLS. (construct_save_jarl): Likewise. (construct_dispose_instruction): Update as per the current ABI requirements. (construct_prepare_instruction): Likewise. * config/v850/v850.h(TARGET_CPU_DEFAULT): Add target predefines. (TARGET_CPU_v850e2, TARGET_CPU_v850e2v3): Define (CPP_SPEC): Updated to support v850e2 targets. (STRICT_ALIGNMENT): Modified. (FIRST_PSEUDO_REGISTER): Updated to add even registers. (FIXED_REGISTERS): Likewise. (CALL_USED_REGISTERS): Likewise. (CONDITIONAL_REGISTER_USAGE): Updated. (HARD_REGNO_MODE_OK): Updated. (reg_class): Updated to add even registers. (REG_CLASS_NAMES): Likewise. (REG_CLASS_CONTENTS): Likewise. (REGNO_REG_CLASS): Updated for CC registers. (REG_CLASS_FROM_LETTER): Added support for even registers. (REGNO_OK_FOR_BASE_P): Updated for CC registers. (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM, LINK_POINTER_REGNUM, ARG_POINTER_REGNUM): Updated. (FUNCTION_ARG_ADVANCE): Define. (REG_PARM_STACK_SPACE): Update as per the current ABI requirements. (OUTGOING_REG_PARM_STACK_SPACE): Remove. (EXTRA_CONSTRAINT): Add new constraint 'W' for 23-bit displacement. (GO_IF_LEGITIMATE_ADDRESS): Updated. (SELECT_CC_MODE): Define. (REGISTER_NAMES): Updated to add psw and fcc registers. (ADDITIONAL_REGISTER_NAMES): Updated. (ASM_OUTPUT_ADDR_DIFF_ELT): Updated to support new targets. (JUMP_TABLES_IN_TEXT_SECTION): Updated. * config/v850/v850.md (define_constants): Define new constants. (type): Update store,bit1,macc,div,fpu and single attributes. (cpu): New attribute. (cc): Add set_z attribute. (unsign23byte_load, sign23byte_load, unsign23hword_load, sign23hword_load, 23word_load, 23byte_store, 23hword_store, 23word_store): New instructions for 23-bit displacement load and store. (movqi_internal, movhi_internal): Update the attributes. (movsi, movsi_internal_v850e): Updated to support v850e2 targets. (movsi_internal_v850e, movsi_internal, movsf_internal): Update the attributes. (v850_tst1): Modified using CC_REGNUM. (tstsi): Remove. (cmpsi): Modified as define_expand from define_insn. (cmpsi_insn, cmpsf, cmpdf): New instructions. (addsi3, subsi3, negsi2, divmodsi4, udivmodsi4, divmodhi4, udivmodhi4, v850_clr1_1, v850_clr1_2, v850_clr1_3, andsi3, v850_set1_1, v850_set1_3, iorsi3, v850_not1_1, v850_not1_3, xorsi3, one_cmplsi2): Clobber the CC_REGNUM register. (v850_clr1_1, v850_clr1_2, v850_clr1_3, andsi3, v850_set1_1, v850_set1_2, v850_set1_3, iorsi3, v850_not1_1, v850_not1_2, v850_not1_3, xorsi3, one_cmplsi2): Update the attributes accordingly. (setf_insn, set_z_insn, set_nz_insn): New instructions for v850e2v3 target. (movsicc_normal_cc, movsicc_reversed_cc): New instructions. (movsicc, movsicc_normal, movsicc_reversed): Add support for V850E2 targets. (sasf_1, sasf_2): Remove. (sasf): New instruction. (rotlhi3, rotlhi3_8, rotlsi3, rotlsi3_16): Update to support V850E2 targets. CC_REGNUM register is clobbered and attributes are updated. (branch_z_normal, branch_z_invert, branch_nz_normal, branch_nz_invert): New branch related instructions. (jump): Updated the attributes. (switch): Update to support new targets. CC_REGNUM register is clobbered and attributes are updated. (call_internal_short, call_internal_long, call_value_internal_short, call_value_internal_long): Updated the attributes. (zero_extendhisi2, zero_extendqisi2): CC_REGNUM register is clobbered and attributes are updated. (extendhisi_insn, extendhisi2, extendqisi_insn, extendqisi2): Update to support new targets. CC_REGNUM register is clobbered. (ashlsi3_v850e2, lshrsi3_v850e2, ashrsi3_v850e2): New shift instructions. (lshrsi3, ashrsi3): CC_REGNUM register is clobbered and attributes are updated. (ffssi2, addsf3, adddf3, subsf3, subdf3, mulsf3, muldf3, divsf3, divdf3, minsf3, mindf3, maxsf3, maxdf3, abssf2, absdf2, negsf2, negdf2, sqrtsf2, sqrtdf2, truncsfsi2, truncdfsi2, floatsisf2, floatsidf2, extendsfdf2, extenddfsf2, recipsf2, recipdf2, rsqrtsf2, rsqrtdf2, maddsf4, msubsf4, nmaddsf4, nmsubsf4, cmpsf_le_insn, cmpsf_lt_insn, cmpsf_ge_insn, cmpsf_gt_insn, cmpsf_eq_insn, cmpsf_ne_insn, cmpdf_le_insn, cmpdf_lt_insn, cmpdf_ge_insn, cmpdf_gt_insn, cmpdf_eq_insn, cmpdf_ne_insn, trfsr, movsfcc, movdfcc, movsfcc_z_insn, movsfcc_nz_insn, movdfcc_z_insn, movdfcc_nz_insn, movedfcc_z_zero, movedfcc_nz_zero): New floating point instructions defined for V850e2v3 target. (callt_save_interrupt, callt_return_interrupt, return_interrupt): Add support for V850E2 targets and CC_REGNUM register is clobbered. (callt_save_all_interrupt, callt_restore_all_interrupt): Add support for new targets. * config/v850/v850-modes.def: New file. * config/v850/v850.opt(mstrict-align): Remove. (mno-strict-align, mjump-tables-in-data-section, mv850e2, mv850e2v3): New command line options for V850. * config.gcc: Update the newly added files. * doc/invoke.texi: Update the newly added command line options for V850 target. From-SVN: r162530
* re PR bootstrap/44455 (GCC fails to build if MPFR 3.0.0 (Release Candidate) ↵Marc Glisse2010-07-231-1/+1
| | | | | | | | | | | | | is used) 2010-07-23 Marc Glisse <marc.glisse@normalesup.org> PR bootstrap/44455 * configure.ac (extra_mpfr_configure_flags): Copy from extra_mpc_gmp_configure_flags. * configure: Re-generated. From-SVN: r162482
* add lto to powerpc-*darwin and enable for 32bit darwinSteven Bosscher2010-05-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Steven Bosscher <steven@gcc.gnu.org> ChangeLog: * configure.ac (--enable-lto): All *-apple-darwin* now support LTO. * configure: Regenerate. gcc/ChangeLog: * config.gcc (powerpc-*-darwin*, powerpc64-*-darwin*): Add lto-macho as lto_binary_reader. * darwin.c (darwin_asm_named_section): Do not add assembler comment after .section directive; just print it before the directive instead. M gcc/config.gcc M gcc/config/darwin.c M ChangeLog M gcc/ChangeLog From-SVN: r159527
* configure.ac (--enable-lto): Add x86_64-apple-darwin* as a platform that ↵Steven Bosscher2010-05-071-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
* Allow all the versions greater than 0.10 of PPL.Sebastian Pop2010-05-061-4/+2
| | | | | | | | | 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
* configure.ac (--enable-gold): Support both, both/gold and both/bfd to add ↵Roland McGrath2010-04-271-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
* re PR lto/42776 (LTO doesn't work on non-ELF platforms.)Dave Korn2010-04-271-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ChangeLog: 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. gcc/ChangeLog: PR lto/42776 * configure.ac (gcc_cv_as_section_has_align): Set if installed binutils supports extended .section directive needed by LTO, or warn if older binutils found. (LTO_BINARY_READER): New AC_SUBST'd variable. (LTO_USE_LIBELF): Likewise. * gcc/config.gcc (lto_binary_reader): New target-specific configure variable. * gcc/Makefile.in (LTO_BINARY_READER): Import AC_SUBST'd autoconf var. (LTO_USE_LIBELF): Likewise. * configure: Regenerate. * collect2.c (is_elf): Rename from this ... (is_elf_or_coff): ... to this, and recognize and allow i386 COFF object files in addition to ELF-formatted ones. (scan_prog_file): Caller updated. Also allow for LTO info marker symbol to be prefixed or not by an extra underscore. * config/i386/t-cygming (winnt.o): Also depend on LTO_STREAMER_H. * config/i386/winnt.c: Also #include lto-streamer.h (i386_pe_asm_named_section): Specify 1-byte section alignment for LTO named sections. (i386_pe_asm_output_aligned_decl_common): Add comment. (i386_pe_maybe_record_exported_symbol): Allow decl arg to be NULL. gcc/lto/ChangeLog: PR lto/42776 * Make-lang.in (LTO_OBJS): Use LTO_BINARY_READER instead of hardcoding 'lto-elf.o'. ($(LTO_EXE)): Use LTO_USE_LIBELF instead of hardcoding '-lelf'. * lto-coff.h: New file. * lto-coff.c: Likewise. gcc/testsuite/ChangeLog: PR lto/42776 * lib/lto.exp (lto_prune_vis_warns): New function. (lto-link-and-maybe-run): Call it. From-SVN: r158762
* configure.ac (BUILD_CONFIG): Redirect output to /dev/null.Eric Botcazou2010-04-201-1/+1
| | | | | | | * configure.ac (BUILD_CONFIG): Redirect output to /dev/null. * configure: Regenerate. From-SVN: r158550
* configure.ac (*-*-rtems*): Add target-libiberty to $skipdirs.Ralf Corsepius2010-04-171-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
* configure.ac: Check for elf_getshdrstrndx or elf_getshstrndx separately.Rainer Orth2010-04-161-1/+21
| | | | | | | | | | | | | | | | | | | | | 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
* Synchronize with src/.Tristan Gingold2010-04-141-1/+1
| | | | | | | | | 2010-04-14 Tristan Gingold <gingold@adacore.com> * configure.ac (alpha*-*-*vms*): Remove ld from noconfigdirs. * configure: Regenerate. From-SVN: r158341
* Add brackets around AC_TRY_COMPILE alternative.Sebastian Pop2010-04-021-8/+8
| | | | | | | | | 2010-04-02 Sebastian Pop <sebastian.pop@amd.com> * configure.ac: Add brackets around AC_TRY_COMPILE alternative. * configure: Regenerated. From-SVN: r157946
* Print "buggy but acceptable" when CLooG revision is less than 9.Sebastian Pop2010-04-021-1/+6
| | | | | | | | | | 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
* re PR bootstrap/43615 (bootstrap fails: /usr/include/gnu/stubs.h:7:27: fatal ↵Ralf Wildenhues2010-04-011-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
* Fix toplevel configure --enable-multilib handling.Ralf Wildenhues2010-03-311-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
* configure.ac (tic6x-*-*): New case.Joseph Myers2010-03-231-0/+3
| | | | | | | * configure.ac (tic6x-*-*): New case. * configure: Regenerate. From-SVN: r157675
* re PR ada/42554 (Can't build GNAT tools)Jack Howarth2010-03-191-2/+2
| | | | | | | | PR ada/42554 * configure.ac: Only pass -c to ranlib for darwin9 and earlier. * configure: Regenerate. From-SVN: r157563
* re PR other/32499 (libstdc++ testsuite fails on platforms without ranlib)Rainer Orth2010-03-011-5/+5
| | | | | | | | | | | | | | | | | 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
* re PR c++/11238 (A constructor with exception handler rethrows the exception ↵Nick Clifton2010-02-171-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
* configure.ac: Delete config.cache files in sub-directories when deleting ↵Nick Clifton2010-02-151-0/+17
| | | | | | | | | | Makefiles. * configure.ac: Delete config.cache files in sub-directories when deleting Makefiles. * configure: Regenerate. From-SVN: r156769
* configure.ac: Add "recommended" version checks for GMP/MPC.Kaveh R. Ghazi2010-01-311-10/+27
| | | | | | | | | | | * 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
* PR libstdc++/36101, PR libstdc++/42813Joern Rennecke2010-01-251-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
* PR libstdc++/36101, PR libstdc++/42813Joern Rennecke2010-01-231-1/+1
| | | | | | | | PR libstdc++/36101, PR libstdc++/42813 * configure.ac (bootstrap_target_libs): Include target-libgomp. * configure: Regenerate. From-SVN: r156189
* PR libstdc++/36101, PR libstdc++/42813Joern Rennecke2010-01-221-0/+1
| | | | | | | | | | | | | | | | | 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
* configure.ac: Enable libjava build on x86_64-*freebsd*.Andreas Tobler2010-01-111-0/+1
| | | | | | | | | 2010-01-11 Andreas Tobler <andreast@fgznet.ch> * configure.ac: Enable libjava build on x86_64-*freebsd*. * configure: Regenerate. From-SVN: r155803
* re PR bootstrap/42424 (in-tree GMP/MPFR/MPC bootstrap fails)Kaveh R. Ghazi2010-01-071-7/+15
| | | | | | | | | | | | | | | | 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
* re PR bootstrap/41529 (LTO configuration should detect if the target is ELF)Richard Guenther2010-01-021-0/+11
| | | | | | | | | | | | | | 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
* re PR middle-end/30447 (Evaluate complex math functions at compile-time)Kaveh R. Ghazi2009-12-061-64/+32
| | | | | | | | | | | | | 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
* configure.ac: Update minimum MPC version to 0.8.Kaveh R. Ghazi2009-11-301-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
* configure.ac: Check for version 0.15.5 or later revision of CLooG.Sebastian Pop2009-11-251-2/+2
| | | | | | | | | 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
* configure.ac: Change default of poststage1_ldflags to be empty if ↵Ian Lance Taylor2009-11-221-15/+17
| | | | | | | | | | | | | | | 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
* configure.ac: Add libelf to host_libs.Alexandre Oliva2009-11-161-11/+20
| | | | | | | | | | | | | | | | | | | | | | | * 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
* configure.ac (FLAGS_FOR_TARGET): Add -L and -isystem paths for *-w64-mingw* ↵Ozkan Sezer2009-11-061-10/+16
| | | | | | | | | | | | 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
* configure.ac: Disable target-winsup & co for x86_64-*-mingw* and ↵Kai Tietz2009-10-301-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
* configure.ac (CLooG test): Use = with test.Rainer Orth2009-10-231-1/+1
| | | | | | | * configure.ac (CLooG test): Use = with test. * configure: Regenerate. From-SVN: r153490
* configure.ac: Do not set LIBS for ppl/cloog checks.Richard Guenther2009-10-221-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
* configure.ac: Adjust the ppl and cloog configure to work as documented.Richard Guenther2009-10-211-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
* Fix toplevel 'config.status --recheck' for --enable-lto.Ralf Wildenhues2009-10-131-1/+4
| | | | | | | | | /: * configure.ac: Add 'lto' to enable_languages, not new_enable_languages, and only if not already present. * configure: Regenerate. From-SVN: r152697
* Merge lto branch into trunk.Diego Novillo2009-10-031-2/+152
| | | | From-SVN: r152434
* configure.ac: Update minimum MPC version to 0.7.Kaveh R. Ghazi2009-09-261-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
* configure.ac: Pass any --cache-file=/dev/null option on to subconfigures.Nick Clifton2009-09-251-3/+12
| | | | | | | | * configure.ac: Pass any --cache-file=/dev/null option on to subconfigures. * configure: Regenerate. From-SVN: r152183
* Error out if building separately but srcdir has build remnants.Ralf Wildenhues2009-09-221-0/+5
| | | | | | | | | | /: PR bootstrap/32272 * configure.ac: Error out if $srcdir isn't '.' but contains host-${host_noncanonical}. * configure: Regenerate. From-SVN: r152037
* Require c++ in stage1_languages with --enable-gold in combined bootstrap.Ralf Wildenhues2009-09-211-0/+7
| | | | | | | | | /: * configure.ac: If bootstrapping a combined tree with --enable-gold, require c++ in stage1_languages. * configure: Regenerate. From-SVN: r151943
* toplevel configure: bootstrap target_libs of stage1_languages.Ralf Wildenhues2009-09-211-3/+6
| | | | | | | | | /: * configure.ac: Also add target_libs of stage1_languages to bootstrap_target_libs. * configure: Regenerate. From-SVN: r151942
* Diagnose --enable-build-with-cxx --enable-bootstrap --enable-languages w/o c++Ralf Wildenhues2009-09-211-0/+7
| | | | | | | | | /* * configure.ac: Diagnose --enable-build-with-cxx bootstrap with --enable-languages not containing c++. * configure: Regenerate. From-SVN: r151939