1. 16 Nov, 2009 2 commits
    • Makefile.def: Restore host and target settings for gmp. · 87213cd4
      * Makefile.def: Restore host and target settings for gmp.
      * Makefile.in: Rebuild.
      
      From-SVN: r154217
      Alexandre Oliva committed
    • configure.ac: Add libelf to host_libs. · f61428ed
      * 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
      Alexandre Oliva committed
  2. 07 Oct, 2009 1 commit
  3. 03 Oct, 2009 1 commit
  4. 30 Aug, 2009 1 commit
    • configure.ac: Detect awk and sed. · 87264276
      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
      Paolo Bonzini committed
  5. 19 Aug, 2009 1 commit
  6. 26 Jun, 2009 1 commit
  7. 24 Jun, 2009 1 commit
    • configure.ac: Add --enable-build-with-cxx. · 00020c16
      ./:	* configure.ac: Add --enable-build-with-cxx.  When set, add c++ to
      	boot_languages.  Only bootstrap target libraries listed in
      	target_libs for some boot language.  Add --with-stage1-ldflags,
      	--with-stage1-libs, --with-boot-ldflags, --with-boot-libs.  Remove
      	with_host_libstdcxx from ppllibs.  Only add -fkeep-inline-functions
      	if not building with C++.
      	* Makefile.def: For target_module libstdc++-v3, set bootstrap=true.
      	* Makefile.tpl (STAGE1_LDFLAGS, STAGE1_LIBS): New variables.
      	(POSTSTAGE1_LDFLAGS, POSTSTAGE1_LIBS): New variables.
      	(HOST_EXPORTS): Add STAGE1_LDFLAGS to LDFLAGS.  Export HOST_LIBS.
      	(POSTSTAGE1_HOST_EXPORTS): Set CXX and CXX_FOR_BUILD.  Add
      	POSTSTAGE1_LDFLAGS to LDFLAGS.  Export HOST_LIBS.
      	(POSTSTAGE1_FLAGS_TO_PASS): Likewise.
      	* configure, Makefile.in: Rebuild.
      gcc/:
      	* configure.ac: Invoke AC_PROG_CXX.  Separate C specific warnings
      	from loose_warn into c_loose_warn and from strict_warn into
      	c_strict_warn.  Set and substitute warn_cxxflags.  Check for
      	--enable-build-with-cxx.  Set and substitute
      	ENABLE_BUILD_WITH_CXX.  Set and substitute HOST_LIBS.
      	* Makefile.in (CXXFLAGS): New variable.
      	(C_LOOSE_WARN, C_STRICT_WARN): New variables.
      	(GCC_WARN_CFLAGS): Add $(C_LOOSE_WARN).  Add $(C_STRICT_WARN) if
      	the default is the same as $(STRICT_WARN).
      	(GCC_WARN_CXXFLAGS, WARN_CXXFLAGS): New variables.
      	(CXX): New variable.
      	(COMPILER): New value if ENABLE_BUILD_WITH_CXX.
      	(COMPILER_FLAGS, LINKER, LINKER_FLAGS): Likewise.
      	(ALL_COMPILERFLAGS, ALL_LINKERFLAGS): Likewise.
      	(HOST_LIBS): New variable.
      	(GCC_CFLAGS): Add $(C_LOOSE_WARN).
      	(ALL_CXXFLAGS): New variable.
      	(LIBS, BACKENDLIBS): Add $(HOST_LIBS).
      	* doc/install.texi (Configuration): Document
      	--enable-build-with-cxx, --with-stage1-ldflags,
      	--with-stage1-libs, --with-boot-ldflags, --with-boot-libs.
      	* configure: Rebuild.
      
      From-SVN: r148889
      Ian Lance Taylor committed
  8. 30 May, 2009 1 commit
  9. 12 May, 2009 1 commit
    • re PR target/37137 (unrecognized command line option "-minterlink-mips16") · 4a4a4e99
      ChangeLog:
      PR target/37137
      * Makefile.def (flags_to_pass): Remove redundant and incomplete
      STAGE1_CFLAGS, STAGE2_CFLAGS, STAGE3_CFLAGS, and STAGE4_CFLAGS.
      Add FLAGS_FOR_TARGET and BUILD_CONFIG.
      (bootstrap_stage): Remove bootstrap-debug custom stages.  Turn
      stage_configureflags, stage_cflags and stage_libcflags into
      explicit Makefile macros.
      * Makefile.tpl (HOST_EXPORTS, EXTRA_HOST_FLAGS): Pass GCJ and
      GFORTRAN.
      (POSTSTAGE1_HOST_EXPORTS): Add XGCC_FLAGS_FOR_TARGET and TFLAGS to
      CC.  Set CC_FOR_BUILD from CC.
      (BASE_TARGET_EXPORTS, RAW_CXX_TARGET_EXPORTS,
      NORMAL_TARGET_EXPORTS): Move SYSROOT_CFLAGS_FOR_TARGET and
      DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS and CXXFLAGS to
      XGCC_FLAGS_FOR_TARGET.  Add it along with TFLAGS to CC, CXX, GCJ,
      and GFORTRAN.
      (TFLAGS, STAGE_CFLAGS, STAGE_TFLAGS, STAGE_CONFIGURE_FLAGS): New.
      (_LIBCFLAGS): Renamed to _TFLAGS.
      (do-compare-debug, do-compare3-debug): Drop.
      (CC, GCC_FOR_TARGET, CXX_FOR_TARGET, RAW_CXX_FOR_TARGET,
      GCJ_FOR_TARGET, GFORTRAN_FOR_TARGET): Remove FLAGS_FOR_TARGET.
      (FLAGS_FOR_TARGET, SYSROOT_CFLAGS_FOR_TARGET,
      DEBUG_PREFIX_CFLAGS_FOR_TARGET): Move down.
      (XGCC_FLAGS_FOR_TARGET): New.
      (BASE_FLAGS_TO_PASS): Pass STAGEid_CFLAGS, STAGEid_TFLAGS and TFLAGS.
      (EXTRA_HOST_FLAGS): Pass GCJ and GFORTRAN.
      (POSTSTAGE1_FLAGS_TO_PASS): Move SYSROOT_CFLAGS_FOR_TARGET and
      DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS, CXXFLAGS, LIBCFLAGS,
      LIBCXXFLAGS to XGCC_FLAGS_FOR_TARGET.    Add it along with TFLAGS
      to CC, CXX, GCJ, and GFORTRAN.  Pass XGCC_FLAGS_FOR_TARGET and
      TFLAGS.
      (BUILD_CONFIG): Include if requested.
      (all): Set TFLAGS on bootstrap.
      (configure-stageid-prefixmodule): Pass TFLAGS, adjust FLAGS.
      (all-stageid-prefixmodule): Likewise.
      (do-clean, distclean-stageid): Set TFLAGS.
      (restrap): Fix whitespace.
      * Makefile.in: Rebuilt.
      config/ChangeLog:
      * multi.m4: Save CXX, GFORTRAN and GCJ in config.status.
      * mt-gnu (CXXFLAGS_FOR_TARGET): Adjust.
      * bootstrap-O1.mk: New.
      * bootstrap-O3.mk: New.
      * bootstrap-debug.mk: New.
      gcc/ChangeLog:
      PR target/37137
      * doc/install.texi (STAGE1_TFLAGS, BUILD_CONFIG): Document.
      gcc/java/ChangeLog:
      * Make-lang.in (GCJ): Renamed to...
      (XGCJ): ... this.
      libjava/ChangeLog:
      * configure.ac: Insert libgcjdir in the GCJ passed in the
      environment, rather than overriding completely.
      * configure: Rebuilt.
      
      From-SVN: r147415
      Alexandre Oliva committed
  10. 25 Apr, 2009 1 commit
  11. 14 Apr, 2009 1 commit
  12. 01 Apr, 2009 1 commit
  13. 18 Mar, 2009 1 commit
    • configure: Rebuild. · cfb1f59f
              * configure: Rebuild.
              * configure.ac (host_libs): Add libiconv.
              * Makefile.in: Rebuild.
              * Makefile.def (host_modules): Add libiconv.
              (configure-gdb, all-gdb): Depend on libiconv.
      
      From-SVN: r144947
      Tom Tromey committed
  14. 16 Jan, 2009 1 commit
  15. 02 Dec, 2008 1 commit
  16. 14 Nov, 2008 1 commit
    • re PR bootstrap/38014 (in-tree gmp and mpfr libraries no longer work) · 487e299b
      	PR bootstrap/38014
      	PR bootstrap/37923
      
      	Revert:
      
      	2008-10-24  Daniel Jacobowitz  <dan@codesourcery.com>
      
      	* Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo.
      	* Makefile.in: Regenerated.
      
      	2008-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
      
      	* Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS.
      	* Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS.
      	(EXTRA_BUILD_FLAGS): Correct typo.  Pass CPPFLAGS.
      	(HOST_EXPORTS): Pass CPPFLAGS.
      	(CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define.
      	(LDFLAGS_FOR_TARGET): Initialize from configure script.
      	(EXTRA_TARGET_FLAGS): Set CPPFLAGS.
      	* Makefile.in, configure: Regenerated.
      	* configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET,
      	and CPPFLAGS_FOR_BUILD.
      
      From-SVN: r141859
      Daniel Jacobowitz committed
  17. 22 Oct, 2008 1 commit
    • ./ · b36c386c
      	PR gdb/921
      	PR gdb/1646
      	PR gdb/2175
      	PR gdb/2176
      
      	* Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS.
      	* Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS.
      	(EXTRA_BUILD_FLAGS): Correct typo.  Pass CPPFLAGS.
      	(HOST_EXPORTS): Pass CPPFLAGS.
      	(CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define.
      	(LDFLAGS_FOR_TARGET): Initialize from configure script.
      	(EXTRA_TARGET_FLAGS): Set CPPFLAGS.
      	* Makefile.in, configure: Regenerated.
      	* configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET,
      	and CPPFLAGS_FOR_BUILD.
      
      	libiberty/
      	* Makefile.in (CPPFLAGS): Define.
      	(FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS.
      
      From-SVN: r141292
      Daniel Jacobowitz committed
  18. 02 Sep, 2008 1 commit
    • backport: configure: Regenerate. · f8bf9252
      2008-09-02  Sebastian Pop  <sebastian.pop@amd.com>
      	    Tobias Grosser  <grosser@fim.uni-passau.de>
      	    Jan Sjodin  <jan.sjodin@amd.com>
      	    Harsha Jagasia  <harsha.jagasia@amd.com>
      	    Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
      	    Konrad Trifunovic  <konrad.trifunovic@inria.fr>
      	    Adrien Eliche  <aeliche@isty.uvsq.fr>
      
      	Merge from graphite branch.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      	* configure.ac (host_libs): Add ppl and cloog.
      	Add checks for PPL and CLooG.
      	* Makefile.def (ppl, cloog): Added modules and dependences.
      	* Makefile.tpl (PPLLIBS, PPLINC, CLOOGLIBS, CLOOGINC): New.
      	(HOST_PPLLIBS, HOST_PPLINC, HOST_CLOOGLIBS, HOST_CLOOGINC): New.
      
      gcc/
      	* graphite.c: New.
      	* graphite.h: New.
      	* tree-loop-linear.c (perfect_loop_nest_depth): Export.
      	* doc/invoke.texi (-floop-block, -floop-interchange,
      	-floop-strip-mine): Document new flags.
      	* tree-into-ssa.c (gimple_vec): Moved...
      	* tree-loop-distribution.c (rdg_component): Moved...
      	* cfgloopmanip.c: Include tree-flow.h.
      	(update_dominators_in_loop): New.
      	(create_empty_if_region_on_edge): New.
      	(create_empty_loop_on_edge): New.
      	(loopify): Use update_dominators_in_loop.
      	* tree-pass.h (pass_graphite_transforms): Declared.
      	* configure: Regenerate.
      	* tree-phinodes.c (make_phi_node): Export.
      	(add_phi_node_to_bb): New, split from create_phi_node.
      	* tree-chrec.c (for_each_scev_op): New.
      	* tree-chrec.h (for_each_scev_op): Declared.
      	* tree-ssa-loop-ivopts.c (get_phi_with_result): New.
      	(remove_statement): Call get_phi_with_result.
      	* config.in (HAVE_cloog): Undef.
      	* gdbinit.in (pgg): New.
      	* timevar.def (TV_GRAPHITE_TRANSFORMS): New.
      	* tree-ssa-loop.c (graphite_transforms): New.
      	(gate_graphite_transforms): New.
      	(pass_graphite_transforms): New.
      	* configure.ac (PPLLIBS, PPLINC, CLOOGLIBS, CLOOGINC,
      	HAVE_cloog): Defined.
      	* tree-vectorizer.c (rename_variables_in_bb): Export.
      	* tree-data-ref.c (dr_may_alias_p): Export.
      	(stmt_simple_memref_p): New.
      	(find_data_references_in_stmt): Export.
      	(find_data_references_in_loop): Export.
      	(create_rdg_edge_for_ddr): Initialize RDGE_RELATION.
      	(create_rdg_edges_for_scalar): Initialize RDGE_RELATION.
      	(create_rdg_vertices): Export.
      	(build_empty_rdg): New.
      	(build_rdg): Call build_empty_rdg.  Free dependence_relations.
      	* tree-data-ref.h (rdg_component): ... here.
      	(scop_p): New.
      	(struct data_reference): Add a field scop.
      	(DR_SCOP): New.
      	(find_data_references_in_loop): Declared.
      	(find_data_references_in_stmt): Declared.
      	(create_rdg_vertices): Declared.
      	(dr_may_alias_p): Declared.
      	(stmt_simple_memref_p): Declared.
      	(struct rdg_edge): Add a field ddr_p relation.
      	(build_empty_rdg): Declared.
      	* lambda.h (lambda_matrix): Declare a VEC of.
      	(find_induction_var_from_exit_cond): Declared.
      	(lambda_vector_compare): New.
      	* common.opt (fgraphite, floop-strip-mine,
      	floop-interchange, floop-block): New flags.
      	* lambda-code.c (find_induction_var_from_exit_cond): Export.
      	* cfgloop.c (is_loop_exit): New.
      	* cfgloop.h (is_loop_exit): Declared.
      	(create_empty_if_region_on_edge): Declared.
      	(create_empty_loop_on_edge): Declared.
      	* tree-flow.h (add_phi_node_to_bb): Declared.
      	(make_phi_node): Declared.
      	(rename_variables_in_bb): Declared.
      	(perfect_loop_nest_depth): Declared.
      	(graphite_transform_loops): Declared.
      	* Makefile.in (cfgloopmanip.o): Depend on TREE_FLOW_H.
      	(graphite.o-warn): Add -Wno-error.
      	(PPLLIBS, PPLINC, CLOOGLIBS, CLOOGINC): Declared.
      	(LIBS): Add GMPLIBS, CLOOGLIBS, PPLLIBS.
      	(INCLUDES): Add PPLINC, CLOOGINC.
      	(OBJS-common): Add graphite.o.
      	(graphite.o): Add rule.
      	* gimple.h (gimple_vec): ... here.
      	* tree-cfg.c (print_loops): Start printing at ENTRY_BLOCK_PTR.
      	* passes.c (init_optimization_passes): Schedule 
      	pass_graphite_transforms.
      
      testsuite/
      
      	* gcc.dg/graphite/scop-{0,1,2,3,4,5,6,7,8,9,
      	10,11,12,13,14,15,16,17,18}.c: New.
      	* gcc.dg/graphite/graphite.exp: New.
      	* gcc.dg/graphite/scop-matmult.c: New.
      	* gcc.dg/graphite/block-0.c: New.
      	* lib/target-supports.exp (check_effective_target_fgraphite): New.
      	* gfortran.dg/graphite/block-1.f90: New.
      	* gfortran.dg/graphite/scop-{1,2}.f: New.
      	* gfortran.dg/graphite/block-{1,3,4}.f90: New.
      	* gfortran.dg/graphite/graphite.exp: New.
      
      
      Co-Authored-By: Adrien Eliche <aeliche@isty.uvsq.fr>
      Co-Authored-By: Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
      Co-Authored-By: Harsha Jagasia <harsha.jagasia@amd.com>
      Co-Authored-By: Jan Sjodin <jan.sjodin@amd.com>
      Co-Authored-By: Konrad Trifunovic <konrad.trifunovic@inria.fr>
      Co-Authored-By: Tobias Grosser <grosser@fim.uni-passau.de>
      
      From-SVN: r139893
      Sebastian Pop committed
  19. 30 Jul, 2008 1 commit
    • configure.ac: Add makefile fragments for hpux. · 00afcaa0
      2008-07-30  Paolo Bonzini  <bonzini@gnu.org>
      
      	* configure.ac: Add makefile fragments for hpux.
      	* Makefile.def (flags_to_pass): Add ADA_CFLAGS.
      	* Makefile.tpl (HOST_EXPORTS): Pass ADA_CFLAGS.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      
      config:
      2008-07-30  Paolo Bonzini  <bonzini@gnu.org>
      
      	* mh-pa: New, from gcc/config/pa/x-ada.
      	* mh-pa-hpux10: New, from gcc/config/pa/x-ada-hpux10.
      
      gcc:
      2008-07-30  Paolo Bonzini  <bonzini@gnu.org>
      
      	* configure.ac: Substitute ADA_CFLAGS.
      	* configure: Regenerate.
      	* config.host: Remove mention of pa/x-ada and pa/x-ada-hpux10 files.
      	* Makefile.in: Remove mention of X_* variables.
      	* config/pa/x-ada-hpux10: Remove.
      	* config/pa/x-ada: Remove.
      
      	* doc/fragments.texi: Update.
      
      gcc/ada:
      2008-07-30  Paolo Bonzini  <bonzini@gnu.org>
      
      	* gcc-interface/Make-lang.in (ALL_ADAFLAGS): Remove X_ADAFLAGS and
      	T_ADAFLAGS, replace ALL_ADA_CFLAGS with ADA_CFLAGS.
      	(ALL_ADA_CFLAGS): Remove, replace throughout with ADA_CFLAGS.
      	* gcc-interface/Makefile.in (XCFLAGS, X_CFLAGS, X_CPPFLAGS, T_CPPFLAGS,
      	X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS, ADA_CFLAGS,
      	ALL_ADA_CFLAGS): Remove.
      	(ALL_ADAFLAGS, MOST_ADAFLAGS): Remove X_ADAFLAGS and T_ADAFLAGS,
              replace ALL_ADA_CFLAGS with ADA_CFLAGS.
      	(GCC_CFLAGS): Remove X_CFLAGS.
      	(LOOSE_CFLAGS): Remove X_CFLAGS and XCFLAGS.
      	(ALL_CPPFLAGS): Remove X_CPPFLAGS and T_CPPFLAGS.
      	(ADA_CFLAGS): Substitute.
      	
      gnattools:
      2008-07-30  Paolo Bonzini  <bonzini@gnu.org>
      
      	* configure.ac (x_ada_cflags): Remove.
      	(ADA_CFLAGS): Substitute.
      	* configure: Regenerate.
      	* Makefile.in (ADA_CFLAGS): Substitute.
      	(T_ADA_CFLAGS, X_ADA_CFLAGS, ALL_ADA_CFLAGS): Remove.
      	(TOOLS_FLAGS_TO_PASS_1, TOOLS_FLAGS_TO_PASS_1re,
      	TOOLS_FLAGS_TO_PASS_NATIVE, TOOLS_FLAGS_TO_PASS_CROSS):
      	Pass ADA_CFLAGS.
      
      From-SVN: r138301
      Paolo Bonzini committed
  20. 08 Jun, 2008 1 commit
    • re PR tree-optimization/36218 (VRP causes stack overflow while building libgcj) · f8c33439
      	PR tree-optimization/36218
      	* Makefile.def (flags_to_pass): Add LDFLAGS_FOR_BUILD.
      	* Makefile.tpl (EXTRA_BUILD_FLAGS): Define.
      	(all prefix="build-"): Pass them to build-system sub-makes.
      	* Makefile.in: Regenerate.
      
      config:
      	* config/mh-mingw (LDFLAGS): Define.
      
      gcc:
      	* configure.ac: Use LDFLAGS="${LDFLAGS_FOR_BUILD}" when running
      	configure for the build system.
      	(BUILD_LDFLAGS): Define.
      	* configure: Regenerate.
      	* Makefile.in (BUILD_LDFLAGS): Define to @BUILD_LDFLAGS@.
      
      From-SVN: r136563
      Joseph Myers committed
  21. 07 Apr, 2008 1 commit
  22. 21 Mar, 2008 1 commit
  23. 13 Mar, 2008 1 commit
  24. 20 Feb, 2008 1 commit
    • re PR bootstrap/32009 (building gcc4-4.3/4.4.0-20070518 failed on OSX 10.3.9) · 1c8bd6a3
      2008-02-20  Paolo Bonzini  <bonzini@gnu.org>
      
              PR bootstrap/32009
              PR bootstrap/32161
      
              * configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Compute here.
              * configure: Regenerate.
      
              * Makefile.def: Define stage_libcflags for all bootstrap stages.
              * Makefile.tpl (STAGE1_LIBCFLAGS, STAGE2_LIBCFLAGS, STAGE3_LIBCFLAGS,
              STAGE4_LIBCFLAGS): New.
              (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Subst from autoconf, without
              $(SYSROOT_CFLAGS_FOR_TARGET) and $(DEBUG_PREFIX_CFLAGS_FOR_TARGET).
              (BASE_TARGET_EXPORTS): Append them here to C{,XX}FLAGS.
              (EXTRA_TARGET_FLAGS): Append them here to {LIB,}C{,XX}FLAGS.
              (configure-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags
              for target modules.  Don't export LIBCFLAGS.
              (all-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags; pass
              $(BASE_FLAGS_TO_PASS) where [+args+] was passed, and [+args+] after
              the overridden CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
              (invocations of `all'): Replace $(TARGET_FLAGS_TO_PASS) with
              $(EXTRA_TARGET_FLAGS), $(FLAGS_TO_PASS) with $(EXTRA_HOST_FLAGS).
              * Makefile.in: Regenerate.
      
      2008-02-20  Paolo Bonzini  <bonzini@gnu.org>
      
              PR bootstrap/32009
      
              * mh-ppc-darwin (BOOT_CFLAGS): Reenable.
      		
      2008-02-20  Paolo Bonzini  <bonzini@gnu.org>
      
              * doc/install.texi: Correct references to CFLAGS, replacing them
              with BOOT_CFLAGS.  Document flags used during bootstrap for
              target libraries.
      
      From-SVN: r132479
      Paolo Bonzini committed
  25. 23 Oct, 2007 1 commit
  26. 15 Oct, 2007 1 commit
  27. 12 Oct, 2007 1 commit
  28. 20 Sep, 2007 1 commit
  29. 17 Aug, 2007 1 commit
    • Makefile.def (STAGE2_CFLAGS, [...]): Add to flags_to_pass. · bb286d71
      ChangeLog:
      * Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS):
      Add to flags_to_pass.  Adjust uses of BOOT_CFLAGS.
      (bootstrap2-debug, bootstrap-debug): New bootstrap stages.
      * Makefile.tpl (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS): New.
      (do-compare, do-compare3, do-compare-debug): New.
      ([+compare-target+]): Use them.
      contrib/ChangeLog:
      * compare-debug: New.
      
      From-SVN: r127570
      Alexandre Oliva committed
  30. 02 Jul, 2007 1 commit
  31. 18 Jun, 2007 1 commit
  32. 16 May, 2007 1 commit
  33. 12 Mar, 2007 1 commit
  34. 02 Mar, 2007 1 commit
  35. 28 Feb, 2007 1 commit
    • revert: Makefile.def (dependencies): Add dependency for install-target-libssp… · d3dc619d
      revert: Makefile.def (dependencies): Add dependency for install-target-libssp and install-target-libgomp on install-gcc.
      
      2007-02-28  Eric Christopher  <echristo@apple.com>
      
         Revert:
         2006-12-07  Mike Stump  <mrs@apple.com>
      
             * Makefile.def (dependencies): Add dependency for
             install-target-libssp and install-target-libgomp on
             install-gcc.
             * Makefile.in: Regenerate.
      
      2007-02-28  Eric Christopher  <echristo@apple.com>
      
         * Makefile.in (install-include-dir): Don't rm -rf include.
      
      From-SVN: r122415
      Eric Christopher committed
  36. 23 Jan, 2007 1 commit
    • re PR bootstrap/30541 (Top-level should pass GNATBIND, GNATLINK and GNATMAKE variables down) · 5305be7e
      2007-01-23  Richard Guenther  <rguenther@suse.de>
      
      	PR bootstrap/30541
      	* Makefile.def (flags_to_pass): Add GNATBIND and GNATMAKE.
      	* Makefile.tpl (GNATBIND): Substitute it.
      	(GNATMAKE): Likewise.
      	(POSTSTAGE1_FLAGS_TO_PASS): Pass staged GNATBIND instead
      	of STAGE_PREFIX.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      
              config/
      	* acx.m4 (ACX_PROG_GNAT): Check for gnatmake.
      
      	libada/
      	* Makefile.in (STAGE_PREFIX): Do not define.
      	(FLAGS_TO_PASS): Do not pass STAGE_PREFIX.
      
      	gnattools/
      	* Makefile.in (STAGE_PREFIX): Do not define.
      
      	ada/
      	* Make-lang.in: Replace invocations of gnatmake with $(GNATMAKE).
      	(gnatboot2): Pass staged GNATMAKE instead of STAGE_PREFIX.
      	(gnatboot3): Likewise.
      	(GNATBIND): Do not define.
      	* Makefile.in (GNATBIND): Do not define.
      
      From-SVN: r121082
      Richard Guenther committed
  37. 11 Jan, 2007 1 commit
    • [multiple changes] · e69bf64b
      2007-01-11  Paolo Bonzini  <bonzini@gnu.org>
                  Nick Clifton  <nickc@redhat.com>
                  Kaveh R. Ghazi  <ghazi@caip.rutgets.edu>
      
              * configure.in (build_configargs, host_configargs, target_configargs):
              Remove build/host/target parameters.
              (host_libs): Add gmp and mpfr.
              (GMP tests): Reorganize to allow in-tree GMP/MPFR.
              * Makefile.def (gmp, mpfr): New.
              (gcc): Remove makefile target.
              * Makefile.tpl (build_os, build_vendor, host_os, host_vendor,
              target_os, target_vendor): New.
              (configure): Add host_alias/target_alias arguments.  Adjust invocations.
              * configure: Regenerate.
              * Makefile.in: Regenerate.
      
      2007-01-11  Matt Fago  <fago@earthlink.net>
      
      	* configure.in: Try to link to functions only in mpfr 2.2.x
              to improve robustness of configure tests.
      	* configure: Regenerate.
      
      From-SVN: r120671
      Paolo Bonzini committed
  38. 04 Jan, 2007 1 commit
    • Makefile.def (target_modules): Add libgcc. · fa958513
      ./	* Makefile.def (target_modules): Add libgcc.
      	(lang_env_dependencies): Remove default items.  Use no_c and no_gcc.
      	* Makefile.tpl (clean-target-libgcc): Delete.
      	(configure-target-[+module+]): Emit --disable-bootstrap dependencies
      	on gcc even for bootstrapped modules.  Rewrite handling of
      	lang_env_dependencies to loop over target_modules.
      	* configure.in (target_libraries): Add target-libgcc.
      	* Makefile.in, configure: Regenerated.
      gcc/
      	* config.gcc: Mention libgcc/config.host.
      	* Makefile.in: Update comments mentioning libgcc.
      	(LIBGCC, INSTALL_LIBGCC, GCC_PARTS, mklibgcc): Delete.
      	(all.cross, start.encap, rest.encap, rest.cross): Update
      	dependencies for libgcc move.
      	(libgcc.mk, LIBGCC_DEPS, libgcov.a, libgcc.a, stmp-multilib)
      	(clean-target, clean-target-libgcc): Delete.
      	(srcdirify, GCC_EXTRA_PARTS): New macros.
      	(libgcc-support, libgcc.mvars): New rules.
      	(distclean): Remove mention of mklibgcc.
      	(install): Don't reference INSTALL_LIBGCC.
      	(install-common): Don't reference EXTRA_PARTS.
      	(install-libgcc, install-multilib): Delete rules.
      	* mklibgcc.in: Delete file.
      	* doc/configfiles.texi: Don't mention mklibgcc.
      
      	* config/i386/t-darwin (SHLIB_VERPFX): Delete (moved to libgcc).
      	* config/i386/t-darwin64 (SHLIB_VERPFX): Likewise.
      	* config/rs6000/t-darwin (SHLIB_VERPFX): Likewise.
      	* config/rs6000/t-ppccomm (TARGET_LIBGCC2_CFLAGS, SHLIB_MAPFILES)
      	(mklibgcc, ldblspecs): Likewise.
      
      	* config/i386/t-nwld (libgcc.def, libc.def, libpcre.def)
      	(posixpre.def): Use $(T).
      	(SHLIB_EXT, SHLIB_NAME, SHLIB_SLIBDIR_QUAL, SHLIB_DEF, SHLIB_MAP)
      	(SHLIB_SRC, SHLIB_INSTALL): Delete.
      	(SHLIB_LINK): Make dummy.
      	* config/t-slibgcc-darwin: Delete contents except for dummy SHLIB_LINK.
      
      	* config/frv/t-linux (EXTRA_MULTILIB_PARTS): Clear.
      
      	* config/alpha/t-crtfm: Use $(T) in rules for EXTRA_PARTS.
      	* config/alpha/t-vms, config/alpha/t-vms64, config/fr30/t-fr30,
      	config/i386/t-rtems-i386, config/ia64/t-ia64, config/rs6000/t-beos,
      	config/rs6000/t-newas, config/sparc/t-elf: Likewise.
      
      	* configure.ac (all_outputs): Remove mklibgcc.
      	* configure: Regenerated.
      libgcc/
      	* Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
      	config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
      	config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
      	config/sparc/t-crtfm, config/t-slibgcc-darwin,
      	config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
      	shared-object.mk, siditi-object.mk, static-object.mk: New files.
      	* configure: Generated.
      
      Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
      
      From-SVN: r120429
      Daniel Jacobowitz committed
  39. 19 Dec, 2006 1 commit
    • re PR bootstrap/29544 (Not building with checking in stage1) · 8efea775
      2006-12-19  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR bootstrap/29544
      	* Makefile.def (flags_to_pass): Add STAGE1_CHECKING.
      	(bootstrap_stage): Add STAGE1_CHECKING to stage1 configure flags,
      	move here comment from Makefile.tpl.
      	* Makefile.tpl: Move some definitions higher in the file.
      	(STAGE1_CHECKING): New.
      	* configure.in: Add --enable-stage1-checking.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      
      gcc:
      2006-12-19  Paolo Bonzini  <bonzini@gnu.org>
      
      	* gcc/Makefile.in (STAGE1_CHECKING): Rename to...
      	(STAGE1_CHECKING_CFLAGS): ... this.
      
      From-SVN: r120048
      Paolo Bonzini committed