2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-03-23 03:30:30 +08:00
gcc/configure.ac
Gaius Mulley 1eee94d351 Merge modula-2 front end onto gcc.
This commit merges the devel/modula2 into master.
The libraries reside in libgm2, the compiler in gcc/m2
and the testsuite in gcc/testsuite/gm2.

ChangeLog:

	* configure.ac (target_libraries): Add target-libgm2.
	Add NCN_STRICT_CHECK_TARGET_TOOLS entry for gm2.
	Add GCC_TARGET_TOOL entry for gm2.  (compare_exclusions)
	add gcc/m2/gm2-compiler/M2Version,
	gcc/m2/gm2-compiler-boot/SYSTEM and gcc/m2/gm2version.
	* Makefile.def (target_modules): Add libgm2.  (flags_to_pass)
	Add GM2_FOR_TARGET, GM2FLAGS_FOR_TARGET.  (dependencies) Add
	all-target-libgm2 and on=all-target-libatomic.  (languages)
	Add entry for language=m2 with gcc-check-target=check-m2
	and lib-check-target=check-target-libgm2.
	* Makefile.tpl (BUILD_EXPORTS): Add definition for GM2
	and GM2FLAGS.  (HOST_EXPORTS) Add definition for GM2.
	(BASE_TARGET_EXPORTS) Add definition for GM2.
	(GM2_FOR_BUILD) Defined.  (GM2FLAGS) Defined.
	(GM2_FOR_TARGET) Defined.  (GM2FLAGS_FOR_TARGET) Defined.
	(EXTRA_HOST_FLAGS) Defined.  (POSTSTAGE1_FLAGS_TO_PASS)
	Add GM2 and GM2_FOR_BUILD.  (EXTRA_TARGET_FLAGS) Add
	GM2 and GM2FLAGS.  (EXTRA_GCC_FLAGS) Add GM2_FOR_TARGET.
	* configure: (Rebuilt).
	* Makefile.in: (Rebuilt).

libgm2/ChangeLog:

	* Makefile.am: (New file).
	* autogen.sh: (New file).
	* config.h.in: (New file).
	* configure.ac: (New file).
	* libm2cor/KeyBoardLEDs.cc: (New file).
	* libm2cor/Makefile.am: (New file).
	* libm2iso/ChanConsts.h: (New file).
	* libm2iso/ErrnoCategory.cc: (New file).
	* libm2iso/Makefile.am: (New file).
	* libm2iso/RTco.cc: (New file).
	* libm2iso/m2rts.h: (New file).
	* libm2iso/wrapsock.c: (New file).
	* libm2iso/wraptime.c: (New file).
	* libm2log/Break.c: (New file).
	* libm2log/Makefile.am: (New file).
	* libm2min/Makefile.am: (New file).
	* libm2min/libc.c: (New file).
	* libm2pim/Makefile.am: (New file).
	* libm2pim/Selective.cc: (New file).
	* libm2pim/SysExceptions.cc: (New file).
	* libm2pim/UnixArgs.cc: (New file).
	* libm2pim/cgetopt.cc: (New file).
	* libm2pim/dtoa.cc: (New file).
	* libm2pim/errno.cc: (New file).
	* libm2pim/ldtoa.cc: (New file).
	* libm2pim/sckt.cc: (New file).
	* libm2pim/target.c: (New file).
	* libm2pim/termios.cc: (New file).
	* libm2pim/wrapc.c: (New file).
	* configure: (Rebuilt).
	* libm2log/Makefile.in: (Rebuilt).
	* libm2min/Makefile.in: (Rebuilt).
	* libm2cor/Makefile.in: (Rebuilt).
	* libm2pim/Makefile.in: (Rebuilt).
	* libm2iso/Makefile.in: (Rebuilt).

gcc/ChangeLog:

	* configure.ac (HAVE_PYTHON): Test for Python3 added.
	* dwarf2out.cc (gen_compile_unit_die): Check language_string
	and language to DW_LANG_Modula2.
	* doc/install.texi: Add m2 as a language.  (--disable-libgm2)
	Documented.  Add make check-m2 to testing selected tests.
	* doc/sourcebuild.texi (GM2): New prerequisite item.
	(Python3 modules) New item.  (libgm2) Added.
	(gcc/m2) Added.
	* configure: (Rebuilt).
	* config.in: (Rebuilt).

gcc/m2/ChangeLog:

	* COPYING.FDL: (New file).
	* COPYING.RUNTIME: (New file).
	* COPYING3: (New file).
	* COPYING3.LIB: (New file).
	* Make-lang.in: (New file).
	* Make-maintainer.in: (New file).
	* NEWS: (New file).
	* README: (New file).
	* config-lang.in: (New file).
	* config-make.in: (New file).
	* configure.ac: (New file).
	* gm2-compiler/CLexBuf.def: (New file).
	* gm2-compiler/CLexBuf.mod: (New file).
	* gm2-compiler/FifoQueue.def: (New file).
	* gm2-compiler/FifoQueue.mod: (New file).
	* gm2-compiler/Lists.def: (New file).
	* gm2-compiler/Lists.mod: (New file).
	* gm2-compiler/M2ALU.def: (New file).
	* gm2-compiler/M2ALU.mod: (New file).
	* gm2-compiler/M2AsmUtil.def: (New file).
	* gm2-compiler/M2AsmUtil.mod: (New file).
	* gm2-compiler/M2Base.def: (New file).
	* gm2-compiler/M2Base.mod: (New file).
	* gm2-compiler/M2BasicBlock.def: (New file).
	* gm2-compiler/M2BasicBlock.mod: (New file).
	* gm2-compiler/M2Batch.def: (New file).
	* gm2-compiler/M2Batch.mod: (New file).
	* gm2-compiler/M2Bitset.def: (New file).
	* gm2-compiler/M2Bitset.mod: (New file).
	* gm2-compiler/M2CaseList.def: (New file).
	* gm2-compiler/M2CaseList.mod: (New file).
	* gm2-compiler/M2Check.def: (New file).
	* gm2-compiler/M2Check.mod: (New file).
	* gm2-compiler/M2Code.def: (New file).
	* gm2-compiler/M2Code.mod: (New file).
	* gm2-compiler/M2ColorString.def: (New file).
	* gm2-compiler/M2ColorString.mod: (New file).
	* gm2-compiler/M2Comp.def: (New file).
	* gm2-compiler/M2Comp.mod: (New file).
	* gm2-compiler/M2Const.def: (New file).
	* gm2-compiler/M2Const.mod: (New file).
	* gm2-compiler/M2Debug.def: (New file).
	* gm2-compiler/M2Debug.mod: (New file).
	* gm2-compiler/M2DebugStack.def: (New file).
	* gm2-compiler/M2DebugStack.mod: (New file).
	* gm2-compiler/M2Defaults.def: (New file).
	* gm2-compiler/M2Defaults.mod: (New file).
	* gm2-compiler/M2DriverOptions.def: (New file).
	* gm2-compiler/M2DriverOptions.mod: (New file).
	* gm2-compiler/M2Emit.def: (New file).
	* gm2-compiler/M2Emit.mod: (New file).
	* gm2-compiler/M2Error.def: (New file).
	* gm2-compiler/M2Error.mod: (New file).
	* gm2-compiler/M2EvalSym.def: (New file).
	* gm2-compiler/M2FileName.def: (New file).
	* gm2-compiler/M2FileName.mod: (New file).
	* gm2-compiler/M2GCCDeclare.def: (New file).
	* gm2-compiler/M2GCCDeclare.mod: (New file).
	* gm2-compiler/M2GenGCC.def: (New file).
	* gm2-compiler/M2GenGCC.mod: (New file).
	* gm2-compiler/M2Graph.def: (New file).
	* gm2-compiler/M2Graph.mod: (New file).
	* gm2-compiler/M2Lex.def: (New file).
	* gm2-compiler/M2Lex.mod: (New file).
	* gm2-compiler/M2LexBuf.def: (New file).
	* gm2-compiler/M2LexBuf.mod: (New file).
	* gm2-compiler/M2MetaError.def: (New file).
	* gm2-compiler/M2MetaError.mod: (New file).
	* gm2-compiler/M2Optimize.def: (New file).
	* gm2-compiler/M2Optimize.mod: (New file).
	* gm2-compiler/M2Options.def: (New file).
	* gm2-compiler/M2Options.mod: (New file).
	* gm2-compiler/M2Pass.def: (New file).
	* gm2-compiler/M2Pass.mod: (New file).
	* gm2-compiler/M2Preprocess.def: (New file).
	* gm2-compiler/M2Preprocess.mod: (New file).
	* gm2-compiler/M2Printf.def: (New file).
	* gm2-compiler/M2Printf.mod: (New file).
	* gm2-compiler/M2Quads.def: (New file).
	* gm2-compiler/M2Quads.mod: (New file).
	* gm2-compiler/M2Quiet.def: (New file).
	* gm2-compiler/M2Quiet.mod: (New file).
	* gm2-compiler/M2Range.def: (New file).
	* gm2-compiler/M2Range.mod: (New file).
	* gm2-compiler/M2Reserved.def: (New file).
	* gm2-compiler/M2Reserved.mod: (New file).
	* gm2-compiler/M2SSA.def: (New file).
	* gm2-compiler/M2SSA.mod: (New file).
	* gm2-compiler/M2Scaffold.def: (New file).
	* gm2-compiler/M2Scaffold.mod: (New file).
	* gm2-compiler/M2Scope.def: (New file).
	* gm2-compiler/M2Scope.mod: (New file).
	* gm2-compiler/M2Search.def: (New file).
	* gm2-compiler/M2Search.mod: (New file).
	* gm2-compiler/M2Size.def: (New file).
	* gm2-compiler/M2Size.mod: (New file).
	* gm2-compiler/M2StackAddress.def: (New file).
	* gm2-compiler/M2StackAddress.mod: (New file).
	* gm2-compiler/M2StackWord.def: (New file).
	* gm2-compiler/M2StackWord.mod: (New file).
	* gm2-compiler/M2Students.def: (New file).
	* gm2-compiler/M2Students.mod: (New file).
	* gm2-compiler/M2Swig.def: (New file).
	* gm2-compiler/M2Swig.mod: (New file).
	* gm2-compiler/M2System.def: (New file).
	* gm2-compiler/M2System.mod: (New file).
	* gm2-compiler/M2Version.def: (New file).
	* gm2-compiler/NameKey.def: (New file).
	* gm2-compiler/NameKey.mod: (New file).
	* gm2-compiler/ObjectFiles.def: (New file).
	* gm2-compiler/ObjectFiles.mod: (New file).
	* gm2-compiler/Output.def: (New file).
	* gm2-compiler/Output.mod: (New file).
	* gm2-compiler/P0SymBuild.def: (New file).
	* gm2-compiler/P0SymBuild.mod: (New file).
	* gm2-compiler/P0SyntaxCheck.bnf: (New file).
	* gm2-compiler/P0SyntaxCheck.def: (New file).
	* gm2-compiler/P1Build.bnf: (New file).
	* gm2-compiler/P1Build.def: (New file).
	* gm2-compiler/P1SymBuild.def: (New file).
	* gm2-compiler/P1SymBuild.mod: (New file).
	* gm2-compiler/P2Build.bnf: (New file).
	* gm2-compiler/P2Build.def: (New file).
	* gm2-compiler/P2SymBuild.def: (New file).
	* gm2-compiler/P2SymBuild.mod: (New file).
	* gm2-compiler/P3Build.bnf: (New file).
	* gm2-compiler/P3Build.def: (New file).
	* gm2-compiler/P3SymBuild.def: (New file).
	* gm2-compiler/P3SymBuild.mod: (New file).
	* gm2-compiler/PCBuild.bnf: (New file).
	* gm2-compiler/PCBuild.def: (New file).
	* gm2-compiler/PCSymBuild.def: (New file).
	* gm2-compiler/PCSymBuild.mod: (New file).
	* gm2-compiler/PHBuild.bnf: (New file).
	* gm2-compiler/PHBuild.def: (New file).
	* gm2-compiler/README: (New file).
	* gm2-compiler/Sets.def: (New file).
	* gm2-compiler/Sets.mod: (New file).
	* gm2-compiler/SymbolConversion.def: (New file).
	* gm2-compiler/SymbolConversion.mod: (New file).
	* gm2-compiler/SymbolKey.def: (New file).
	* gm2-compiler/SymbolKey.mod: (New file).
	* gm2-compiler/SymbolTable.def: (New file).
	* gm2-compiler/SymbolTable.mod: (New file).
	* gm2-compiler/bnflex.def: (New file).
	* gm2-compiler/bnflex.mod: (New file).
	* gm2-compiler/cflex.def: (New file).
	* gm2-compiler/gm2.mod: (New file).
	* gm2-compiler/gm2lcc.mod: (New file).
	* gm2-compiler/gm2lgen.mod: (New file).
	* gm2-compiler/gm2lorder.mod: (New file).
	* gm2-compiler/m2flex.def: (New file).
	* gm2-compiler/ppg.mod: (New file).
	* gm2-gcc/README: (New file).
	* gm2-gcc/dynamicstrings.h: (New file).
	* gm2-gcc/gcc-consolidation.h: (New file).
	* gm2-gcc/init.cc: (New file).
	* gm2-gcc/init.def: (New file).
	* gm2-gcc/init.h: (New file).
	* gm2-gcc/m2assert.cc: (New file).
	* gm2-gcc/m2assert.h: (New file).
	* gm2-gcc/m2block.cc: (New file).
	* gm2-gcc/m2block.def: (New file).
	* gm2-gcc/m2block.h: (New file).
	* gm2-gcc/m2builtins.cc: (New file).
	* gm2-gcc/m2builtins.def: (New file).
	* gm2-gcc/m2builtins.h: (New file).
	* gm2-gcc/m2color.cc: (New file).
	* gm2-gcc/m2color.def: (New file).
	* gm2-gcc/m2color.h: (New file).
	* gm2-gcc/m2configure.cc: (New file).
	* gm2-gcc/m2configure.def: (New file).
	* gm2-gcc/m2configure.h: (New file).
	* gm2-gcc/m2convert.cc: (New file).
	* gm2-gcc/m2convert.def: (New file).
	* gm2-gcc/m2convert.h: (New file).
	* gm2-gcc/m2decl.cc: (New file).
	* gm2-gcc/m2decl.def: (New file).
	* gm2-gcc/m2decl.h: (New file).
	* gm2-gcc/m2except.cc: (New file).
	* gm2-gcc/m2except.def: (New file).
	* gm2-gcc/m2except.h: (New file).
	* gm2-gcc/m2expr.cc: (New file).
	* gm2-gcc/m2expr.def: (New file).
	* gm2-gcc/m2expr.h: (New file).
	* gm2-gcc/m2linemap.cc: (New file).
	* gm2-gcc/m2linemap.def: (New file).
	* gm2-gcc/m2linemap.h: (New file).
	* gm2-gcc/m2misc.cc: (New file).
	* gm2-gcc/m2misc.def: (New file).
	* gm2-gcc/m2misc.h: (New file).
	* gm2-gcc/m2options.h: (New file).
	* gm2-gcc/m2range.h: (New file).
	* gm2-gcc/m2search.h: (New file).
	* gm2-gcc/m2statement.cc: (New file).
	* gm2-gcc/m2statement.def: (New file).
	* gm2-gcc/m2statement.h: (New file).
	* gm2-gcc/m2top.cc: (New file).
	* gm2-gcc/m2top.def: (New file).
	* gm2-gcc/m2top.h: (New file).
	* gm2-gcc/m2tree.cc: (New file).
	* gm2-gcc/m2tree.def: (New file).
	* gm2-gcc/m2tree.h: (New file).
	* gm2-gcc/m2treelib.cc: (New file).
	* gm2-gcc/m2treelib.def: (New file).
	* gm2-gcc/m2treelib.h: (New file).
	* gm2-gcc/m2type.cc: (New file).
	* gm2-gcc/m2type.def: (New file).
	* gm2-gcc/m2type.h: (New file).
	* gm2-gcc/rtegraph.cc: (New file).
	* gm2-gcc/rtegraph.h: (New file).
	* gm2-ici/M2Emit.mod: (New file).
	* gm2-ici/README: (New file).
	* gm2-ici/m2linemap.c: (New file).
	* gm2-internals.texi: (New file).
	* gm2-lang.cc: (New file).
	* gm2-lang.h: (New file).
	* gm2-libiberty/README: (New file).
	* gm2-libiberty/choosetemp.def: (New file).
	* gm2-libiberty/pexecute.def: (New file).
	* gm2-libs-ch/M2LINK.c: (New file).
	* gm2-libs-ch/README: (New file).
	* gm2-libs-ch/RTcodummy.c: (New file).
	* gm2-libs-ch/RTintdummy.c: (New file).
	* gm2-libs-ch/Selective.c: (New file).
	* gm2-libs-ch/SysExceptions.c: (New file).
	* gm2-libs-ch/UnixArgs.cc: (New file).
	* gm2-libs-ch/cgetopt.c: (New file).
	* gm2-libs-ch/choosetemp.c: (New file).
	* gm2-libs-ch/dtoa.cc: (New file).
	* gm2-libs-ch/errno.c: (New file).
	* gm2-libs-ch/host.c: (New file).
	* gm2-libs-ch/ldtoa.cc: (New file).
	* gm2-libs-ch/m2rts.h: (New file).
	* gm2-libs-ch/termios.c: (New file).
	* gm2-libs-ch/tools.c: (New file).
	* gm2-libs-ch/wrapc.c: (New file).
	* gm2-libs-ch/xlibc.c: (New file).
	* gm2-libs-coroutines/Debug.def: (New file).
	* gm2-libs-coroutines/Debug.mod: (New file).
	* gm2-libs-coroutines/Executive.def: (New file).
	* gm2-libs-coroutines/Executive.mod: (New file).
	* gm2-libs-coroutines/KeyBoardLEDs.def: (New file).
	* gm2-libs-coroutines/README.texi: (New file).
	* gm2-libs-coroutines/SYSTEM.def: (New file).
	* gm2-libs-coroutines/SYSTEM.mod: (New file).
	* gm2-libs-coroutines/TimerHandler.def: (New file).
	* gm2-libs-coroutines/TimerHandler.mod: (New file).
	* gm2-libs-iso/COROUTINES.def: (New file).
	* gm2-libs-iso/COROUTINES.mod: (New file).
	* gm2-libs-iso/ChanConsts.def: (New file).
	* gm2-libs-iso/ChanConsts.h: (New file).
	* gm2-libs-iso/ChanConsts.mod: (New file).
	* gm2-libs-iso/CharClass.def: (New file).
	* gm2-libs-iso/CharClass.mod: (New file).
	* gm2-libs-iso/ClientSocket.def: (New file).
	* gm2-libs-iso/ClientSocket.mod: (New file).
	* gm2-libs-iso/ComplexMath.def: (New file).
	* gm2-libs-iso/ComplexMath.mod: (New file).
	* gm2-libs-iso/ConvStringLong.def: (New file).
	* gm2-libs-iso/ConvStringLong.mod: (New file).
	* gm2-libs-iso/ConvStringReal.def: (New file).
	* gm2-libs-iso/ConvStringReal.mod: (New file).
	* gm2-libs-iso/ConvTypes.def: (New file).
	* gm2-libs-iso/ConvTypes.mod: (New file).
	* gm2-libs-iso/EXCEPTIONS.def: (New file).
	* gm2-libs-iso/EXCEPTIONS.mod: (New file).
	* gm2-libs-iso/ErrnoCategory.def: (New file).
	* gm2-libs-iso/GeneralUserExceptions.def: (New file).
	* gm2-libs-iso/GeneralUserExceptions.mod: (New file).
	* gm2-libs-iso/IOChan.def: (New file).
	* gm2-libs-iso/IOChan.mod: (New file).
	* gm2-libs-iso/IOConsts.def: (New file).
	* gm2-libs-iso/IOConsts.mod: (New file).
	* gm2-libs-iso/IOLink.def: (New file).
	* gm2-libs-iso/IOLink.mod: (New file).
	* gm2-libs-iso/IOResult.def: (New file).
	* gm2-libs-iso/IOResult.mod: (New file).
	* gm2-libs-iso/LongComplexMath.def: (New file).
	* gm2-libs-iso/LongComplexMath.mod: (New file).
	* gm2-libs-iso/LongConv.def: (New file).
	* gm2-libs-iso/LongConv.mod: (New file).
	* gm2-libs-iso/LongIO.def: (New file).
	* gm2-libs-iso/LongIO.mod: (New file).
	* gm2-libs-iso/LongMath.def: (New file).
	* gm2-libs-iso/LongMath.mod: (New file).
	* gm2-libs-iso/LongStr.def: (New file).
	* gm2-libs-iso/LongStr.mod: (New file).
	* gm2-libs-iso/LongWholeIO.def: (New file).
	* gm2-libs-iso/LongWholeIO.mod: (New file).
	* gm2-libs-iso/LowLong.def: (New file).
	* gm2-libs-iso/LowLong.mod: (New file).
	* gm2-libs-iso/LowReal.def: (New file).
	* gm2-libs-iso/LowReal.mod: (New file).
	* gm2-libs-iso/LowShort.def: (New file).
	* gm2-libs-iso/LowShort.mod: (New file).
	* gm2-libs-iso/M2EXCEPTION.def: (New file).
	* gm2-libs-iso/M2EXCEPTION.mod: (New file).
	* gm2-libs-iso/M2RTS.def: (New file).
	* gm2-libs-iso/M2RTS.mod: (New file).
	* gm2-libs-iso/MemStream.def: (New file).
	* gm2-libs-iso/MemStream.mod: (New file).
	* gm2-libs-iso/Preemptive.def: (New file).
	* gm2-libs-iso/Preemptive.mod: (New file).
	* gm2-libs-iso/Processes.def: (New file).
	* gm2-libs-iso/Processes.mod: (New file).
	* gm2-libs-iso/ProgramArgs.def: (New file).
	* gm2-libs-iso/ProgramArgs.mod: (New file).
	* gm2-libs-iso/README.texi: (New file).
	* gm2-libs-iso/RTco.def: (New file).
	* gm2-libs-iso/RTdata.def: (New file).
	* gm2-libs-iso/RTdata.mod: (New file).
	* gm2-libs-iso/RTentity.def: (New file).
	* gm2-libs-iso/RTentity.mod: (New file).
	* gm2-libs-iso/RTfio.def: (New file).
	* gm2-libs-iso/RTfio.mod: (New file).
	* gm2-libs-iso/RTgen.def: (New file).
	* gm2-libs-iso/RTgen.mod: (New file).
	* gm2-libs-iso/RTgenif.def: (New file).
	* gm2-libs-iso/RTgenif.mod: (New file).
	* gm2-libs-iso/RTio.def: (New file).
	* gm2-libs-iso/RTio.mod: (New file).
	* gm2-libs-iso/RandomNumber.def: (New file).
	* gm2-libs-iso/RandomNumber.mod: (New file).
	* gm2-libs-iso/RawIO.def: (New file).
	* gm2-libs-iso/RawIO.mod: (New file).
	* gm2-libs-iso/RealConv.def: (New file).
	* gm2-libs-iso/RealConv.mod: (New file).
	* gm2-libs-iso/RealIO.def: (New file).
	* gm2-libs-iso/RealIO.mod: (New file).
	* gm2-libs-iso/RealMath.def: (New file).
	* gm2-libs-iso/RealMath.mod: (New file).
	* gm2-libs-iso/RealStr.def: (New file).
	* gm2-libs-iso/RealStr.mod: (New file).
	* gm2-libs-iso/RndFile.def: (New file).
	* gm2-libs-iso/RndFile.mod: (New file).
	* gm2-libs-iso/SIOResult.def: (New file).
	* gm2-libs-iso/SIOResult.mod: (New file).
	* gm2-libs-iso/SLongIO.def: (New file).
	* gm2-libs-iso/SLongIO.mod: (New file).
	* gm2-libs-iso/SLongWholeIO.def: (New file).
	* gm2-libs-iso/SLongWholeIO.mod: (New file).
	* gm2-libs-iso/SRawIO.def: (New file).
	* gm2-libs-iso/SRawIO.mod: (New file).
	* gm2-libs-iso/SRealIO.def: (New file).
	* gm2-libs-iso/SRealIO.mod: (New file).
	* gm2-libs-iso/SShortIO.def: (New file).
	* gm2-libs-iso/SShortIO.mod: (New file).
	* gm2-libs-iso/SShortWholeIO.def: (New file).
	* gm2-libs-iso/SShortWholeIO.mod: (New file).
	* gm2-libs-iso/STextIO.def: (New file).
	* gm2-libs-iso/STextIO.mod: (New file).
	* gm2-libs-iso/SWholeIO.def: (New file).
	* gm2-libs-iso/SWholeIO.mod: (New file).
	* gm2-libs-iso/SYSTEM.def: (New file).
	* gm2-libs-iso/SYSTEM.mod: (New file).
	* gm2-libs-iso/Semaphores.def: (New file).
	* gm2-libs-iso/Semaphores.mod: (New file).
	* gm2-libs-iso/SeqFile.def: (New file).
	* gm2-libs-iso/SeqFile.mod: (New file).
	* gm2-libs-iso/ShortComplexMath.def: (New file).
	* gm2-libs-iso/ShortComplexMath.mod: (New file).
	* gm2-libs-iso/ShortIO.def: (New file).
	* gm2-libs-iso/ShortIO.mod: (New file).
	* gm2-libs-iso/ShortWholeIO.def: (New file).
	* gm2-libs-iso/ShortWholeIO.mod: (New file).
	* gm2-libs-iso/SimpleCipher.def: (New file).
	* gm2-libs-iso/SimpleCipher.mod: (New file).
	* gm2-libs-iso/StdChans.def: (New file).
	* gm2-libs-iso/StdChans.mod: (New file).
	* gm2-libs-iso/Storage.def: (New file).
	* gm2-libs-iso/Storage.mod: (New file).
	* gm2-libs-iso/StreamFile.def: (New file).
	* gm2-libs-iso/StreamFile.mod: (New file).
	* gm2-libs-iso/StringChan.def: (New file).
	* gm2-libs-iso/StringChan.mod: (New file).
	* gm2-libs-iso/Strings.def: (New file).
	* gm2-libs-iso/Strings.mod: (New file).
	* gm2-libs-iso/SysClock.def: (New file).
	* gm2-libs-iso/SysClock.mod: (New file).
	* gm2-libs-iso/TERMINATION.def: (New file).
	* gm2-libs-iso/TERMINATION.mod: (New file).
	* gm2-libs-iso/TermFile.def: (New file).
	* gm2-libs-iso/TermFile.mod: (New file).
	* gm2-libs-iso/TextIO.def: (New file).
	* gm2-libs-iso/TextIO.mod: (New file).
	* gm2-libs-iso/WholeConv.def: (New file).
	* gm2-libs-iso/WholeConv.mod: (New file).
	* gm2-libs-iso/WholeIO.def: (New file).
	* gm2-libs-iso/WholeIO.mod: (New file).
	* gm2-libs-iso/WholeStr.def: (New file).
	* gm2-libs-iso/WholeStr.mod: (New file).
	* gm2-libs-iso/wrapsock.c: (New file).
	* gm2-libs-iso/wrapsock.def: (New file).
	* gm2-libs-iso/wraptime.c: (New file).
	* gm2-libs-iso/wraptime.def: (New file).
	* gm2-libs-min/M2RTS.def: (New file).
	* gm2-libs-min/M2RTS.mod: (New file).
	* gm2-libs-min/SYSTEM.def: (New file).
	* gm2-libs-min/SYSTEM.mod: (New file).
	* gm2-libs-min/libc.c: (New file).
	* gm2-libs-min/libc.def: (New file).
	* gm2-libs-pim/BitBlockOps.def: (New file).
	* gm2-libs-pim/BitBlockOps.mod: (New file).
	* gm2-libs-pim/BitByteOps.def: (New file).
	* gm2-libs-pim/BitByteOps.mod: (New file).
	* gm2-libs-pim/BitWordOps.def: (New file).
	* gm2-libs-pim/BitWordOps.mod: (New file).
	* gm2-libs-pim/BlockOps.def: (New file).
	* gm2-libs-pim/BlockOps.mod: (New file).
	* gm2-libs-pim/Break.c: (New file).
	* gm2-libs-pim/Break.def: (New file).
	* gm2-libs-pim/CardinalIO.def: (New file).
	* gm2-libs-pim/CardinalIO.mod: (New file).
	* gm2-libs-pim/Conversions.def: (New file).
	* gm2-libs-pim/Conversions.mod: (New file).
	* gm2-libs-pim/DebugPMD.def: (New file).
	* gm2-libs-pim/DebugPMD.mod: (New file).
	* gm2-libs-pim/DebugTrace.def: (New file).
	* gm2-libs-pim/DebugTrace.mod: (New file).
	* gm2-libs-pim/Delay.def: (New file).
	* gm2-libs-pim/Delay.mod: (New file).
	* gm2-libs-pim/Display.def: (New file).
	* gm2-libs-pim/Display.mod: (New file).
	* gm2-libs-pim/ErrorCode.def: (New file).
	* gm2-libs-pim/ErrorCode.mod: (New file).
	* gm2-libs-pim/FileSystem.def: (New file).
	* gm2-libs-pim/FileSystem.mod: (New file).
	* gm2-libs-pim/FloatingUtilities.def: (New file).
	* gm2-libs-pim/FloatingUtilities.mod: (New file).
	* gm2-libs-pim/InOut.def: (New file).
	* gm2-libs-pim/InOut.mod: (New file).
	* gm2-libs-pim/Keyboard.def: (New file).
	* gm2-libs-pim/Keyboard.mod: (New file).
	* gm2-libs-pim/LongIO.def: (New file).
	* gm2-libs-pim/LongIO.mod: (New file).
	* gm2-libs-pim/NumberConversion.def: (New file).
	* gm2-libs-pim/NumberConversion.mod: (New file).
	* gm2-libs-pim/README.texi: (New file).
	* gm2-libs-pim/Random.def: (New file).
	* gm2-libs-pim/Random.mod: (New file).
	* gm2-libs-pim/RealConversions.def: (New file).
	* gm2-libs-pim/RealConversions.mod: (New file).
	* gm2-libs-pim/RealInOut.def: (New file).
	* gm2-libs-pim/RealInOut.mod: (New file).
	* gm2-libs-pim/Strings.def: (New file).
	* gm2-libs-pim/Strings.mod: (New file).
	* gm2-libs-pim/Termbase.def: (New file).
	* gm2-libs-pim/Termbase.mod: (New file).
	* gm2-libs-pim/Terminal.def: (New file).
	* gm2-libs-pim/Terminal.mod: (New file).
	* gm2-libs-pim/TimeDate.def: (New file).
	* gm2-libs-pim/TimeDate.mod: (New file).
	* gm2-libs/ASCII.def: (New file).
	* gm2-libs/ASCII.mod: (New file).
	* gm2-libs/Args.def: (New file).
	* gm2-libs/Args.mod: (New file).
	* gm2-libs/Assertion.def: (New file).
	* gm2-libs/Assertion.mod: (New file).
	* gm2-libs/Break.def: (New file).
	* gm2-libs/Break.mod: (New file).
	* gm2-libs/Builtins.def: (New file).
	* gm2-libs/Builtins.mod: (New file).
	* gm2-libs/COROUTINES.def: (New file).
	* gm2-libs/COROUTINES.mod: (New file).
	* gm2-libs/CmdArgs.def: (New file).
	* gm2-libs/CmdArgs.mod: (New file).
	* gm2-libs/Debug.def: (New file).
	* gm2-libs/Debug.mod: (New file).
	* gm2-libs/DynamicStrings.def: (New file).
	* gm2-libs/DynamicStrings.mod: (New file).
	* gm2-libs/Environment.def: (New file).
	* gm2-libs/Environment.mod: (New file).
	* gm2-libs/FIO.def: (New file).
	* gm2-libs/FIO.mod: (New file).
	* gm2-libs/FormatStrings.def: (New file).
	* gm2-libs/FormatStrings.mod: (New file).
	* gm2-libs/FpuIO.def: (New file).
	* gm2-libs/FpuIO.mod: (New file).
	* gm2-libs/GetOpt.def: (New file).
	* gm2-libs/GetOpt.mod: (New file).
	* gm2-libs/IO.def: (New file).
	* gm2-libs/IO.mod: (New file).
	* gm2-libs/Indexing.def: (New file).
	* gm2-libs/Indexing.mod: (New file).
	* gm2-libs/LMathLib0.def: (New file).
	* gm2-libs/LMathLib0.mod: (New file).
	* gm2-libs/LegacyReal.def: (New file).
	* gm2-libs/LegacyReal.mod: (New file).
	* gm2-libs/M2Dependent.def: (New file).
	* gm2-libs/M2Dependent.mod: (New file).
	* gm2-libs/M2EXCEPTION.def: (New file).
	* gm2-libs/M2EXCEPTION.mod: (New file).
	* gm2-libs/M2LINK.def: (New file).
	* gm2-libs/M2RTS.def: (New file).
	* gm2-libs/M2RTS.mod: (New file).
	* gm2-libs/MathLib0.def: (New file).
	* gm2-libs/MathLib0.mod: (New file).
	* gm2-libs/MemUtils.def: (New file).
	* gm2-libs/MemUtils.mod: (New file).
	* gm2-libs/NumberIO.def: (New file).
	* gm2-libs/NumberIO.mod: (New file).
	* gm2-libs/OptLib.def: (New file).
	* gm2-libs/OptLib.mod: (New file).
	* gm2-libs/PushBackInput.def: (New file).
	* gm2-libs/PushBackInput.mod: (New file).
	* gm2-libs/README.texi: (New file).
	* gm2-libs/RTExceptions.def: (New file).
	* gm2-libs/RTExceptions.mod: (New file).
	* gm2-libs/RTint.def: (New file).
	* gm2-libs/RTint.mod: (New file).
	* gm2-libs/SArgs.def: (New file).
	* gm2-libs/SArgs.mod: (New file).
	* gm2-libs/SCmdArgs.def: (New file).
	* gm2-libs/SCmdArgs.mod: (New file).
	* gm2-libs/SEnvironment.def: (New file).
	* gm2-libs/SEnvironment.mod: (New file).
	* gm2-libs/SFIO.def: (New file).
	* gm2-libs/SFIO.mod: (New file).
	* gm2-libs/SMathLib0.def: (New file).
	* gm2-libs/SMathLib0.mod: (New file).
	* gm2-libs/SYSTEM.def: (New file).
	* gm2-libs/SYSTEM.mod: (New file).
	* gm2-libs/Scan.def: (New file).
	* gm2-libs/Scan.mod: (New file).
	* gm2-libs/Selective.def: (New file).
	* gm2-libs/StdIO.def: (New file).
	* gm2-libs/StdIO.mod: (New file).
	* gm2-libs/Storage.def: (New file).
	* gm2-libs/Storage.mod: (New file).
	* gm2-libs/StrCase.def: (New file).
	* gm2-libs/StrCase.mod: (New file).
	* gm2-libs/StrIO.def: (New file).
	* gm2-libs/StrIO.mod: (New file).
	* gm2-libs/StrLib.def: (New file).
	* gm2-libs/StrLib.mod: (New file).
	* gm2-libs/StringConvert.def: (New file).
	* gm2-libs/StringConvert.mod: (New file).
	* gm2-libs/SysExceptions.def: (New file).
	* gm2-libs/SysStorage.def: (New file).
	* gm2-libs/SysStorage.mod: (New file).
	* gm2-libs/TimeString.def: (New file).
	* gm2-libs/TimeString.mod: (New file).
	* gm2-libs/UnixArgs.def: (New file).
	* gm2-libs/cbuiltin.def: (New file).
	* gm2-libs/cgetopt.def: (New file).
	* gm2-libs/config-host: (New file).
	* gm2-libs/config-host.in: (New file).
	* gm2-libs/cxxabi.def: (New file).
	* gm2-libs/dtoa.def: (New file).
	* gm2-libs/errno.def: (New file).
	* gm2-libs/gdbif.def: (New file).
	* gm2-libs/gdbif.mod: (New file).
	* gm2-libs/gm2-libs-host.h.in: (New file).
	* gm2-libs/ldtoa.def: (New file).
	* gm2-libs/libc.def: (New file).
	* gm2-libs/libm.def: (New file).
	* gm2-libs/sckt.def: (New file).
	* gm2-libs/termios.def: (New file).
	* gm2-libs/wrapc.def: (New file).
	* gm2config.h.in: (New file).
	* gm2spec.cc: (New file).
	* gm2version.h: (New file).
	* init/README: (New file).
	* init/mcinit: (New file).
	* init/ppginit: (New file).
	* lang-specs.h: (New file).
	* lang.opt: (New file).
	* m2-tree.def: (New file).
	* m2-tree.h: (New file).
	* m2.flex: (New file).
	* m2pp.cc: (New file).
	* m2pp.h: (New file).
	* mc-boot-ch/GBuiltins.c: (New file).
	* mc-boot-ch/GM2LINK.c: (New file).
	* mc-boot-ch/GRTco.c: (New file).
	* mc-boot-ch/GSYSTEM.c: (New file).
	* mc-boot-ch/GSelective.c: (New file).
	* mc-boot-ch/GSysExceptions.c: (New file).
	* mc-boot-ch/GUnixArgs.cc: (New file).
	* mc-boot-ch/Gabort.c: (New file).
	* mc-boot-ch/Gcbuiltin.c: (New file).
	* mc-boot-ch/Gdtoa.c: (New file).
	* mc-boot-ch/Gerrno.c: (New file).
	* mc-boot-ch/Gldtoa.c: (New file).
	* mc-boot-ch/Glibc.c: (New file).
	* mc-boot-ch/Glibm.c: (New file).
	* mc-boot-ch/Gmcrts.c: (New file).
	* mc-boot-ch/Gmcrts.h: (New file).
	* mc-boot-ch/Gnetwork.h: (New file).
	* mc-boot-ch/Gtermios.cc: (New file).
	* mc-boot-ch/Gwrapc.c: (New file).
	* mc-boot-ch/README: (New file).
	* mc-boot-ch/m2rts.h: (New file).
	* mc-boot-ch/network.c: (New file).
	* mc-boot/GASCII.c: (New file).
	* mc-boot/GASCII.h: (New file).
	* mc-boot/GArgs.c: (New file).
	* mc-boot/GArgs.h: (New file).
	* mc-boot/GAssertion.c: (New file).
	* mc-boot/GAssertion.h: (New file).
	* mc-boot/GBreak.c: (New file).
	* mc-boot/GBreak.h: (New file).
	* mc-boot/GCOROUTINES.h: (New file).
	* mc-boot/GCmdArgs.c: (New file).
	* mc-boot/GCmdArgs.h: (New file).
	* mc-boot/GDebug.c: (New file).
	* mc-boot/GDebug.h: (New file).
	* mc-boot/GDynamicStrings.c: (New file).
	* mc-boot/GDynamicStrings.h: (New file).
	* mc-boot/GEnvironment.c: (New file).
	* mc-boot/GEnvironment.h: (New file).
	* mc-boot/GFIO.c: (New file).
	* mc-boot/GFIO.h: (New file).
	* mc-boot/GFormatStrings.c: (New file).
	* mc-boot/GFormatStrings.h: (New file).
	* mc-boot/GFpuIO.c: (New file).
	* mc-boot/GFpuIO.h: (New file).
	* mc-boot/GIO.c: (New file).
	* mc-boot/GIO.h: (New file).
	* mc-boot/GIndexing.c: (New file).
	* mc-boot/GIndexing.h: (New file).
	* mc-boot/GM2Dependent.c: (New file).
	* mc-boot/GM2Dependent.h: (New file).
	* mc-boot/GM2EXCEPTION.c: (New file).
	* mc-boot/GM2EXCEPTION.h: (New file).
	* mc-boot/GM2LINK.h: (New file).
	* mc-boot/GM2RTS.c: (New file).
	* mc-boot/GM2RTS.h: (New file).
	* mc-boot/GMemUtils.c: (New file).
	* mc-boot/GMemUtils.h: (New file).
	* mc-boot/GNumberIO.c: (New file).
	* mc-boot/GNumberIO.h: (New file).
	* mc-boot/GPushBackInput.c: (New file).
	* mc-boot/GPushBackInput.h: (New file).
	* mc-boot/GRTExceptions.c: (New file).
	* mc-boot/GRTExceptions.h: (New file).
	* mc-boot/GRTco.h: (New file).
	* mc-boot/GRTint.c: (New file).
	* mc-boot/GRTint.h: (New file).
	* mc-boot/GSArgs.c: (New file).
	* mc-boot/GSArgs.h: (New file).
	* mc-boot/GSFIO.c: (New file).
	* mc-boot/GSFIO.h: (New file).
	* mc-boot/GSYSTEM.h: (New file).
	* mc-boot/GSelective.h: (New file).
	* mc-boot/GStdIO.c: (New file).
	* mc-boot/GStdIO.h: (New file).
	* mc-boot/GStorage.c: (New file).
	* mc-boot/GStorage.h: (New file).
	* mc-boot/GStrCase.c: (New file).
	* mc-boot/GStrCase.h: (New file).
	* mc-boot/GStrIO.c: (New file).
	* mc-boot/GStrIO.h: (New file).
	* mc-boot/GStrLib.c: (New file).
	* mc-boot/GStrLib.h: (New file).
	* mc-boot/GStringConvert.c: (New file).
	* mc-boot/GStringConvert.h: (New file).
	* mc-boot/GSysExceptions.h: (New file).
	* mc-boot/GSysStorage.c: (New file).
	* mc-boot/GSysStorage.h: (New file).
	* mc-boot/GTimeString.c: (New file).
	* mc-boot/GTimeString.h: (New file).
	* mc-boot/GUnixArgs.h: (New file).
	* mc-boot/Galists.c: (New file).
	* mc-boot/Galists.h: (New file).
	* mc-boot/Gdecl.c: (New file).
	* mc-boot/Gdecl.h: (New file).
	* mc-boot/Gdtoa.h: (New file).
	* mc-boot/Gerrno.h: (New file).
	* mc-boot/Gkeyc.c: (New file).
	* mc-boot/Gkeyc.h: (New file).
	* mc-boot/Gldtoa.h: (New file).
	* mc-boot/Glibc.h: (New file).
	* mc-boot/Glibm.h: (New file).
	* mc-boot/Glists.c: (New file).
	* mc-boot/Glists.h: (New file).
	* mc-boot/GmcComment.c: (New file).
	* mc-boot/GmcComment.h: (New file).
	* mc-boot/GmcComp.c: (New file).
	* mc-boot/GmcComp.h: (New file).
	* mc-boot/GmcDebug.c: (New file).
	* mc-boot/GmcDebug.h: (New file).
	* mc-boot/GmcError.c: (New file).
	* mc-boot/GmcError.h: (New file).
	* mc-boot/GmcFileName.c: (New file).
	* mc-boot/GmcFileName.h: (New file).
	* mc-boot/GmcLexBuf.c: (New file).
	* mc-boot/GmcLexBuf.h: (New file).
	* mc-boot/GmcMetaError.c: (New file).
	* mc-boot/GmcMetaError.h: (New file).
	* mc-boot/GmcOptions.c: (New file).
	* mc-boot/GmcOptions.h: (New file).
	* mc-boot/GmcPreprocess.c: (New file).
	* mc-boot/GmcPreprocess.h: (New file).
	* mc-boot/GmcPretty.c: (New file).
	* mc-boot/GmcPretty.h: (New file).
	* mc-boot/GmcPrintf.c: (New file).
	* mc-boot/GmcPrintf.h: (New file).
	* mc-boot/GmcQuiet.c: (New file).
	* mc-boot/GmcQuiet.h: (New file).
	* mc-boot/GmcReserved.c: (New file).
	* mc-boot/GmcReserved.h: (New file).
	* mc-boot/GmcSearch.c: (New file).
	* mc-boot/GmcSearch.h: (New file).
	* mc-boot/GmcStack.c: (New file).
	* mc-boot/GmcStack.h: (New file).
	* mc-boot/GmcStream.c: (New file).
	* mc-boot/GmcStream.h: (New file).
	* mc-boot/Gmcflex.h: (New file).
	* mc-boot/Gmcp1.c: (New file).
	* mc-boot/Gmcp1.h: (New file).
	* mc-boot/Gmcp2.c: (New file).
	* mc-boot/Gmcp2.h: (New file).
	* mc-boot/Gmcp3.c: (New file).
	* mc-boot/Gmcp3.h: (New file).
	* mc-boot/Gmcp4.c: (New file).
	* mc-boot/Gmcp4.h: (New file).
	* mc-boot/Gmcp5.c: (New file).
	* mc-boot/Gmcp5.h: (New file).
	* mc-boot/GnameKey.c: (New file).
	* mc-boot/GnameKey.h: (New file).
	* mc-boot/Gpth.h: (New file).
	* mc-boot/GsymbolKey.c: (New file).
	* mc-boot/GsymbolKey.h: (New file).
	* mc-boot/Gtermios.h: (New file).
	* mc-boot/Gtop.c: (New file).
	* mc-boot/Gvarargs.c: (New file).
	* mc-boot/Gvarargs.h: (New file).
	* mc-boot/Gwlists.c: (New file).
	* mc-boot/Gwlists.h: (New file).
	* mc-boot/Gwrapc.h: (New file).
	* mc-boot/README: (New file).
	* mc/Indexing.def: (New file).
	* mc/Indexing.mod: (New file).
	* mc/README: (New file).
	* mc/alists.def: (New file).
	* mc/alists.mod: (New file).
	* mc/decl.def: (New file).
	* mc/decl.mod: (New file).
	* mc/decl.mod-extra: (New file).
	* mc/keyc.def: (New file).
	* mc/keyc.mod: (New file).
	* mc/lists.def: (New file).
	* mc/lists.mod: (New file).
	* mc/m2flex.def: (New file).
	* mc/mc.flex: (New file).
	* mc/mcComment.def: (New file).
	* mc/mcComment.h: (New file).
	* mc/mcComment.mod: (New file).
	* mc/mcComp.def: (New file).
	* mc/mcComp.mod: (New file).
	* mc/mcDebug.def: (New file).
	* mc/mcDebug.mod: (New file).
	* mc/mcError.def: (New file).
	* mc/mcError.mod: (New file).
	* mc/mcFileName.def: (New file).
	* mc/mcFileName.mod: (New file).
	* mc/mcLexBuf.def: (New file).
	* mc/mcLexBuf.h: (New file).
	* mc/mcLexBuf.mod: (New file).
	* mc/mcMetaError.def: (New file).
	* mc/mcMetaError.mod: (New file).
	* mc/mcOptions.def: (New file).
	* mc/mcOptions.mod: (New file).
	* mc/mcPreprocess.def: (New file).
	* mc/mcPreprocess.mod: (New file).
	* mc/mcPretty.def: (New file).
	* mc/mcPretty.mod: (New file).
	* mc/mcPrintf.def: (New file).
	* mc/mcPrintf.mod: (New file).
	* mc/mcQuiet.def: (New file).
	* mc/mcQuiet.mod: (New file).
	* mc/mcReserved.def: (New file).
	* mc/mcReserved.h: (New file).
	* mc/mcReserved.mod: (New file).
	* mc/mcSearch.def: (New file).
	* mc/mcSearch.mod: (New file).
	* mc/mcStack.def: (New file).
	* mc/mcStack.mod: (New file).
	* mc/mcStream.def: (New file).
	* mc/mcStream.mod: (New file).
	* mc/mcflex.def: (New file).
	* mc/mcp1.bnf: (New file).
	* mc/mcp1.def: (New file).
	* mc/mcp2.bnf: (New file).
	* mc/mcp2.def: (New file).
	* mc/mcp3.bnf: (New file).
	* mc/mcp3.def: (New file).
	* mc/mcp4.bnf: (New file).
	* mc/mcp4.def: (New file).
	* mc/mcp5.bnf: (New file).
	* mc/mcp5.def: (New file).
	* mc/nameKey.def: (New file).
	* mc/nameKey.mod: (New file).
	* mc/symbolKey.def: (New file).
	* mc/symbolKey.mod: (New file).
	* mc/top.mod: (New file).
	* mc/varargs.def: (New file).
	* mc/varargs.mod: (New file).
	* mc/wlists.def: (New file).
	* mc/wlists.mod: (New file).
	* pge-boot/GASCII.c: (New file).
	* pge-boot/GASCII.h: (New file).
	* pge-boot/GArgs.c: (New file).
	* pge-boot/GArgs.h: (New file).
	* pge-boot/GAssertion.c: (New file).
	* pge-boot/GAssertion.h: (New file).
	* pge-boot/GBreak.h: (New file).
	* pge-boot/GBuiltins.c: (New file).
	* pge-boot/GCmdArgs.h: (New file).
	* pge-boot/GDebug.c: (New file).
	* pge-boot/GDebug.h: (New file).
	* pge-boot/GDynamicStrings.c: (New file).
	* pge-boot/GDynamicStrings.h: (New file).
	* pge-boot/GEnvironment.h: (New file).
	* pge-boot/GFIO.c: (New file).
	* pge-boot/GFIO.h: (New file).
	* pge-boot/GFormatStrings.h: (New file).
	* pge-boot/GFpuIO.h: (New file).
	* pge-boot/GIO.c: (New file).
	* pge-boot/GIO.h: (New file).
	* pge-boot/GIndexing.c: (New file).
	* pge-boot/GIndexing.h: (New file).
	* pge-boot/GLists.c: (New file).
	* pge-boot/GLists.h: (New file).
	* pge-boot/GM2Dependent.c: (New file).
	* pge-boot/GM2Dependent.h: (New file).
	* pge-boot/GM2EXCEPTION.c: (New file).
	* pge-boot/GM2EXCEPTION.h: (New file).
	* pge-boot/GM2LINK.c: (New file).
	* pge-boot/GM2LINK.h: (New file).
	* pge-boot/GM2RTS.c: (New file).
	* pge-boot/GM2RTS.h: (New file).
	* pge-boot/GNameKey.c: (New file).
	* pge-boot/GNameKey.h: (New file).
	* pge-boot/GNumberIO.c: (New file).
	* pge-boot/GNumberIO.h: (New file).
	* pge-boot/GOutput.c: (New file).
	* pge-boot/GOutput.h: (New file).
	* pge-boot/GPushBackInput.c: (New file).
	* pge-boot/GPushBackInput.h: (New file).
	* pge-boot/GRTExceptions.c: (New file).
	* pge-boot/GRTExceptions.h: (New file).
	* pge-boot/GRTco.c: (New file).
	* pge-boot/GSArgs.h: (New file).
	* pge-boot/GSEnvironment.h: (New file).
	* pge-boot/GSFIO.c: (New file).
	* pge-boot/GSFIO.h: (New file).
	* pge-boot/GSYSTEM.c: (New file).
	* pge-boot/GSYSTEM.h: (New file).
	* pge-boot/GScan.h: (New file).
	* pge-boot/GSelective.c: (New file).
	* pge-boot/GStdIO.c: (New file).
	* pge-boot/GStdIO.h: (New file).
	* pge-boot/GStorage.c: (New file).
	* pge-boot/GStorage.h: (New file).
	* pge-boot/GStrCase.c: (New file).
	* pge-boot/GStrCase.h: (New file).
	* pge-boot/GStrIO.c: (New file).
	* pge-boot/GStrIO.h: (New file).
	* pge-boot/GStrLib.c: (New file).
	* pge-boot/GStrLib.h: (New file).
	* pge-boot/GStringConvert.h: (New file).
	* pge-boot/GSymbolKey.c: (New file).
	* pge-boot/GSymbolKey.h: (New file).
	* pge-boot/GSysExceptions.c: (New file).
	* pge-boot/GSysExceptions.h: (New file).
	* pge-boot/GSysStorage.c: (New file).
	* pge-boot/GSysStorage.h: (New file).
	* pge-boot/GTimeString.h: (New file).
	* pge-boot/GUnixArgs.cc: (New file).
	* pge-boot/GUnixArgs.h: (New file).
	* pge-boot/Gabort.c: (New file).
	* pge-boot/Gbnflex.c: (New file).
	* pge-boot/Gbnflex.h: (New file).
	* pge-boot/Gcbuiltin.c: (New file).
	* pge-boot/Gdtoa.c: (New file).
	* pge-boot/Gdtoa.h: (New file).
	* pge-boot/Gerrno.c: (New file).
	* pge-boot/Gerrno.h: (New file).
	* pge-boot/Gldtoa.c: (New file).
	* pge-boot/Gldtoa.h: (New file).
	* pge-boot/Glibc.c: (New file).
	* pge-boot/Glibc.h: (New file).
	* pge-boot/Glibm.c: (New file).
	* pge-boot/Glibm.h: (New file).
	* pge-boot/Gmcrts.c: (New file).
	* pge-boot/Gmcrts.h: (New file).
	* pge-boot/Gnetwork.h: (New file).
	* pge-boot/Gpge.c: (New file).
	* pge-boot/Gtermios.cc: (New file).
	* pge-boot/Gtermios.h: (New file).
	* pge-boot/Gwrapc.c: (New file).
	* pge-boot/Gwrapc.h: (New file).
	* pge-boot/README: (New file).
	* pge-boot/m2rts.h: (New file).
	* pge-boot/main.c: (New file).
	* pge-boot/network.c: (New file).
	* plugin/README: (New file).
	* plugin/m2rte.cc: (New file).
	* tools-src/README: (New file).
	* tools-src/boilerplate.py: (New file).
	* tools-src/buildpg: (New file).
	* tools-src/calcpath: (New file).
	* tools-src/def2doc.py: (New file).
	* tools-src/makeSystem: (New file).
	* tools-src/mklink.c: (New file).
	* tools-src/tidydates.py: (New file).
	* images/LICENSE.IMG: (New file).
	* images/gnupng: (New file).
	* images/gnu.eps: (New file).
	* version.c: (New file).
	* configure: (Rebuilt).

gcc/testsuite/ChangeLog:

	* lib/gm2-dg.exp: (New file).
	* lib/gm2.exp: (New file).
	* lib/gm2-simple.exp: (New file).
	* lib/gm2-torture.exp: (New file).
	* gm2/calling-c/datatypes/unbounded/run/pass/c.c: (New file).
	* gm2/calling-c/datatypes/unbounded/run/pass/c.def: (New file).
	* gm2/calling-c/datatypes/unbounded/run/pass/calling-c-datatypes-unbounded-run-pass.exp:
	(New file).
	* gm2/calling-c/datatypes/unbounded/run/pass/m.mod: (New file).
	* gm2/case/pass/case-pass.exp: (New file).
	* gm2/case/pass/testcase1.mod: (New file).
	* gm2/case/pass/testcase2.mod: (New file).
	* gm2/case/pass/testcase3.mod: (New file).
	* gm2/case/pass/testcase4.mod: (New file).
	* gm2/complex/fail/var1.mod: (New file).
	* gm2/complex/pass/arith.mod: (New file).
	* gm2/complex/pass/arith2.mod: (New file).
	* gm2/complex/pass/arith3.mod: (New file).
	* gm2/complex/pass/arith4.mod: (New file).
	* gm2/complex/pass/arith5.mod: (New file).
	* gm2/complex/pass/arith6.mod: (New file).
	* gm2/complex/pass/complex-pass.exp: (New file).
	* gm2/complex/pass/consts.mod: (New file).
	* gm2/complex/pass/consts2.mod: (New file).
	* gm2/complex/pass/consts3.mod: (New file).
	* gm2/complex/pass/tinycabs.mod: (New file).
	* gm2/complex/pass/var1.mod: (New file).
	* gm2/complex/pass/var2.mod: (New file).
	* gm2/complex/pass/var3.mod: (New file).
	* gm2/complex/pass/var4.mod: (New file).
	* gm2/complex/pass/var5.mod: (New file).
	* gm2/complex/pass/var6.mod: (New file).
	* gm2/complex/pass/var7.mod: (New file).
	* gm2/complex/pass/var8.mod: (New file).
	* gm2/complex/run/pass/arith3.mod: (New file).
	* gm2/complex/run/pass/arith4.mod: (New file).
	* gm2/complex/run/pass/arith5.mod: (New file).
	* gm2/complex/run/pass/arith6.mod: (New file).
	* gm2/complex/run/pass/arith7.mod: (New file).
	* gm2/complex/run/pass/arith8.mod: (New file).
	* gm2/complex/run/pass/complex-run-pass.exp: (New file).
	* gm2/coroutines/pim/run/pass/coroutines-pim-run-pass.exp: (New file).
	* gm2/coroutines/pim/run/pass/testiotransfer.mod: (New file).
	* gm2/coroutines/pim/run/pass/testtransfer.mod: (New file).
	* gm2/cpp/fail/another.h: (New file).
	* gm2/cpp/fail/fail1.mod: (New file).
	* gm2/cpp/longcard2.mod: (New file).
	* gm2/cpp/longstrimp.mod: (New file).
	* gm2/cpp/pass/arrayhuge.mod: (New file).
	* gm2/cpp/pass/arrayhuge2.mod: (New file).
	* gm2/cpp/pass/cpp-pass.exp: (New file).
	* gm2/cpp/pass/cpp.mod: (New file).
	* gm2/cpp/pass/cpph.mod: (New file).
	* gm2/cpp/pass/subaddr.mod: (New file).
	* gm2/cpp/pass/testcpp.mod: (New file).
	* gm2/cpp/pass/testcpp2.mod: (New file).
	* gm2/cpp/setchar2.mod: (New file).
	* gm2/cpp/setchar6.mod: (New file).
	* gm2/cse/fail/cse-fail.exp: (New file).
	* gm2/cse/fail/testcse38.mod: (New file).
	* gm2/cse/pass/cse-pass.exp: (New file).
	* gm2/cse/pass/m2t.c: (New file).
	* gm2/cse/pass/testb.mod: (New file).
	* gm2/cse/pass/testbuiltin.def: (New file).
	* gm2/cse/pass/testbuiltin.mod: (New file).
	* gm2/cse/pass/testcse.def: (New file).
	* gm2/cse/pass/testcse.mod: (New file).
	* gm2/cse/pass/testcse10.mod: (New file).
	* gm2/cse/pass/testcse11.mod: (New file).
	* gm2/cse/pass/testcse12.mod: (New file).
	* gm2/cse/pass/testcse13.mod: (New file).
	* gm2/cse/pass/testcse14.mod: (New file).
	* gm2/cse/pass/testcse15.mod: (New file).
	* gm2/cse/pass/testcse16.mod: (New file).
	* gm2/cse/pass/testcse17.mod: (New file).
	* gm2/cse/pass/testcse18.mod: (New file).
	* gm2/cse/pass/testcse19.mod: (New file).
	* gm2/cse/pass/testcse2.mod: (New file).
	* gm2/cse/pass/testcse20.mod: (New file).
	* gm2/cse/pass/testcse21.mod: (New file).
	* gm2/cse/pass/testcse22.mod: (New file).
	* gm2/cse/pass/testcse23.mod: (New file).
	* gm2/cse/pass/testcse24.mod: (New file).
	* gm2/cse/pass/testcse25.mod: (New file).
	* gm2/cse/pass/testcse26.mod: (New file).
	* gm2/cse/pass/testcse27.mod: (New file).
	* gm2/cse/pass/testcse28.mod: (New file).
	* gm2/cse/pass/testcse29.mod: (New file).
	* gm2/cse/pass/testcse3.mod: (New file).
	* gm2/cse/pass/testcse31.mod: (New file).
	* gm2/cse/pass/testcse32.mod: (New file).
	* gm2/cse/pass/testcse33.mod: (New file).
	* gm2/cse/pass/testcse34.mod: (New file).
	* gm2/cse/pass/testcse35.mod: (New file).
	* gm2/cse/pass/testcse36.mod: (New file).
	* gm2/cse/pass/testcse37.mod: (New file).
	* gm2/cse/pass/testcse39.mod: (New file).
	* gm2/cse/pass/testcse4.c: (New file).
	* gm2/cse/pass/testcse4.mod: (New file).
	* gm2/cse/pass/testcse40.mod: (New file).
	* gm2/cse/pass/testcse41.mod: (New file).
	* gm2/cse/pass/testcse42.mod: (New file).
	* gm2/cse/pass/testcse43.mod: (New file).
	* gm2/cse/pass/testcse44.mod: (New file).
	* gm2/cse/pass/testcse45.mod: (New file).
	* gm2/cse/pass/testcse46.mod: (New file).
	* gm2/cse/pass/testcse47.mod: (New file).
	* gm2/cse/pass/testcse48.mod: (New file).
	* gm2/cse/pass/testcse49.mod: (New file).
	* gm2/cse/pass/testcse5.c: (New file).
	* gm2/cse/pass/testcse5.mod: (New file).
	* gm2/cse/pass/testcse50.def: (New file).
	* gm2/cse/pass/testcse50.mod: (New file).
	* gm2/cse/pass/testcse51.mod: (New file).
	* gm2/cse/pass/testcse52.def: (New file).
	* gm2/cse/pass/testcse52.mod: (New file).
	* gm2/cse/pass/testcse53.def: (New file).
	* gm2/cse/pass/testcse53.mod: (New file).
	* gm2/cse/pass/testcse6.c: (New file).
	* gm2/cse/pass/testcse6.mod: (New file).
	* gm2/cse/pass/testcse7.c: (New file).
	* gm2/cse/pass/testcse7.mod: (New file).
	* gm2/cse/pass/testcse8.c: (New file).
	* gm2/cse/pass/testcse8.mod: (New file).
	* gm2/cse/pass/testcse9.c: (New file).
	* gm2/cse/pass/testsize.mod: (New file).
	* gm2/dynamic/pass/add.mod: (New file).
	* gm2/dynamic/pass/dynamic-pass.exp: (New file).
	* gm2/dynamic/pass/prog21.mod: (New file).
	* gm2/dynamic/pass/testarray.mod: (New file).
	* gm2/dynamic/pass/testarray2.mod: (New file).
	* gm2/dynamic/pass/testarray3.mod: (New file).
	* gm2/dynamic/pass/testarray4.mod: (New file).
	* gm2/dynamic/pass/testarray6.mod: (New file).
	* gm2/dynamic/pass/testbec.mod: (New file).
	* gm2/dynamic/pass/testbec10.mod: (New file).
	* gm2/dynamic/pass/testbec11.mod: (New file).
	* gm2/dynamic/pass/testbec12.mod: (New file).
	* gm2/dynamic/pass/testbec13.mod: (New file).
	* gm2/dynamic/pass/testbec14.mod: (New file).
	* gm2/dynamic/pass/testbec15.mod: (New file).
	* gm2/dynamic/pass/testbec16.mod: (New file).
	* gm2/dynamic/pass/testbec17.mod: (New file).
	* gm2/dynamic/pass/testbec18.mod: (New file).
	* gm2/dynamic/pass/testbec19.mod: (New file).
	* gm2/dynamic/pass/testbec2.mod: (New file).
	* gm2/dynamic/pass/testbec20.mod: (New file).
	* gm2/dynamic/pass/testbec21.mod: (New file).
	* gm2/dynamic/pass/testbec22.mod: (New file).
	* gm2/dynamic/pass/testbec23.mod: (New file).
	* gm2/dynamic/pass/testbec24.mod: (New file).
	* gm2/dynamic/pass/testbec25.mod: (New file).
	* gm2/dynamic/pass/testbec26.mod: (New file).
	* gm2/dynamic/pass/testbec27.mod: (New file).
	* gm2/dynamic/pass/testbec28.mod: (New file).
	* gm2/dynamic/pass/testbec29.mod: (New file).
	* gm2/dynamic/pass/testbec3.mod: (New file).
	* gm2/dynamic/pass/testbec30.mod: (New file).
	* gm2/dynamic/pass/testbec31.mod: (New file).
	* gm2/dynamic/pass/testbec32.mod: (New file).
	* gm2/dynamic/pass/testbec33.mod: (New file).
	* gm2/dynamic/pass/testbec34.mod: (New file).
	* gm2/dynamic/pass/testbec35.mod: (New file).
	* gm2/dynamic/pass/testbec36.mod: (New file).
	* gm2/dynamic/pass/testbec37.mod: (New file).
	* gm2/dynamic/pass/testbec38.mod: (New file).
	* gm2/dynamic/pass/testbec39.mod: (New file).
	* gm2/dynamic/pass/testbec4.mod: (New file).
	* gm2/dynamic/pass/testbec40.mod: (New file).
	* gm2/dynamic/pass/testbec41.mod: (New file).
	* gm2/dynamic/pass/testbec42.mod: (New file).
	* gm2/dynamic/pass/testbec43.mod: (New file).
	* gm2/dynamic/pass/testbec44.mod: (New file).
	* gm2/dynamic/pass/testbec45.mod: (New file).
	* gm2/dynamic/pass/testbec5.mod: (New file).
	* gm2/dynamic/pass/testbec6.mod: (New file).
	* gm2/dynamic/pass/testbec7.mod: (New file).
	* gm2/dynamic/pass/testbec8.mod: (New file).
	* gm2/dynamic/pass/testbec9.mod: (New file).
	* gm2/dynamic/pass/testdavid.mod: (New file).
	* gm2/dynamic/pass/testdiv.mod: (New file).
	* gm2/dynamic/pass/testexp.mod: (New file).
	* gm2/dynamic/pass/testfor.mod: (New file).
	* gm2/dynamic/pass/testfor2.mod: (New file).
	* gm2/dynamic/pass/testfunc.mod: (New file).
	* gm2/dynamic/pass/testfunc2.mod: (New file).
	* gm2/dynamic/pass/testfunc3.mod: (New file).
	* gm2/dynamic/pass/testfunc4.mod: (New file).
	* gm2/dynamic/pass/testfunc5.mod: (New file).
	* gm2/dynamic/pass/testfunc6.mod: (New file).
	* gm2/dynamic/pass/testif.mod: (New file).
	* gm2/dynamic/pass/testit.mod: (New file).
	* gm2/dynamic/pass/testloop.mod: (New file).
	* gm2/dynamic/pass/testloop2.mod: (New file).
	* gm2/dynamic/pass/testloop3.mod: (New file).
	* gm2/dynamic/pass/testloop4.mod: (New file).
	* gm2/dynamic/pass/testloop5.mod: (New file).
	* gm2/dynamic/pass/testmin.mod: (New file).
	* gm2/dynamic/pass/testnum4.mod: (New file).
	* gm2/dynamic/pass/testord.mod: (New file).
	* gm2/dynamic/pass/testparam.mod: (New file).
	* gm2/dynamic/pass/testparam2.mod: (New file).
	* gm2/dynamic/pass/testproc.mod: (New file).
	* gm2/dynamic/pass/testproc2.c: (New file).
	* gm2/dynamic/pass/testproc2.def: (New file).
	* gm2/dynamic/pass/testproc2.mod: (New file).
	* gm2/dynamic/pass/testscn.mod: (New file).
	* gm2/dynamic/pass/testset.mod: (New file).
	* gm2/dynamic/pass/testset2.mod: (New file).
	* gm2/dynamic/pass/testset3.mod: (New file).
	* gm2/dynamic/pass/teststr.c: (New file).
	* gm2/dynamic/pass/teststr.mod: (New file).
	* gm2/dynamic/pass/teststr2.mod: (New file).
	* gm2/dynamic/pass/teststring.mod: (New file).
	* gm2/dynamic/pass/testunbounded.mod: (New file).
	* gm2/dynamic/pass/testwith.mod: (New file).
	* gm2/dynamic/pass/testzero.mod: (New file).
	* gm2/dynamic/pass/wc.mod: (New file).
	* gm2/embedded/pass/embedded-pass.exp: (New file).
	* gm2/embedded/pass/varataddress.mod: (New file).
	* gm2/embedded/pass/varataddress1.mod: (New file).
	* gm2/embedded/pass/varataddress2.mod: (New file).
	* gm2/embedded/pass/varataddress3.mod: (New file).
	* gm2/errors/fail/array1.mod: (New file).
	* gm2/errors/fail/badexpr.mod: (New file).
	* gm2/errors/fail/badfor.mod: (New file).
	* gm2/errors/fail/badhigh.mod: (New file).
	* gm2/errors/fail/badshift.mod: (New file).
	* gm2/errors/fail/badsubexpradr.mod: (New file).
	* gm2/errors/fail/binaryconst.mod: (New file).
	* gm2/errors/fail/binarygeneric.mod: (New file).
	* gm2/errors/fail/binarygenericconst.mod: (New file).
	* gm2/errors/fail/end.mod: (New file).
	* gm2/errors/fail/errors-fail.exp: (New file).
	* gm2/errors/fail/mismatched.mod: (New file).
	* gm2/errors/fail/mismatchedproc.mod: (New file).
	* gm2/errors/fail/nestedproc4.mod: (New file).
	* gm2/errors/fail/nomodule.mod: (New file).
	* gm2/errors/fail/proctype.mod: (New file).
	* gm2/errors/fail/prog110.mod: (New file).
	* gm2/errors/fail/prog111.mod: (New file).
	* gm2/errors/fail/prog113.mod: (New file).
	* gm2/errors/fail/prog114.mod: (New file).
	* gm2/errors/fail/testaddress.mod: (New file).
	* gm2/errors/fail/testarray.mod: (New file).
	* gm2/errors/fail/testbit.mod: (New file).
	* gm2/errors/fail/testbit2.mod: (New file).
	* gm2/errors/fail/testcase.mod: (New file).
	* gm2/errors/fail/testcomment.mod: (New file).
	* gm2/errors/fail/testcomment2.mod: (New file).
	* gm2/errors/fail/testcomment3.mod: (New file).
	* gm2/errors/fail/testconst.mod: (New file).
	* gm2/errors/fail/testdyn.mod: (New file).
	* gm2/errors/fail/testdyn2.mod: (New file).
	* gm2/errors/fail/testdyn3.mod: (New file).
	* gm2/errors/fail/testexp.mod: (New file).
	* gm2/errors/fail/testfio.mod: (New file).
	* gm2/errors/fail/testimport.mod: (New file).
	* gm2/errors/fail/testimport2.def: (New file).
	* gm2/errors/fail/testimport2.mod: (New file).
	* gm2/errors/fail/testinit.mod: (New file).
	* gm2/errors/fail/testmodule.mod: (New file).
	* gm2/errors/fail/testnil.mod: (New file).
	* gm2/errors/fail/testnil2.mod: (New file).
	* gm2/errors/fail/testparam.mod: (New file).
	* gm2/errors/fail/testproc.mod: (New file).
	* gm2/errors/fail/testproc2.mod: (New file).
	* gm2/errors/fail/testsize.mod: (New file).
	* gm2/errors/fail/teststring.mod: (New file).
	* gm2/errors/fail/testsub3.mod: (New file).
	* gm2/errors/fail/testsub4.mod: (New file).
	* gm2/errors/fail/testtype.mod: (New file).
	* gm2/errors/fail/testvar.mod: (New file).
	* gm2/errors/fail/testwith.mod: (New file).
	* gm2/errors/fail/testwrite.mod: (New file).
	* gm2/errors/fail/type.mod: (New file).
	* gm2/errors/fail/unarygeneric.mod: (New file).
	* gm2/errors/mustfail: (New file).
	* gm2/errors/options: (New file).
	* gm2/errors/testchar.mod: (New file).
	* gm2/errors/testsub2.mod: (New file).
	* gm2/examples/callingC/pass/examples-callingC-pass.exp: (New file).
	* gm2/examples/callingC/pass/hello.mod: (New file).
	* gm2/examples/callingC/pass/libprintf.def: (New file).
	* gm2/examples/callingC/run/pass/c.c: (New file).
	* gm2/examples/callingC/run/pass/c.def: (New file).
	* gm2/examples/callingC/run/pass/examples-callingC-run-pass.exp: (New file).
	* gm2/examples/callingC/run/pass/hello.mod: (New file).
	* gm2/examples/callingC/run/pass/libprintf.def: (New file).
	* gm2/examples/callingC/run/pass/m.mod: (New file).
	* gm2/examples/cpp/pass/examples-cpp-pass.exp: (New file).
	* gm2/examples/cpp/pass/hello.mod: (New file).
	* gm2/examples/cppDef/pass/a.def: (New file).
	* gm2/examples/cppDef/pass/a.mod: (New file).
	* gm2/examples/cppDef/pass/b.mod: (New file).
	* gm2/examples/cppDef/pass/examples-cppDef-pass.exp: (New file).
	* gm2/examples/cppDef/pass/libprintf.def: (New file).
	* gm2/examples/hello/pass/examples-hello-pass.exp: (New file).
	* gm2/examples/hello/pass/hello.mod: (New file).
	* gm2/examples/map/pass/AdvMap.def: (New file).
	* gm2/examples/map/pass/AdvMap.mod: (New file).
	* gm2/examples/map/pass/BoxMap.def: (New file).
	* gm2/examples/map/pass/BoxMap.mod: (New file).
	* gm2/examples/map/pass/Chance.def: (New file).
	* gm2/examples/map/pass/Chance.mod: (New file).
	* gm2/examples/map/pass/Find.def: (New file).
	* gm2/examples/map/pass/Find.mod: (New file).
	* gm2/examples/map/pass/Geometry.def: (New file).
	* gm2/examples/map/pass/Geometry.mod: (New file).
	* gm2/examples/map/pass/MakeBoxes.def: (New file).
	* gm2/examples/map/pass/MakeBoxes.mod: (New file).
	* gm2/examples/map/pass/Map.mod: (New file).
	* gm2/examples/map/pass/RoomMap.def: (New file).
	* gm2/examples/map/pass/RoomMap.mod: (New file).
	* gm2/examples/map/pass/Semantic.mod: (New file).
	* gm2/examples/map/pass/StoreCoord.def: (New file).
	* gm2/examples/map/pass/StoreCoord.mod: (New file).
	* gm2/examples/map/pass/StoreCoords.def: (New file).
	* gm2/examples/map/pass/StoreCoords.mod: (New file).
	* gm2/examples/map/pass/WriteMap.def: (New file).
	* gm2/examples/map/pass/WriteMap.mod: (New file).
	* gm2/examples/map/pass/examples-map-pass.exp: (New file).
	* gm2/examples/map/pass/makemaps: (New file).
	* gm2/examples/map/pass/testch2.mod: (New file).
	* gm2/examples/map/pass/testchan.mod: (New file).
	* gm2/examples/map/pass/testcoor.mod: (New file).
	* gm2/examples/map/pass/testmaps: (New file).
	* gm2/exceptions/run/pass/cpp.cpp: (New file).
	* gm2/exceptions/run/pass/cpp.def: (New file).
	* gm2/exceptions/run/pass/exceptions-run-pass.exp: (New file).
	* gm2/exceptions/run/pass/libexcept.mod: (New file).
	* gm2/exceptions/run/pass/m2test.def: (New file).
	* gm2/exceptions/run/pass/m2test.mod: (New file).
	* gm2/exceptions/run/pass/mycpp.cpp: (New file).
	* gm2/exceptions/run/pass/mycpp.def: (New file).
	* gm2/exceptions/run/pass/mym2.mod: (New file).
	* gm2/exceptions/run/pass/mym2a.mod: (New file).
	* gm2/extensions/pass/align.mod: (New file).
	* gm2/extensions/pass/align2.mod: (New file).
	* gm2/extensions/pass/card16p.mod: (New file).
	* gm2/extensions/pass/card32p.mod: (New file).
	* gm2/extensions/pass/card64p.mod: (New file).
	* gm2/extensions/pass/card8p.mod: (New file).
	* gm2/extensions/pass/co.def: (New file).
	* gm2/extensions/pass/co.mod: (New file).
	* gm2/extensions/pass/extensions-pass.exp: (New file).
	* gm2/extensions/pass/frame.mod: (New file).
	* gm2/extensions/pass/hello.mod: (New file).
	* gm2/extensions/pass/int16p.mod: (New file).
	* gm2/extensions/pass/int32p.mod: (New file).
	* gm2/extensions/pass/int64p.mod: (New file).
	* gm2/extensions/pass/int8p.mod: (New file).
	* gm2/extensions/pass/intsize8.mod: (New file).
	* gm2/extensions/pass/jmp.mod: (New file).
	* gm2/extensions/pass/libc.def: (New file).
	* gm2/extensions/pass/optparam.mod: (New file).
	* gm2/extensions/pass/optparam2.mod: (New file).
	* gm2/extensions/pass/return.mod: (New file).
	* gm2/extensions/pass/set8.mod: (New file).
	* gm2/extensions/pass/set8a.mod: (New file).
	* gm2/extensions/pass/set8b.mod: (New file).
	* gm2/extensions/pass/testco.mod: (New file).
	* gm2/extensions/run/fail/extensions-run-fail.exp: (New file).
	* gm2/extensions/run/fail/intsize8.mod: (New file).
	* gm2/extensions/run/pass/align3.mod: (New file).
	* gm2/extensions/run/pass/align4.mod: (New file).
	* gm2/extensions/run/pass/align5.mod: (New file).
	* gm2/extensions/run/pass/align6.mod: (New file).
	* gm2/extensions/run/pass/align7.mod: (New file).
	* gm2/extensions/run/pass/callingc.mod: (New file).
	* gm2/extensions/run/pass/card16p.mod: (New file).
	* gm2/extensions/run/pass/card32p.mod: (New file).
	* gm2/extensions/run/pass/card64p.mod: (New file).
	* gm2/extensions/run/pass/card8p.mod: (New file).
	* gm2/extensions/run/pass/column.mod: (New file).
	* gm2/extensions/run/pass/cvararg.c: (New file).
	* gm2/extensions/run/pass/cvararg.def: (New file).
	* gm2/extensions/run/pass/extensions-run-pass.exp: (New file).
	* gm2/extensions/run/pass/int16p.mod: (New file).
	* gm2/extensions/run/pass/int32p.mod: (New file).
	* gm2/extensions/run/pass/int64p.mod: (New file).
	* gm2/extensions/run/pass/int8field.mod: (New file).
	* gm2/extensions/run/pass/int8p.mod: (New file).
	* gm2/extensions/run/pass/packedrecord.mod: (New file).
	* gm2/extensions/run/pass/packedrecord2.mod: (New file).
	* gm2/extensions/run/pass/real32.mod: (New file).
	* gm2/extensions/run/pass/real32a.mod: (New file).
	* gm2/extensions/run/pass/record.mod: (New file).
	* gm2/extensions/run/pass/testopen.mod: (New file).
	* gm2/extensions/run/pass/vararg.mod: (New file).
	* gm2/extensions/run/pass/vararg2.mod: (New file).
	* gm2/extensions/run/pass/vararg3.mod: (New file).
	* gm2/fpu/pass/five.mod: (New file).
	* gm2/fpu/pass/fp.def: (New file).
	* gm2/fpu/pass/fp.mod: (New file).
	* gm2/fpu/pass/fpu-pass.exp: (New file).
	* gm2/fpu/pass/one.mod: (New file).
	* gm2/fpu/pass/r1.mod: (New file).
	* gm2/fpu/pass/realconst.mod: (New file).
	* gm2/fpu/pass/testfp.mod: (New file).
	* gm2/fpu/pass/testfp2.mod: (New file).
	* gm2/fpu/pass/testfpu1.mod: (New file).
	* gm2/fpu/pass/testfpu2.mod: (New file).
	* gm2/fpu/pass/testfpu3.mod: (New file).
	* gm2/fpu/pass/testsin.mod: (New file).
	* gm2/imports/run/pass/c.def: (New file).
	* gm2/imports/run/pass/c.mod: (New file).
	* gm2/imports/run/pass/imports-run-pass.exp: (New file).
	* gm2/imports/run/pass/innermods.mod: (New file).
	* gm2/imports/run/pass/innermods2.mod: (New file).
	* gm2/imports/run/pass/innermods3.mod: (New file).
	* gm2/imports/run/pass/innermods4.mod: (New file).
	* gm2/imports/run/pass/innermods5.def: (New file).
	* gm2/imports/run/pass/innermods5.mod: (New file).
	* gm2/imports/run/pass/innermods6.mod: (New file).
	* gm2/integer/div.mod: (New file).
	* gm2/integer/expr.mod: (New file).
	* gm2/integer/mod.mod: (New file).
	* gm2/integer/mod2.mod: (New file).
	* gm2/integer/one.mod: (New file).
	* gm2/integer/options: (New file).
	* gm2/integer/zero.mod: (New file).
	* gm2/iso/analysis/fail/Makefile: (New file).
	* gm2/iso/analysis/fail/arithoverflow.mod: (New file).
	* gm2/iso/analysis/fail/arithoverflow2.mod: (New file).
	* gm2/iso/analysis/fail/arithsubcard.mod: (New file).
	* gm2/iso/analysis/fail/arrayrange.mod: (New file).
	* gm2/iso/analysis/fail/assignvalue.mod: (New file).
	* gm2/iso/analysis/fail/callassignment.mod: (New file).
	* gm2/iso/analysis/fail/callassignment2.mod: (New file).
	* gm2/iso/analysis/fail/callassignment3.mod: (New file).
	* gm2/iso/analysis/fail/callassignment4.mod: (New file).
	* gm2/iso/analysis/fail/caserange.mod: (New file).
	* gm2/iso/analysis/fail/decvalue.mod: (New file).
	* gm2/iso/analysis/fail/forloop.mod: (New file).
	* gm2/iso/analysis/fail/incvalue.mod: (New file).
	* gm2/iso/analysis/fail/iso-analysis-fail.exp: (New file).
	* gm2/iso/analysis/fail/noreturn.mod: (New file).
	* gm2/iso/analysis/fail/returnvalue.mod: (New file).
	* gm2/iso/analysis/fail/staticarray.mod: (New file).
	* gm2/iso/check/fail/iso-check-fail.exp: (New file).
	* gm2/iso/check/fail/modulusoverflow.mod: (New file).
	* gm2/iso/fail/badarray.mod: (New file).
	* gm2/iso/fail/badarray2.mod: (New file).
	* gm2/iso/fail/badipv4.mod: (New file).
	* gm2/iso/fail/bug10.mod: (New file).
	* gm2/iso/fail/bug8.mod: (New file).
	* gm2/iso/fail/bug9.mod: (New file).
	* gm2/iso/fail/case.mod: (New file).
	* gm2/iso/fail/case2.mod: (New file).
	* gm2/iso/fail/case3.mod: (New file).
	* gm2/iso/fail/const1.mod: (New file).
	* gm2/iso/fail/constarray.mod: (New file).
	* gm2/iso/fail/constarray2.mod: (New file).
	* gm2/iso/fail/constprocedure.mod: (New file).
	* gm2/iso/fail/constrecord.mod: (New file).
	* gm2/iso/fail/constrecord2.mod: (New file).
	* gm2/iso/fail/constrecord3.mod: (New file).
	* gm2/iso/fail/constsubrange.mod: (New file).
	* gm2/iso/fail/constsubrange2.mod: (New file).
	* gm2/iso/fail/constsubrange3.mod: (New file).
	* gm2/iso/fail/defa.def: (New file).
	* gm2/iso/fail/defa.mod: (New file).
	* gm2/iso/fail/defb.def: (New file).
	* gm2/iso/fail/defb.mod: (New file).
	* gm2/iso/fail/defc.def: (New file).
	* gm2/iso/fail/defc.mod: (New file).
	* gm2/iso/fail/except.mod: (New file).
	* gm2/iso/fail/except2.mod: (New file).
	* gm2/iso/fail/iso-fail.exp: (New file).
	* gm2/iso/fail/isoa.def: (New file).
	* gm2/iso/fail/isoa.mod: (New file).
	* gm2/iso/fail/lengthsubexpr.mod: (New file).
	* gm2/iso/fail/proc.mod: (New file).
	* gm2/iso/fail/realbitscast.mod: (New file).
	* gm2/iso/fail/varient.mod: (New file).
	* gm2/iso/fail/varient2.mod: (New file).
	* gm2/iso/future/builtinlj.mod: (New file).
	* gm2/iso/pass/ChanConsts.def: (New file).
	* gm2/iso/pass/ChanConsts.mod: (New file).
	* gm2/iso/pass/ConvTypes.def: (New file).
	* gm2/iso/pass/ConvTypes.mod: (New file).
	* gm2/iso/pass/addadr1.mod: (New file).
	* gm2/iso/pass/bits32c.mod: (New file).
	* gm2/iso/pass/callwraptime.mod: (New file).
	* gm2/iso/pass/caseiso.mod: (New file).
	* gm2/iso/pass/caseiso2.mod: (New file).
	* gm2/iso/pass/cast.mod: (New file).
	* gm2/iso/pass/cast3.mod: (New file).
	* gm2/iso/pass/castiso.mod: (New file).
	* gm2/iso/pass/const1.mod: (New file).
	* gm2/iso/pass/constreal.mod: (New file).
	* gm2/iso/pass/constructor1.mod: (New file).
	* gm2/iso/pass/constructor2.mod: (New file).
	* gm2/iso/pass/constructor3.mod: (New file).
	* gm2/iso/pass/constructor4.mod: (New file).
	* gm2/iso/pass/constructor5.mod: (New file).
	* gm2/iso/pass/constructor6.mod: (New file).
	* gm2/iso/pass/constsize4.mod: (New file).
	* gm2/iso/pass/delim.mod: (New file).
	* gm2/iso/pass/delim2.mod: (New file).
	* gm2/iso/pass/enummodule.mod: (New file).
	* gm2/iso/pass/except1.mod: (New file).
	* gm2/iso/pass/expproc.mod: (New file).
	* gm2/iso/pass/expproc2.mod: (New file).
	* gm2/iso/pass/iso-pass.exp: (New file).
	* gm2/iso/pass/isob.def: (New file).
	* gm2/iso/pass/isob.mod: (New file).
	* gm2/iso/pass/isobitset.mod: (New file).
	* gm2/iso/pass/isobitset2.mod: (New file).
	* gm2/iso/pass/longm.mod: (New file).
	* gm2/iso/pass/m.mod: (New file).
	* gm2/iso/pass/proccast.mod: (New file).
	* gm2/iso/pass/realbitscast.mod: (New file).
	* gm2/iso/pass/set12.mod: (New file).
	* gm2/iso/pass/stringchar.mod: (New file).
	* gm2/iso/pass/subassign.mod: (New file).
	* gm2/iso/pass/testaddindr.mod: (New file).
	* gm2/iso/pass/testconv.def: (New file).
	* gm2/iso/pass/testconv.mod: (New file).
	* gm2/iso/pass/testconv2.def: (New file).
	* gm2/iso/pass/testconv2.mod: (New file).
	* gm2/iso/pass/testconv3.mod: (New file).
	* gm2/iso/pass/testconv4.mod: (New file).
	* gm2/iso/pass/testconv5.mod: (New file).
	* gm2/iso/pass/testconv6.mod: (New file).
	* gm2/iso/pass/testconv7.mod: (New file).
	* gm2/iso/pass/testconv8.mod: (New file).
	* gm2/iso/pass/testconv9.mod: (New file).
	* gm2/iso/pass/testiso.mod: (New file).
	* gm2/iso/pass/testiso2.mod: (New file).
	* gm2/iso/pass/testisosize.mod: (New file).
	* gm2/iso/pass/testlength.mod: (New file).
	* gm2/iso/pass/testlength2.mod: (New file).
	* gm2/iso/pass/testlength3.mod: (New file).
	* gm2/iso/pass/testlength4.mod: (New file).
	* gm2/iso/pass/testlength5.mod: (New file).
	* gm2/iso/pass/unbounded.mod: (New file).
	* gm2/iso/pass/unbounded2.mod: (New file).
	* gm2/iso/run/pass/adraddress.mod: (New file).
	* gm2/iso/run/pass/adrunbounded3.mod: (New file).
	* gm2/iso/run/pass/baseimport.mod: (New file).
	* gm2/iso/run/pass/compsize.mod: (New file).
	* gm2/iso/run/pass/concurrentstore.mod: (New file).
	* gm2/iso/run/pass/constprocedure.mod: (New file).
	* gm2/iso/run/pass/constructor1.mod: (New file).
	* gm2/iso/run/pass/constructor2.mod: (New file).
	* gm2/iso/run/pass/conststrarray.mod: (New file).
	* gm2/iso/run/pass/contimer.mod: (New file).
	* gm2/iso/run/pass/except.c: (New file).
	* gm2/iso/run/pass/except2.mod: (New file).
	* gm2/iso/run/pass/except3.cpp: (New file).
	* gm2/iso/run/pass/except4.mod: (New file).
	* gm2/iso/run/pass/except5.cpp: (New file).
	* gm2/iso/run/pass/except5.mod: (New file).
	* gm2/iso/run/pass/except6.cpp: (New file).
	* gm2/iso/run/pass/except7.mod: (New file).
	* gm2/iso/run/pass/except8.mod: (New file).
	* gm2/iso/run/pass/fileio.def: (New file).
	* gm2/iso/run/pass/fileio.mod: (New file).
	* gm2/iso/run/pass/hello.mod: (New file).
	* gm2/iso/run/pass/int8field.mod: (New file).
	* gm2/iso/run/pass/iso-run-pass.exp: (New file).
	* gm2/iso/run/pass/long.mod: (New file).
	* gm2/iso/run/pass/long2.mod: (New file).
	* gm2/iso/run/pass/long3.mod: (New file).
	* gm2/iso/run/pass/long4.c: (New file).
	* gm2/iso/run/pass/long4.mod: (New file).
	* gm2/iso/run/pass/minmax.mod: (New file).
	* gm2/iso/run/pass/modulus.mod: (New file).
	* gm2/iso/run/pass/nestediso.mod: (New file).
	* gm2/iso/run/pass/nestedrecord.mod: (New file).
	* gm2/iso/run/pass/onebyte.mod: (New file).
	* gm2/iso/run/pass/onebyte2.mod: (New file).
	* gm2/iso/run/pass/onebyte3.mod: (New file).
	* gm2/iso/run/pass/packed.mod: (New file).
	* gm2/iso/run/pass/proc.c: (New file).
	* gm2/iso/run/pass/proc.mod: (New file).
	* gm2/iso/run/pass/proc2.mod: (New file).
	* gm2/iso/run/pass/returnrecord.mod: (New file).
	* gm2/iso/run/pass/shift.mod: (New file).
	* gm2/iso/run/pass/shift2.mod: (New file).
	* gm2/iso/run/pass/shift3.mod: (New file).
	* gm2/iso/run/pass/shift4.mod: (New file).
	* gm2/iso/run/pass/simple: (New file).
	* gm2/iso/run/pass/simplelarge.mod: (New file).
	* gm2/iso/run/pass/strcons.mod: (New file).
	* gm2/iso/run/pass/strcons2.mod: (New file).
	* gm2/iso/run/pass/t.cpp: (New file).
	* gm2/iso/run/pass/t1.cpp: (New file).
	* gm2/iso/run/pass/testLength.mod: (New file).
	* gm2/iso/run/pass/testarray.mod: (New file).
	* gm2/iso/run/pass/testgeneric.mod: (New file).
	* gm2/iso/run/pass/testlarge.mod: (New file).
	* gm2/iso/run/pass/testsystem.mod: (New file).
	* gm2/iso/run/pass/tinyconst.mod: (New file).
	* gm2/iso/run/pass/tinyconst2.mod: (New file).
	* gm2/iso/run/pass/tinyconst3.mod: (New file).
	* gm2/iso/run/pass/tinyconst4.mod: (New file).
	* gm2/iso/run/pass/tinyconst5.mod: (New file).
	* gm2/iso/run/pass/tinytimer.mod: (New file).
	* gm2/iso/run/pass/trivialmodulus.mod: (New file).
	* gm2/iso/run/pass/tsize.mod: (New file).
	* gm2/iso/run/pass/tsize2.mod: (New file).
	* gm2/iso/run/pass/tstLength.mod: (New file).
	* gm2/iso/run/pass/unbounded.mod: (New file).
	* gm2/iso/run/pass/unbounded2.mod: (New file).
	* gm2/iso/run/pass/unbounded3.mod: (New file).
	* gm2/iso/run/pass/unbounded4.mod: (New file).
	* gm2/iso/run/pass/unbounded5.mod: (New file).
	* gm2/iso/run/pass/unbounded6.mod: (New file).
	* gm2/iso/run/pass/unbounded7.mod: (New file).
	* gm2/iso/run/pass/unbounded8.mod: (New file).
	* gm2/isocoroutines/run/pass/coroutine.mod: (New file).
	* gm2/isocoroutines/run/pass/isocoroutines-run-pass.exp: (New file).
	* gm2/isolib/run/pass/arraycons.mod: (New file).
	* gm2/isolib/run/pass/arraycons2.mod: (New file).
	* gm2/isolib/run/pass/arraycons3.mod: (New file).
	* gm2/isolib/run/pass/arraycons5.mod: (New file).
	* gm2/isolib/run/pass/arraycons6.mod: (New file).
	* gm2/isolib/run/pass/arraycons7.mod: (New file).
	* gm2/isolib/run/pass/arrayconst8.mod: (New file).
	* gm2/isolib/run/pass/exceptiontest.mod: (New file).
	* gm2/isolib/run/pass/filepos.mod: (New file).
	* gm2/isolib/run/pass/hello.mod: (New file).
	* gm2/isolib/run/pass/insert.mod: (New file).
	* gm2/isolib/run/pass/intconv.mod: (New file).
	* gm2/isolib/run/pass/isolib-run-pass.exp: (New file).
	* gm2/isolib/run/pass/longstr.mod: (New file).
	* gm2/isolib/run/pass/openlibc.mod: (New file).
	* gm2/isolib/run/pass/raise.mod: (New file).
	* gm2/isolib/run/pass/raise2.mod: (New file).
	* gm2/isolib/run/pass/readreal.mod: (New file).
	* gm2/isolib/run/pass/real1.mod: (New file).
	* gm2/isolib/run/pass/real2.mod: (New file).
	* gm2/isolib/run/pass/real3.mod: (New file).
	* gm2/isolib/run/pass/realconv.mod: (New file).
	* gm2/isolib/run/pass/realconv2.mod: (New file).
	* gm2/isolib/run/pass/realstr.mod: (New file).
	* gm2/isolib/run/pass/sigfig.mod: (New file).
	* gm2/isolib/run/pass/stringreal2.mod: (New file).
	* gm2/isolib/run/pass/termfile.mod-disabled: (New file).
	* gm2/isolib/run/pass/testappend.mod: (New file).
	* gm2/isolib/run/pass/testinput: (New file).
	* gm2/isolib/run/pass/testio.mod: (New file).
	* gm2/isolib/run/pass/testio2.mod: (New file).
	* gm2/isolib/run/pass/testmem.mod: (New file).
	* gm2/isolib/run/pass/testmem2.mod: (New file).
	* gm2/isolib/run/pass/testnumber: (New file).
	* gm2/isolib/run/pass/tiny.mod: (New file).
	* gm2/isolib/run/pass/tiny2.mod: (New file).
	* gm2/isolib/run/pass/tiny3.mod: (New file).
	* gm2/isolib/run/pass/tiny4.mod: (New file).
	* gm2/isolib/run/pass/tiny5.mod: (New file).
	* gm2/libs/a.def: (New file).
	* gm2/libs/a.mod: (New file).
	* gm2/libs/b.def: (New file).
	* gm2/libs/b.mod: (New file).
	* gm2/libs/testraw.mod: (New file).
	* gm2/link/externalscaffold/pass/hello.mod: (New file).
	* gm2/link/externalscaffold/pass/link-externalscaffold-pass.exp: (New file).
	* gm2/link/externalscaffold/pass/scaffold.c: (New file).
	* gm2/link/pim/fail/import.mod: (New file).
	* gm2/link/pim/fail/link-pim-fail.exp: (New file).
	* gm2/link/pim/pass/link-pim-pass.exp: (New file).
	* gm2/link/pimc/pass/README: (New file).
	* gm2/link/pimc/pass/link-pimc-pass.exp: (New file).
	* gm2/link/pimc/pass/testdtoa.mod: (New file).
	* gm2/link/pimc/pass/testerrno.mod: (New file).
	* gm2/link/pimc/pass/testgetopt.mod: (New file).
	* gm2/link/pimc/pass/testldtoa.mod: (New file).
	* gm2/link/pimc/pass/testlibc.mod: (New file).
	* gm2/link/pimc/pass/testlibc2.mod: (New file).
	* gm2/link/pimc/pass/testsckt.mod: (New file).
	* gm2/link/pimc/pass/testselective.mod: (New file).
	* gm2/link/pimc/pass/testsysexceptions.mod: (New file).
	* gm2/link/pimc/pass/testtermios.mod: (New file).
	* gm2/link/pimc/pass/testunixargs.mod: (New file).
	* gm2/link/pimc/pass/testwrapc.mod: (New file).
	* gm2/linking/libarchive/pass/c.c: (New file).
	* gm2/linking/libarchive/pass/c.def: (New file).
	* gm2/linking/libarchive/pass/d.def: (New file).
	* gm2/linking/libarchive/pass/e.def: (New file).
	* gm2/linking/libarchive/pass/linking-libarchive-pass.exp: (New file).
	* gm2/linking/libarchive/pass/m.mod: (New file).
	* gm2/linking/verbose/pass/hello.mod: (New file).
	* gm2/linking/verbose/pass/linking-verbose-pass.exp: (New file).
	* gm2/pim/fail/TestLong3.mod: (New file).
	* gm2/pim/fail/TestLong6.mod: (New file).
	* gm2/pim/fail/a.def: (New file).
	* gm2/pim/fail/assignbounds.mod: (New file).
	* gm2/pim/fail/assignsubrange.mod: (New file).
	* gm2/pim/fail/assignsubrange2.mod: (New file).
	* gm2/pim/fail/b.def: (New file).
	* gm2/pim/fail/bad.def: (New file).
	* gm2/pim/fail/badconst.mod: (New file).
	* gm2/pim/fail/badfunc.mod: (New file).
	* gm2/pim/fail/badparam.mod: (New file).
	* gm2/pim/fail/badparam2.mod: (New file).
	* gm2/pim/fail/badtype.mod: (New file).
	* gm2/pim/fail/badtypes.mod: (New file).
	* gm2/pim/fail/bits.mod: (New file).
	* gm2/pim/fail/bits2.mod: (New file).
	* gm2/pim/fail/bits3.mod: (New file).
	* gm2/pim/fail/bits4.mod: (New file).
	* gm2/pim/fail/cardword.mod: (New file).
	* gm2/pim/fail/constbec.mod: (New file).
	* gm2/pim/fail/constsize3.mod: (New file).
	* gm2/pim/fail/constvar.mod: (New file).
	* gm2/pim/fail/convert5.mod: (New file).
	* gm2/pim/fail/dupconst.mod: (New file).
	* gm2/pim/fail/dupenum.mod: (New file).
	* gm2/pim/fail/dupfield.mod: (New file).
	* gm2/pim/fail/duptype.mod: (New file).
	* gm2/pim/fail/dupvar.mod: (New file).
	* gm2/pim/fail/expression.mod: (New file).
	* gm2/pim/fail/expression2.mod: (New file).
	* gm2/pim/fail/expression3.mod: (New file).
	* gm2/pim/fail/func.mod: (New file).
	* gm2/pim/fail/good.def: (New file).
	* gm2/pim/fail/good.mod: (New file).
	* gm2/pim/fail/import.mod: (New file).
	* gm2/pim/fail/inserttok.def: (New file).
	* gm2/pim/fail/inserttok.mod: (New file).
	* gm2/pim/fail/integer.mod: (New file).
	* gm2/pim/fail/keyword.mod: (New file).
	* gm2/pim/fail/longtypes2.mod: (New file).
	* gm2/pim/fail/longtypes3.mod: (New file).
	* gm2/pim/fail/multisetf.mod: (New file).
	* gm2/pim/fail/nested3.mod: (New file).
	* gm2/pim/fail/opaque.mod: (New file).
	* gm2/pim/fail/opaque2.mod: (New file).
	* gm2/pim/fail/opasfail.mod: (New file).
	* gm2/pim/fail/opcpfail.mod: (New file).
	* gm2/pim/fail/pim-fail.exp: (New file).
	* gm2/pim/fail/procmod.mod: (New file).
	* gm2/pim/fail/rotate.mod: (New file).
	* gm2/pim/fail/rotate2.mod: (New file).
	* gm2/pim/fail/setbec.mod: (New file).
	* gm2/pim/fail/setequiv.mod: (New file).
	* gm2/pim/fail/setsnulf.mod: (New file).
	* gm2/pim/fail/settype.mod: (New file).
	* gm2/pim/fail/shift.mod: (New file).
	* gm2/pim/fail/shift2.mod: (New file).
	* gm2/pim/fail/subrange7.mod: (New file).
	* gm2/pim/fail/unary.mod: (New file).
	* gm2/pim/fail/undeclared.mod: (New file).
	* gm2/pim/fail/val.mod: (New file).
	* gm2/pim/fail/val2.mod: (New file).
	* gm2/pim/fail/wordconst.mod: (New file).
	* gm2/pim/no-options/run/pass/integer.mod: (New file).
	* gm2/pim/no-options/run/pass/pim-no-options-run-pass.exp: (New file).
	* gm2/pim/options/bounds/fail/IdentifierBug.mod: (New file).
	* gm2/pim/options/bounds/fail/pim-options-bounds-fail.exp: (New file).
	* gm2/pim/options/optimize/run/pass/addition.def: (New file).
	* gm2/pim/options/optimize/run/pass/addition.mod: (New file).
	* gm2/pim/options/optimize/run/pass/concat.mod: (New file).
	* gm2/pim/options/optimize/run/pass/pim-options-optimize-run-pass.exp:
	(New file).
	* gm2/pim/options/optimize/run/pass/testadd.mod: (New file).
	* gm2/pim/pass/ABSBug.mod: (New file).
	* gm2/pim/pass/TestLong4.mod: (New file).
	* gm2/pim/pass/TestLong7.mod: (New file).
	* gm2/pim/pass/TestLong8.mod: (New file).
	* gm2/pim/pass/TestLong9.mod: (New file).
	* gm2/pim/pass/another.mod: (New file).
	* gm2/pim/pass/aochar.mod: (New file).
	* gm2/pim/pass/array.mod: (New file).
	* gm2/pim/pass/array2.mod: (New file).
	* gm2/pim/pass/array3.mod: (New file).
	* gm2/pim/pass/array4.mod: (New file).
	* gm2/pim/pass/array5.mod: (New file).
	* gm2/pim/pass/array6.mod: (New file).
	* gm2/pim/pass/arraybool.mod: (New file).
	* gm2/pim/pass/arraychar.mod: (New file).
	* gm2/pim/pass/arraychar2.mod: (New file).
	* gm2/pim/pass/arraychar3.mod: (New file).
	* gm2/pim/pass/arrayconst1.mod: (New file).
	* gm2/pim/pass/arrayconst2.mod: (New file).
	* gm2/pim/pass/arrayconst3.mod: (New file).
	* gm2/pim/pass/arraydecl.mod: (New file).
	* gm2/pim/pass/arraydim.mod: (New file).
	* gm2/pim/pass/arraydyn.mod: (New file).
	* gm2/pim/pass/arrayeqiv.mod: (New file).
	* gm2/pim/pass/arrayfio.mod: (New file).
	* gm2/pim/pass/arrayhuge.mod: (New file).
	* gm2/pim/pass/arrayhuge2.mod: (New file).
	* gm2/pim/pass/arrayindex.mod: (New file).
	* gm2/pim/pass/arrayindirect.mod: (New file).
	* gm2/pim/pass/arrayinproc.mod: (New file).
	* gm2/pim/pass/arrayint.mod: (New file).
	* gm2/pim/pass/arrayofbyte.mod: (New file).
	* gm2/pim/pass/arrayofcard.mod: (New file).
	* gm2/pim/pass/arrayptr.mod: (New file).
	* gm2/pim/pass/arrayptr2.mod: (New file).
	* gm2/pim/pass/arrayptr3.mod: (New file).
	* gm2/pim/pass/arrayptr4.mod: (New file).
	* gm2/pim/pass/arrayptr5.mod: (New file).
	* gm2/pim/pass/arrayptr6.mod: (New file).
	* gm2/pim/pass/arrayrecord.mod: (New file).
	* gm2/pim/pass/arraytiny.c: (New file).
	* gm2/pim/pass/arraytiny.mod: (New file).
	* gm2/pim/pass/arraytype.mod: (New file).
	* gm2/pim/pass/arraytype2.mod: (New file).
	* gm2/pim/pass/arraytype3.mod: (New file).
	* gm2/pim/pass/arraytype4.mod: (New file).
	* gm2/pim/pass/assignment.mod: (New file).
	* gm2/pim/pass/assignment2.mod: (New file).
	* gm2/pim/pass/assignment3.mod: (New file).
	* gm2/pim/pass/assignment4.mod: (New file).
	* gm2/pim/pass/badpointer.mod: (New file).
	* gm2/pim/pass/bits32.def: (New file).
	* gm2/pim/pass/bits32.mod: (New file).
	* gm2/pim/pass/bits32i.mod: (New file).
	* gm2/pim/pass/bitset.mod: (New file).
	* gm2/pim/pass/bitset2.mod: (New file).
	* gm2/pim/pass/bitset3.mod: (New file).
	* gm2/pim/pass/bitset4.mod: (New file).
	* gm2/pim/pass/bitset5.mod: (New file).
	* gm2/pim/pass/bitsetfunc.mod: (New file).
	* gm2/pim/pass/block.mod: (New file).
	* gm2/pim/pass/blockindirect.mod: (New file).
	* gm2/pim/pass/builtin.def: (New file).
	* gm2/pim/pass/builtin.mod: (New file).
	* gm2/pim/pass/builtin2.mod: (New file).
	* gm2/pim/pass/builtinconst.mod: (New file).
	* gm2/pim/pass/bytearray.mod: (New file).
	* gm2/pim/pass/card.mod: (New file).
	* gm2/pim/pass/card2.mod: (New file).
	* gm2/pim/pass/char.mod: (New file).
	* gm2/pim/pass/char2.mod: (New file).
	* gm2/pim/pass/charproc.mod: (New file).
	* gm2/pim/pass/charset.mod: (New file).
	* gm2/pim/pass/charset2.mod: (New file).
	* gm2/pim/pass/charset3.mod: (New file).
	* gm2/pim/pass/checkparm.def: (New file).
	* gm2/pim/pass/checkparm.mod: (New file).
	* gm2/pim/pass/colour.mod: (New file).
	* gm2/pim/pass/comment1.mod: (New file).
	* gm2/pim/pass/complexarray.mod: (New file).
	* gm2/pim/pass/complextypes.mod: (New file).
	* gm2/pim/pass/constcast.mod: (New file).
	* gm2/pim/pass/constmax.mod: (New file).
	* gm2/pim/pass/constset.mod: (New file).
	* gm2/pim/pass/constset2.mod: (New file).
	* gm2/pim/pass/constset3.mod: (New file).
	* gm2/pim/pass/constsize.mod: (New file).
	* gm2/pim/pass/constsize2.mod: (New file).
	* gm2/pim/pass/convert.mod: (New file).
	* gm2/pim/pass/convert2.mod: (New file).
	* gm2/pim/pass/convert3.mod: (New file).
	* gm2/pim/pass/convert4.mod: (New file).
	* gm2/pim/pass/danglingelse.mod: (New file).
	* gm2/pim/pass/debug: (New file).
	* gm2/pim/pass/defset.def: (New file).
	* gm2/pim/pass/defset.mod: (New file).
	* gm2/pim/pass/deftype.mod: (New file).
	* gm2/pim/pass/divaddr.mod: (New file).
	* gm2/pim/pass/enum.mod: (New file).
	* gm2/pim/pass/enum2.mod: (New file).
	* gm2/pim/pass/enum3.mod: (New file).
	* gm2/pim/pass/file.mod: (New file).
	* gm2/pim/pass/filesystem.mod: (New file).
	* gm2/pim/pass/foo.mod: (New file).
	* gm2/pim/pass/foo2.mod: (New file).
	* gm2/pim/pass/for1.mod: (New file).
	* gm2/pim/pass/function.mod: (New file).
	* gm2/pim/pass/function2.mod: (New file).
	* gm2/pim/pass/gcd.def: (New file).
	* gm2/pim/pass/gcd.mod: (New file).
	* gm2/pim/pass/getconst.mod: (New file).
	* gm2/pim/pass/hello.mod: (New file).
	* gm2/pim/pass/impa.mod: (New file).
	* gm2/pim/pass/impb.def: (New file).
	* gm2/pim/pass/impb.mod: (New file).
	* gm2/pim/pass/impc.def: (New file).
	* gm2/pim/pass/impc.mod: (New file).
	* gm2/pim/pass/impd.mod: (New file).
	* gm2/pim/pass/impe.mod: (New file).
	* gm2/pim/pass/impf.mod: (New file).
	* gm2/pim/pass/impg.mod: (New file).
	* gm2/pim/pass/imph.mod: (New file).
	* gm2/pim/pass/impi.mod: (New file).
	* gm2/pim/pass/impj.mod: (New file).
	* gm2/pim/pass/impk.mod: (New file).
	* gm2/pim/pass/impl.mod: (New file).
	* gm2/pim/pass/impm.mod: (New file).
	* gm2/pim/pass/impn.def: (New file).
	* gm2/pim/pass/impn.mod: (New file).
	* gm2/pim/pass/impo.mod: (New file).
	* gm2/pim/pass/imports.mod: (New file).
	* gm2/pim/pass/impp.def: (New file).
	* gm2/pim/pass/impp.mod: (New file).
	* gm2/pim/pass/impq.def: (New file).
	* gm2/pim/pass/impq.mod: (New file).
	* gm2/pim/pass/incompsets.mod: (New file).
	* gm2/pim/pass/index.mod: (New file).
	* gm2/pim/pass/index2.mod: (New file).
	* gm2/pim/pass/indirect.mod: (New file).
	* gm2/pim/pass/inner.mod: (New file).
	* gm2/pim/pass/inner2.mod: (New file).
	* gm2/pim/pass/int.mod: (New file).
	* gm2/pim/pass/largeset.mod: (New file).
	* gm2/pim/pass/largeset1.mod: (New file).
	* gm2/pim/pass/largeset2.mod: (New file).
	* gm2/pim/pass/largeset3.mod: (New file).
	* gm2/pim/pass/largeset4.mod: (New file).
	* gm2/pim/pass/largeset5.mod: (New file).
	* gm2/pim/pass/largeset6.mod: (New file).
	* gm2/pim/pass/largeset7.mod: (New file).
	* gm2/pim/pass/localmod.mod: (New file).
	* gm2/pim/pass/localproc.mod: (New file).
	* gm2/pim/pass/localvar.mod: (New file).
	* gm2/pim/pass/log: (New file).
	* gm2/pim/pass/longint.mod: (New file).
	* gm2/pim/pass/longint2.mod: (New file).
	* gm2/pim/pass/longmm.mod: (New file).
	* gm2/pim/pass/longreal.mod: (New file).
	* gm2/pim/pass/longtypes.mod: (New file).
	* gm2/pim/pass/longtypes3.mod: (New file).
	* gm2/pim/pass/longtypes4.mod: (New file).
	* gm2/pim/pass/longtypes5.mod: (New file).
	* gm2/pim/pass/longtypes6.mod: (New file).
	* gm2/pim/pass/loopexit.mod: (New file).
	* gm2/pim/pass/math.mod: (New file).
	* gm2/pim/pass/maxlongint.mod: (New file).
	* gm2/pim/pass/maxreal.mod: (New file).
	* gm2/pim/pass/maxreal2.mod: (New file).
	* gm2/pim/pass/minmaxconst.mod: (New file).
	* gm2/pim/pass/minmaxconst2.mod: (New file).
	* gm2/pim/pass/modaddr.mod: (New file).
	* gm2/pim/pass/multaddr.mod: (New file).
	* gm2/pim/pass/multiple.mod: (New file).
	* gm2/pim/pass/multiset.mod: (New file).
	* gm2/pim/pass/multtypes.mod: (New file).
	* gm2/pim/pass/mydef.def: (New file).
	* gm2/pim/pass/negatives.def: (New file).
	* gm2/pim/pass/negatives.mod: (New file).
	* gm2/pim/pass/nested.mod: (New file).
	* gm2/pim/pass/nested2.mod: (New file).
	* gm2/pim/pass/nested3.mod: (New file).
	* gm2/pim/pass/nested4.mod: (New file).
	* gm2/pim/pass/nested5.mod: (New file).
	* gm2/pim/pass/nested6.mod: (New file).
	* gm2/pim/pass/nested7.mod: (New file).
	* gm2/pim/pass/nestedfor.mod: (New file).
	* gm2/pim/pass/nestedif.mod: (New file).
	* gm2/pim/pass/nestedset.mod: (New file).
	* gm2/pim/pass/onezero.mod: (New file).
	* gm2/pim/pass/opaque.def: (New file).
	* gm2/pim/pass/opaque.mod: (New file).
	* gm2/pim/pass/opaque2.mod: (New file).
	* gm2/pim/pass/opaquetype.def: (New file).
	* gm2/pim/pass/opaquetype.mod: (New file).
	* gm2/pim/pass/param.mod: (New file).
	* gm2/pim/pass/param2.mod: (New file).
	* gm2/pim/pass/param3.mod: (New file).
	* gm2/pim/pass/parambool.mod: (New file).
	* gm2/pim/pass/paramreal.mod: (New file).
	* gm2/pim/pass/pim-pass.exp: (New file).
	* gm2/pim/pass/pimimp.mod: (New file).
	* gm2/pim/pass/pointer.mod: (New file).
	* gm2/pim/pass/procadr.mod: (New file).
	* gm2/pim/pass/procconv.mod: (New file).
	* gm2/pim/pass/procconv2.mod: (New file).
	* gm2/pim/pass/procedure1.mod: (New file).
	* gm2/pim/pass/procedure2.mod: (New file).
	* gm2/pim/pass/procindirect.mod: (New file).
	* gm2/pim/pass/procmod.mod: (New file).
	* gm2/pim/pass/procmod2.mod: (New file).
	* gm2/pim/pass/procmod3.mod: (New file).
	* gm2/pim/pass/procmod31.mod: (New file).
	* gm2/pim/pass/procmod4.mod: (New file).
	* gm2/pim/pass/procmod5.mod: (New file).
	* gm2/pim/pass/procmod6.def: (New file).
	* gm2/pim/pass/procmod6.mod: (New file).
	* gm2/pim/pass/procmod7.mod: (New file).
	* gm2/pim/pass/procmod8.mod: (New file).
	* gm2/pim/pass/procmod9.mod: (New file).
	* gm2/pim/pass/proctype.mod: (New file).
	* gm2/pim/pass/proctype2.def: (New file).
	* gm2/pim/pass/proctype3.mod: (New file).
	* gm2/pim/pass/proctype4.mod: (New file).
	* gm2/pim/pass/program.mod: (New file).
	* gm2/pim/pass/program2.mod: (New file).
	* gm2/pim/pass/ptrarray.mod: (New file).
	* gm2/pim/pass/ptrarray2.mod: (New file).
	* gm2/pim/pass/ptrarray3.mod: (New file).
	* gm2/pim/pass/ptrcard.mod: (New file).
	* gm2/pim/pass/quads.def: (New file).
	* gm2/pim/pass/quads.mod: (New file).
	* gm2/pim/pass/real.mod: (New file).
	* gm2/pim/pass/real2.mod: (New file).
	* gm2/pim/pass/real3.mod: (New file).
	* gm2/pim/pass/realconst.mod: (New file).
	* gm2/pim/pass/realneg.mod: (New file).
	* gm2/pim/pass/realneg2.mod: (New file).
	* gm2/pim/pass/realone.mod: (New file).
	* gm2/pim/pass/realsize.mod: (New file).
	* gm2/pim/pass/record1.mod: (New file).
	* gm2/pim/pass/record10.mod: (New file).
	* gm2/pim/pass/record11.mod: (New file).
	* gm2/pim/pass/record12.def: (New file).
	* gm2/pim/pass/record13.def: (New file).
	* gm2/pim/pass/record14.def: (New file).
	* gm2/pim/pass/record15.def: (New file).
	* gm2/pim/pass/record16.def: (New file).
	* gm2/pim/pass/record2.mod: (New file).
	* gm2/pim/pass/record3.mod: (New file).
	* gm2/pim/pass/record4.mod: (New file).
	* gm2/pim/pass/record5.mod: (New file).
	* gm2/pim/pass/record6.mod: (New file).
	* gm2/pim/pass/record7.mod: (New file).
	* gm2/pim/pass/record8.mod: (New file).
	* gm2/pim/pass/record9.mod: (New file).
	* gm2/pim/pass/recordarray.c: (New file).
	* gm2/pim/pass/recordarray.mod: (New file).
	* gm2/pim/pass/recordarray2.mod: (New file).
	* gm2/pim/pass/redef.mod: (New file).
	* gm2/pim/pass/set10.mod: (New file).
	* gm2/pim/pass/set11.def: (New file).
	* gm2/pim/pass/set11.mod: (New file).
	* gm2/pim/pass/set12.mod: (New file).
	* gm2/pim/pass/set4.mod: (New file).
	* gm2/pim/pass/set5.mod: (New file).
	* gm2/pim/pass/set6.mod: (New file).
	* gm2/pim/pass/set7.mod: (New file).
	* gm2/pim/pass/set8.mod: (New file).
	* gm2/pim/pass/set9.mod: (New file).
	* gm2/pim/pass/setchar.mod: (New file).
	* gm2/pim/pass/setchar10.mod: (New file).
	* gm2/pim/pass/setchar11.mod: (New file).
	* gm2/pim/pass/setchar3.mod: (New file).
	* gm2/pim/pass/setchar4.mod: (New file).
	* gm2/pim/pass/setchar5.mod: (New file).
	* gm2/pim/pass/setchar7.mod: (New file).
	* gm2/pim/pass/setchar8.mod: (New file).
	* gm2/pim/pass/setchar9.mod: (New file).
	* gm2/pim/pass/setconst.mod: (New file).
	* gm2/pim/pass/setconst2.mod: (New file).
	* gm2/pim/pass/setconst3.mod: (New file).
	* gm2/pim/pass/setenum.mod: (New file).
	* gm2/pim/pass/setimp.mod: (New file).
	* gm2/pim/pass/setimp2.mod: (New file).
	* gm2/pim/pass/setofchar.mod: (New file).
	* gm2/pim/pass/setoverflow.mod: (New file).
	* gm2/pim/pass/sets.mod: (New file).
	* gm2/pim/pass/sets2.mod: (New file).
	* gm2/pim/pass/sets3.mod: (New file).
	* gm2/pim/pass/sets4.mod: (New file).
	* gm2/pim/pass/sets5.mod: (New file).
	* gm2/pim/pass/sets6.mod: (New file).
	* gm2/pim/pass/setsnul.mod: (New file).
	* gm2/pim/pass/settest1.mod: (New file).
	* gm2/pim/pass/settest2.mod: (New file).
	* gm2/pim/pass/settest3.mod: (New file).
	* gm2/pim/pass/simpleproc.mod: (New file).
	* gm2/pim/pass/sizes.mod: (New file).
	* gm2/pim/pass/sizetype.mod: (New file).
	* gm2/pim/pass/smallset1.mod: (New file).
	* gm2/pim/pass/smallset2.mod: (New file).
	* gm2/pim/pass/smallset3.mod: (New file).
	* gm2/pim/pass/smallset4.mod: (New file).
	* gm2/pim/pass/smallset5.mod: (New file).
	* gm2/pim/pass/smallset6.mod: (New file).
	* gm2/pim/pass/smallset7.mod: (New file).
	* gm2/pim/pass/stabs.mod: (New file).
	* gm2/pim/pass/stdio.mod: (New file).
	* gm2/pim/pass/str1.mod: (New file).
	* gm2/pim/pass/str2.mod: (New file).
	* gm2/pim/pass/str3.mod: (New file).
	* gm2/pim/pass/str4.mod: (New file).
	* gm2/pim/pass/str5.mod: (New file).
	* gm2/pim/pass/stressset.mod: (New file).
	* gm2/pim/pass/stringassign.mod: (New file).
	* gm2/pim/pass/stringopaq.mod: (New file).
	* gm2/pim/pass/strings.mod: (New file).
	* gm2/pim/pass/strparam.def: (New file).
	* gm2/pim/pass/strparam.mod: (New file).
	* gm2/pim/pass/subrange.mod: (New file).
	* gm2/pim/pass/subrange10.mod: (New file).
	* gm2/pim/pass/subrange11.mod: (New file).
	* gm2/pim/pass/subrange12.mod: (New file).
	* gm2/pim/pass/subrange14.mod: (New file).
	* gm2/pim/pass/subrange15.mod: (New file).
	* gm2/pim/pass/subrange16.mod: (New file).
	* gm2/pim/pass/subrange17.mod: (New file).
	* gm2/pim/pass/subrange2.mod: (New file).
	* gm2/pim/pass/subrange3.mod: (New file).
	* gm2/pim/pass/subrange4.mod: (New file).
	* gm2/pim/pass/subrange5.mod: (New file).
	* gm2/pim/pass/subrange6.mod: (New file).
	* gm2/pim/pass/subrange7.mod: (New file).
	* gm2/pim/pass/subrange8.mod: (New file).
	* gm2/pim/pass/subrange9.mod: (New file).
	* gm2/pim/pass/test2recursive.mod: (New file).
	* gm2/pim/pass/testabs.mod: (New file).
	* gm2/pim/pass/testbuiltin.mod: (New file).
	* gm2/pim/pass/testbuiltin2.mod: (New file).
	* gm2/pim/pass/testbuiltstr.mod: (New file).
	* gm2/pim/pass/testcap.mod: (New file).
	* gm2/pim/pass/testcap2.mod: (New file).
	* gm2/pim/pass/testcard.mod: (New file).
	* gm2/pim/pass/testcard2.mod: (New file).
	* gm2/pim/pass/testcard3.mod: (New file).
	* gm2/pim/pass/testcard4.mod: (New file).
	* gm2/pim/pass/testcard5.mod: (New file).
	* gm2/pim/pass/testcase.mod: (New file).
	* gm2/pim/pass/testcase2.mod: (New file).
	* gm2/pim/pass/testcase3.mod: (New file).
	* gm2/pim/pass/testcase4.mod: (New file).
	* gm2/pim/pass/testchar.mod: (New file).
	* gm2/pim/pass/testfloat.mod: (New file).
	* gm2/pim/pass/testfloat2.mod: (New file).
	* gm2/pim/pass/testfloat3.mod: (New file).
	* gm2/pim/pass/testfloat4.mod: (New file).
	* gm2/pim/pass/testfor.mod: (New file).
	* gm2/pim/pass/testimpvar.mod: (New file).
	* gm2/pim/pass/testlong3.mod: (New file).
	* gm2/pim/pass/testmod.mod: (New file).
	* gm2/pim/pass/testmod2.mod: (New file).
	* gm2/pim/pass/testodd.mod: (New file).
	* gm2/pim/pass/testopaque.mod: (New file).
	* gm2/pim/pass/testopaque2.mod: (New file).
	* gm2/pim/pass/testopaque3.mod: (New file).
	* gm2/pim/pass/testord.mod: (New file).
	* gm2/pim/pass/testparam.mod: (New file).
	* gm2/pim/pass/testparam2.mod: (New file).
	* gm2/pim/pass/testparam3.mod: (New file).
	* gm2/pim/pass/testpimsize.mod: (New file).
	* gm2/pim/pass/testrecursive.def: (New file).
	* gm2/pim/pass/testrecursive.mod: (New file).
	* gm2/pim/pass/testreturnstr.mod: (New file).
	* gm2/pim/pass/testset.mod: (New file).
	* gm2/pim/pass/testshort.mod: (New file).
	* gm2/pim/pass/testsinf.mod: (New file).
	* gm2/pim/pass/testsinl.mod: (New file).
	* gm2/pim/pass/testsize.mod: (New file).
	* gm2/pim/pass/testvar.mod: (New file).
	* gm2/pim/pass/testvarin.mod: (New file).
	* gm2/pim/pass/timeio.mod: (New file).
	* gm2/pim/pass/timeio2.mod: (New file).
	* gm2/pim/pass/timeio3.mod: (New file).
	* gm2/pim/pass/timeio4.mod: (New file).
	* gm2/pim/pass/timeio5.mod: (New file).
	* gm2/pim/pass/timeio6.mod: (New file).
	* gm2/pim/pass/timeio7.mod: (New file).
	* gm2/pim/pass/timeio8.mod: (New file).
	* gm2/pim/pass/timeio9.mod: (New file).
	* gm2/pim/pass/tinyalloc.mod: (New file).
	* gm2/pim/pass/tinyarray.mod: (New file).
	* gm2/pim/pass/tinyarray2.mod: (New file).
	* gm2/pim/pass/tinyarray3.mod: (New file).
	* gm2/pim/pass/tinyarray4.mod: (New file).
	* gm2/pim/pass/tinyarray5.mod: (New file).
	* gm2/pim/pass/tinyarray6.mod: (New file).
	* gm2/pim/pass/tinyassign.def: (New file).
	* gm2/pim/pass/tinyassign.mod: (New file).
	* gm2/pim/pass/tinyassign2.mod: (New file).
	* gm2/pim/pass/tinyassign3.mod: (New file).
	* gm2/pim/pass/tinyassign4.mod: (New file).
	* gm2/pim/pass/tinyassign5.mod: (New file).
	* gm2/pim/pass/tinybitset.mod: (New file).
	* gm2/pim/pass/tinyelse.mod: (New file).
	* gm2/pim/pass/tinyenum.mod: (New file).
	* gm2/pim/pass/tinyfor.mod: (New file).
	* gm2/pim/pass/tinyfor2.mod: (New file).
	* gm2/pim/pass/tinyfor3.mod: (New file).
	* gm2/pim/pass/tinyhalt.mod: (New file).
	* gm2/pim/pass/tinyhello.mod: (New file).
	* gm2/pim/pass/tinyif.mod: (New file).
	* gm2/pim/pass/tinyif2.mod: (New file).
	* gm2/pim/pass/tinyif3.mod: (New file).
	* gm2/pim/pass/tinyif4.mod: (New file).
	* gm2/pim/pass/tinyif5.mod: (New file).
	* gm2/pim/pass/tinyif6.mod: (New file).
	* gm2/pim/pass/tinyif7.mod: (New file).
	* gm2/pim/pass/tinyif8.mod: (New file).
	* gm2/pim/pass/tinyimp.mod: (New file).
	* gm2/pim/pass/tinylit.mod: (New file).
	* gm2/pim/pass/tinylit2.mod: (New file).
	* gm2/pim/pass/tinymax.mod: (New file).
	* gm2/pim/pass/tinymod.mod: (New file).
	* gm2/pim/pass/tinynode.mod: (New file).
	* gm2/pim/pass/tinyparam.mod: (New file).
	* gm2/pim/pass/tinyparam2.mod: (New file).
	* gm2/pim/pass/tinyplus.mod: (New file).
	* gm2/pim/pass/tinyproc.mod: (New file).
	* gm2/pim/pass/tinyproc2.mod: (New file).
	* gm2/pim/pass/tinyproc3.mod: (New file).
	* gm2/pim/pass/tinyproc4.mod: (New file).
	* gm2/pim/pass/tinyproc5.mod: (New file).
	* gm2/pim/pass/tinyproc6.mod: (New file).
	* gm2/pim/pass/tinyptr.mod: (New file).
	* gm2/pim/pass/tinyreal.mod: (New file).
	* gm2/pim/pass/tinyrecord.mod: (New file).
	* gm2/pim/pass/tinyrepeat.mod: (New file).
	* gm2/pim/pass/tinyset6.mod: (New file).
	* gm2/pim/pass/tinyset7.mod: (New file).
	* gm2/pim/pass/tinystate.mod: (New file).
	* gm2/pim/pass/tinysub.def: (New file).
	* gm2/pim/pass/tinytest.mod: (New file).
	* gm2/pim/pass/tinytrue.mod: (New file).
	* gm2/pim/pass/tinyvar.mod: (New file).
	* gm2/pim/pass/tinyvar2.mod: (New file).
	* gm2/pim/pass/tinyvar3.mod: (New file).
	* gm2/pim/pass/tinyvar4.mod: (New file).
	* gm2/pim/pass/tinyvar5.mod: (New file).
	* gm2/pim/pass/tinyvarient.mod: (New file).
	* gm2/pim/pass/tinyvarient2.mod: (New file).
	* gm2/pim/pass/tinyvarient3.def: (New file).
	* gm2/pim/pass/tinyvarient3.mod: (New file).
	* gm2/pim/pass/tinyvarient4.mod: (New file).
	* gm2/pim/pass/tinyvarient5.mod: (New file).
	* gm2/pim/pass/tinyvarient6.mod: (New file).
	* gm2/pim/pass/tinywhile.mod: (New file).
	* gm2/pim/pass/tinywith.mod: (New file).
	* gm2/pim/pass/tinywith2.mod: (New file).
	* gm2/pim/pass/tinywith3.mod: (New file).
	* gm2/pim/pass/tinywith4.mod: (New file).
	* gm2/pim/pass/tinywith5.mod: (New file).
	* gm2/pim/pass/tinywith6.mod: (New file).
	* gm2/pim/pass/trunc.mod: (New file).
	* gm2/pim/pass/try: (New file).
	* gm2/pim/pass/typeequiv.mod: (New file).
	* gm2/pim/pass/typeequiv2.mod: (New file).
	* gm2/pim/pass/typeequiv3.mod: (New file).
	* gm2/pim/pass/typeonly.def: (New file).
	* gm2/pim/pass/typeonly.mod: (New file).
	* gm2/pim/pass/typesize.mod: (New file).
	* gm2/pim/pass/unbounded.mod: (New file).
	* gm2/pim/pass/unbounded2.mod: (New file).
	* gm2/pim/pass/unbounded3.mod: (New file).
	* gm2/pim/pass/v.def: (New file).
	* gm2/pim/pass/varaddress.mod: (New file).
	* gm2/pim/pass/varaddress2.mod: (New file).
	* gm2/pim/pass/varaddress3.mod: (New file).
	* gm2/pim/pass/varcard.mod: (New file).
	* gm2/pim/pass/variant9.mod: (New file).
	* gm2/pim/pass/varient.mod: (New file).
	* gm2/pim/pass/varient2.mod: (New file).
	* gm2/pim/pass/varient3.mod: (New file).
	* gm2/pim/pass/varient4.mod: (New file).
	* gm2/pim/pass/varient5.mod: (New file).
	* gm2/pim/pass/varient6.mod: (New file).
	* gm2/pim/pass/varient7.mod: (New file).
	* gm2/pim/pass/varient8.mod: (New file).
	* gm2/pim/pass/varin.def: (New file).
	* gm2/pim/pass/varin.mod: (New file).
	* gm2/pim/pass/varint.mod: (New file).
	* gm2/pim/pass/wincat.mod: (New file).
	* gm2/pim/pass/with.mod: (New file).
	* gm2/pim/pass/wordconst.mod: (New file).
	* gm2/pim/run/fail/case.mod: (New file).
	* gm2/pim/run/fail/nil.mod: (New file).
	* gm2/pim/run/fail/pim-run-fail.exp: (New file).
	* gm2/pim/run/pass/Countdown.mod: (New file).
	* gm2/pim/run/pass/EndFor.def: (New file).
	* gm2/pim/run/pass/EndFor.mod: (New file).
	* gm2/pim/run/pass/EnumTest.mod: (New file).
	* gm2/pim/run/pass/For1.mod: (New file).
	* gm2/pim/run/pass/For10.mod: (New file).
	* gm2/pim/run/pass/For11.mod: (New file).
	* gm2/pim/run/pass/For12.mod: (New file).
	* gm2/pim/run/pass/For2.mod: (New file).
	* gm2/pim/run/pass/For3.mod: (New file).
	* gm2/pim/run/pass/For4.mod: (New file).
	* gm2/pim/run/pass/For5.mod: (New file).
	* gm2/pim/run/pass/For6.mod: (New file).
	* gm2/pim/run/pass/For7.mod: (New file).
	* gm2/pim/run/pass/For8.mod: (New file).
	* gm2/pim/run/pass/For9.mod: (New file).
	* gm2/pim/run/pass/FpuIOBug.mod: (New file).
	* gm2/pim/run/pass/MaxReal.mod: (New file).
	* gm2/pim/run/pass/MaxReal2.mod: (New file).
	* gm2/pim/run/pass/TestLong.mod: (New file).
	* gm2/pim/run/pass/TestLong2.mod: (New file).
	* gm2/pim/run/pass/TestLong4.mod: (New file).
	* gm2/pim/run/pass/TestLong5.mod: (New file).
	* gm2/pim/run/pass/addrarray.mod: (New file).
	* gm2/pim/run/pass/arraychar.mod: (New file).
	* gm2/pim/run/pass/arraychar2.mod: (New file).
	* gm2/pim/run/pass/arrayrecord.mod: (New file).
	* gm2/pim/run/pass/bitsettest.def: (New file).
	* gm2/pim/run/pass/bitsettest.mod: (New file).
	* gm2/pim/run/pass/bytearray.mod: (New file).
	* gm2/pim/run/pass/constdynstr.mod: (New file).
	* gm2/pim/run/pass/conststr.mod: (New file).
	* gm2/pim/run/pass/conststr2.mod: (New file).
	* gm2/pim/run/pass/cycles.mod: (New file).
	* gm2/pim/run/pass/dec.mod: (New file).
	* gm2/pim/run/pass/enums.mod: (New file).
	* gm2/pim/run/pass/incsubrange.def: (New file).
	* gm2/pim/run/pass/incsubrange.mod: (New file).
	* gm2/pim/run/pass/index3.mod: (New file).
	* gm2/pim/run/pass/int16.mod: (New file).
	* gm2/pim/run/pass/int32.mod: (New file).
	* gm2/pim/run/pass/int8.mod: (New file).
	* gm2/pim/run/pass/line.mod: (New file).
	* gm2/pim/run/pass/long.mod: (New file).
	* gm2/pim/run/pass/longfor.mod: (New file).
	* gm2/pim/run/pass/longtypes10.mod: (New file).
	* gm2/pim/run/pass/longtypes7.mod: (New file).
	* gm2/pim/run/pass/longtypes8.mod: (New file).
	* gm2/pim/run/pass/longtypes9.mod: (New file).
	* gm2/pim/run/pass/math.mod: (New file).
	* gm2/pim/run/pass/math2.mod: (New file).
	* gm2/pim/run/pass/mathconst.mod: (New file).
	* gm2/pim/run/pass/minhello.mod: (New file).
	* gm2/pim/run/pass/minimal.mod: (New file).
	* gm2/pim/run/pass/nestedproc.mod: (New file).
	* gm2/pim/run/pass/nestedproc2.mod: (New file).
	* gm2/pim/run/pass/nestedproc3.mod: (New file).
	* gm2/pim/run/pass/nestedproc4.mod: (New file).
	* gm2/pim/run/pass/nestedproc5.mod: (New file).
	* gm2/pim/run/pass/nestedproc6.mod: (New file).
	* gm2/pim/run/pass/nestedproc7.mod: (New file).
	* gm2/pim/run/pass/nestedwith.mod: (New file).
	* gm2/pim/run/pass/nestedwith2.mod: (New file).
	* gm2/pim/run/pass/nestedwith3.mod: (New file).
	* gm2/pim/run/pass/nothing.mod: (New file).
	* gm2/pim/run/pass/pim-run-pass.exp: (New file).
	* gm2/pim/run/pass/prog31ex.mod: (New file).
	* gm2/pim/run/pass/rts.mod: (New file).
	* gm2/pim/run/pass/setcritical.mod: (New file).
	* gm2/pim/run/pass/setequiv.mod: (New file).
	* gm2/pim/run/pass/str6.mod: (New file).
	* gm2/pim/run/pass/stringaddr.mod: (New file).
	* gm2/pim/run/pass/stringaddr2.def: (New file).
	* gm2/pim/run/pass/stringaddr2.mod: (New file).
	* gm2/pim/run/pass/stripped.mod: (New file).
	* gm2/pim/run/pass/sys.def: (New file).
	* gm2/pim/run/pass/sys.mod: (New file).
	* gm2/pim/run/pass/t.def: (New file).
	* gm2/pim/run/pass/testaddr.mod: (New file).
	* gm2/pim/run/pass/testaddr2.mod: (New file).
	* gm2/pim/run/pass/testaddr3.mod: (New file).
	* gm2/pim/run/pass/testarray.mod: (New file).
	* gm2/pim/run/pass/testarray2.mod: (New file).
	* gm2/pim/run/pass/testarray3.mod: (New file).
	* gm2/pim/run/pass/testarray4.mod: (New file).
	* gm2/pim/run/pass/testarray5.mod: (New file).
	* gm2/pim/run/pass/testavail.mod: (New file).
	* gm2/pim/run/pass/testdiv.mod: (New file).
	* gm2/pim/run/pass/testfpufunc.mod: (New file).
	* gm2/pim/run/pass/testfpufunc2.mod: (New file).
	* gm2/pim/run/pass/testlarge.mod: (New file).
	* gm2/pim/run/pass/testlarge2.mod: (New file).
	* gm2/pim/run/pass/testnextproc.mod: (New file).
	* gm2/pim/run/pass/testparam.mod: (New file).
	* gm2/pim/run/pass/testreturnstr.mod: (New file).
	* gm2/pim/run/pass/testreturnstr2.mod: (New file).
	* gm2/pim/run/pass/testreturnstr3.def: (New file).
	* gm2/pim/run/pass/testreturnstr3.mod: (New file).
	* gm2/pim/run/pass/testsize.mod: (New file).
	* gm2/pim/run/pass/testsize2.mod: (New file).
	* gm2/pim/run/pass/testsize3.mod: (New file).
	* gm2/pim/run/pass/testsize4.mod: (New file).
	* gm2/pim/run/pass/testtbitsize.mod: (New file).
	* gm2/pim/run/pass/tinywith.mod: (New file).
	* gm2/pim/run/pass/unbounded.mod: (New file).
	* gm2/pim/run/pass/varaddress3.mod: (New file).
	* gm2/pim/run/pass/varparam2.mod: (New file).
	* gm2/pim/run/pass/varparam3.mod: (New file).
	* gm2/pim/run/pass/varparm.mod: (New file).
	* gm2/pim/run/pass/wr.mod: (New file).
	* gm2/pimcoroutines/pass/imports.mod: (New file).
	* gm2/pimcoroutines/pass/imports2.mod: (New file).
	* gm2/pimcoroutines/pass/pimcoroutines-pass.exp: (New file).
	* gm2/pimcoroutines/run/pass/pimcoroutines-run-pass.exp: (New file).
	* gm2/pimcoroutines/run/pass/testtime.mod: (New file).
	* gm2/pimlib/base/run/pass/FIO.mod: (New file).
	* gm2/pimlib/base/run/pass/StrLib.mod: (New file).
	* gm2/pimlib/base/run/pass/pimlib-base-run-pass.exp: (New file).
	* gm2/pimlib/base/run/pass/testconvert.mod: (New file).
	* gm2/pimlib/coroutines/pass/pimlib-coroutines-pass.exp: (New file).
	* gm2/pimlib/coroutines/pass/priority.mod: (New file).
	* gm2/pimlib/coroutines/pass/priority2.mod: (New file).
	* gm2/pimlib/coroutines/pass/priority3.def: (New file).
	* gm2/pimlib/coroutines/pass/priority3.mod: (New file).
	* gm2/pimlib/logitech/pass/LogitechLong.mod: (New file).
	* gm2/pimlib/logitech/pass/hello.mod: (New file).
	* gm2/pimlib/logitech/pass/pimlib-logitech-pass.exp: (New file).
	* gm2/pimlib/logitech/run/pass/bbits.mod: (New file).
	* gm2/pimlib/logitech/run/pass/hello.mod: (New file).
	* gm2/pimlib/logitech/run/pass/helloinout.mod: (New file).
	* gm2/pimlib/logitech/run/pass/intb.mod: (New file).
	* gm2/pimlib/logitech/run/pass/pimlib-logitech-run-pass.exp: (New file).
	* gm2/pimlib/logitech/run/pass/realconv.mod: (New file).
	* gm2/pimlib/logitech/run/pass/realinput.mod: (New file).
	* gm2/pimlib/logitech/run/pass/realinput2.mod: (New file).
	* gm2/pimlib/logitech/run/pass/realinput3.mod: (New file).
	* gm2/pimlib/logitech/run/pass/rename.mod: (New file).
	* gm2/pimlib/logitech/run/pass/timedate.mod: (New file).
	* gm2/pimlib/logitech/run/pass/writeoct.mod: (New file).
	* gm2/pimlib/pass/pimlib-pass.exp: (New file).
	* gm2/pimlib/run/pass/format.mod: (New file).
	* gm2/pimlib/run/pass/limittests.c: (New file).
	* gm2/pimlib/run/pass/limittests.mod: (New file).
	* gm2/pimlib/run/pass/longreal.mod: (New file).
	* gm2/pimlib/run/pass/pimlib-run-pass.exp: (New file).
	* gm2/pimlib/run/pass/test.c: (New file).
	* gm2/pimlib/run/pass/testreal.mod: (New file).
	* gm2/pimlib/run/pass/testreal2.mod: (New file).
	* gm2/pimlib/run/pass/testreal4.mod: (New file).
	* gm2/projects/README: (New file).
	* gm2/projects/iso/run/pass/halma/halma.mod: (New file).
	* gm2/projects/iso/run/pass/halma/projects-iso-run-pass-halma.exp:
	(New file).
	* gm2/projects/iso/run/pass/hello/hello.mod: (New file).
	* gm2/projects/iso/run/pass/hello/projects-iso-run-pass-hello.exp:
	(New file).
	* gm2/projects/log/run/pass/hello/hello.mod: (New file).
	* gm2/projects/log/run/pass/hello/projects-log-run-pass-hello.exp:
	(New file).
	* gm2/projects/pim/run/pass/hello/hello.mod: (New file).
	* gm2/projects/pim/run/pass/hello/projects-pim-run-pass-hello.exp:
	(New file).
	* gm2/projects/pim/run/pass/random/AdvMap.def: (New file).
	* gm2/projects/pim/run/pass/random/AdvMap.mod: (New file).
	* gm2/projects/pim/run/pass/random/BoxMap.def: (New file).
	* gm2/projects/pim/run/pass/random/BoxMap.mod: (New file).
	* gm2/projects/pim/run/pass/random/Chance.def: (New file).
	* gm2/projects/pim/run/pass/random/Chance.mod: (New file).
	* gm2/projects/pim/run/pass/random/Geometry.def: (New file).
	* gm2/projects/pim/run/pass/random/Geometry.mod: (New file).
	* gm2/projects/pim/run/pass/random/MakeBoxes.def: (New file).
	* gm2/projects/pim/run/pass/random/MakeBoxes.mod: (New file).
	* gm2/projects/pim/run/pass/random/Map.mod: (New file).
	* gm2/projects/pim/run/pass/random/MapOptions.def: (New file).
	* gm2/projects/pim/run/pass/random/MapOptions.mod: (New file).
	* gm2/projects/pim/run/pass/random/Options.def: (New file).
	* gm2/projects/pim/run/pass/random/Options.mod: (New file).
	* gm2/projects/pim/run/pass/random/RoomMap.def: (New file).
	* gm2/projects/pim/run/pass/random/RoomMap.mod: (New file).
	* gm2/projects/pim/run/pass/random/StoreCoords.def: (New file).
	* gm2/projects/pim/run/pass/random/StoreCoords.mod: (New file).
	* gm2/projects/pim/run/pass/random/WriteMap.def: (New file).
	* gm2/projects/pim/run/pass/random/WriteMap.mod: (New file).
	* gm2/projects/pim/run/pass/random/projects-pim-run-pass-random.exp:
	(New file).
	* gm2/quads/run/pass/becomes.mod: (New file).
	* gm2/quads/run/pass/param.mod: (New file).
	* gm2/quads/run/pass/quads-run-pass.exp: (New file).
	* gm2/quads/run/pass/return.mod: (New file).
	* gm2/recover/pass/cannot-solve/begin.mod: (New file).
	* gm2/recover/pass/cannot-solve/statementsemi.mod: (New file).
	* gm2/recover/pass/end2.mod: (New file).
	* gm2/recover/pass/of.mod: (New file).
	* gm2/recover/pass/procsemi.mod: (New file).
	* gm2/recover/pass/recover-pass.exp: (New file).
	* gm2/recover/pass/rrbra.mod: (New file).
	* gm2/recover/pass/rsbra.mod: (New file).
	* gm2/recover/pass/semi.mod: (New file).
	* gm2/run/fail/list.mod: (New file).
	* gm2/run/fail/options: (New file).
	* gm2/run/fail/testdec.mod: (New file).
	* gm2/run/fail/testfunc.mod: (New file).
	* gm2/run/pass/cycles.mod: (New file).
	* gm2/run/pass/line.mod: (New file).
	* gm2/run/pass/nestedproc.mod: (New file).
	* gm2/run/pass/nestedproc2.mod: (New file).
	* gm2/run/pass/nestedproc3.mod: (New file).
	* gm2/run/pass/nestedproc5.mod: (New file).
	* gm2/run/pass/nestedset.mod: (New file).
	* gm2/run/pass/nothing.mod: (New file).
	* gm2/run/pass/options: (New file).
	* gm2/run/pass/prog31ex.mod: (New file).
	* gm2/run/pass/rts.mod: (New file).
	* gm2/run/pass/stripped.mod: (New file).
	* gm2/run/pass/testavail.mod: (New file).
	* gm2/run/pass/testfpufunc.mod: (New file).
	* gm2/run/pass/testfpufunc2.mod: (New file).
	* gm2/run/pass/testnextproc.mod: (New file).
	* gm2/run/pass/testparam.mod: (New file).
	* gm2/run/pass/testsize.mod: (New file).
	* gm2/run/pass/testsize2.mod: (New file).
	* gm2/run/pass/testsize3.mod: (New file).
	* gm2/run/pass/wr.mod: (New file).
	* gm2/scripts/addit: (New file).
	* gm2/scripts/comp: (New file).
	* gm2/scripts/compile: (New file).
	* gm2/scripts/compileiso: (New file).
	* gm2/scripts/link: (New file).
	* gm2/scripts/regression: (New file).
	* gm2/scripts/subit: (New file).
	* gm2/sets/run/pass/multisetarith.mod: (New file).
	* gm2/sets/run/pass/multisetarith2.mod: (New file).
	* gm2/sets/run/pass/multisetarith3.mod: (New file).
	* gm2/sets/run/pass/multisetarith4.mod: (New file).
	* gm2/sets/run/pass/multisetrotate.mod: (New file).
	* gm2/sets/run/pass/multisetrotate2.mod: (New file).
	* gm2/sets/run/pass/multisetrotate3.mod: (New file).
	* gm2/sets/run/pass/multisetrotate4.mod: (New file).
	* gm2/sets/run/pass/multisetshift.mod: (New file).
	* gm2/sets/run/pass/multisetshift2.mod: (New file).
	* gm2/sets/run/pass/multisimple.mod: (New file).
	* gm2/sets/run/pass/multisimple2.mod: (New file).
	* gm2/sets/run/pass/multisimple3.mod: (New file).
	* gm2/sets/run/pass/multisimple4.mod: (New file).
	* gm2/sets/run/pass/multisimple5.mod: (New file).
	* gm2/sets/run/pass/multisimple6.mod: (New file).
	* gm2/sets/run/pass/multisimple7.mod: (New file).
	* gm2/sets/run/pass/setarith.mod: (New file).
	* gm2/sets/run/pass/setarith2.mod: (New file).
	* gm2/sets/run/pass/setarith3.mod: (New file).
	* gm2/sets/run/pass/setarith4.mod: (New file).
	* gm2/sets/run/pass/setrotate.mod: (New file).
	* gm2/sets/run/pass/setrotate2.mod: (New file).
	* gm2/sets/run/pass/setrotate3.mod: (New file).
	* gm2/sets/run/pass/setrotate4.mod: (New file).
	* gm2/sets/run/pass/sets-run-pass.exp: (New file).
	* gm2/sets/run/pass/setshift.mod: (New file).
	* gm2/sets/run/pass/setshift2.mod: (New file).
	* gm2/sets/run/pass/simple.mod: (New file).
	* gm2/sets/run/pass/simple2.mod: (New file).
	* gm2/sets/run/pass/simple3.mod: (New file).
	* gm2/sets/run/pass/simple4.mod: (New file).
	* gm2/sets/run/pass/simple5.mod: (New file).
	* gm2/sets/run/pass/simple6.mod: (New file).
	* gm2/sets/run/pass/simple7.mod: (New file).
	* gm2/switches/auto-init/fail/switches-auto-init-fail.exp: (New file).
	* gm2/switches/auto-init/fail/uninitptr.mod: (New file).
	* gm2/switches/auto-init/fail/uninitptr2.mod: (New file).
	* gm2/switches/check-all/pim2/fail/overflow.mod: (New file).
	* gm2/switches/check-all/pim2/fail/overflow2.mod: (New file).
	* gm2/switches/check-all/pim2/fail/overflowdiv1.mod: (New file).
	* gm2/switches/check-all/pim2/fail/switches-check-all-pim2-fail.exp:
	(New file).
	* gm2/switches/check-all/plugin/iso/fail/divceilposneg.mod: (New file).
	* gm2/switches/check-all/plugin/iso/fail/divceilposneg2.mod: (New file).
	* gm2/switches/check-all/plugin/iso/fail/divceilposnegcall.mod: (New file).
	* gm2/switches/check-all/plugin/iso/fail/divceilposnegcall2.mod: (New file).
	* gm2/switches/check-all/plugin/iso/fail/divfloornegpos.mod: (New file).
	* gm2/switches/check-all/plugin/iso/fail/divfloorpospos.mod: (New file).
	* gm2/switches/check-all/plugin/iso/fail/lowdiv.mod: (New file).
	* gm2/switches/check-all/plugin/iso/fail/switches-check-all-plugin-iso-fail.exp:
	(New file).
	* gm2/switches/check-all/plugin/pim2/fail/divceil.mod: (New file).
	* gm2/switches/check-all/plugin/pim2/fail/highdiv.mod: (New file).
	* gm2/switches/check-all/plugin/pim2/fail/modulus.mod: (New file).
	* gm2/switches/check-all/plugin/pim2/fail/plugin1.mod: (New file).
	* gm2/switches/check-all/plugin/pim2/fail/plugin3.mod: (New file).
	* gm2/switches/check-all/plugin/pim2/fail/plugin4.def: (New file).
	* gm2/switches/check-all/plugin/pim2/fail/plugin4.mod: (New file).
	* gm2/switches/check-all/plugin/pim2/fail/plugin5.def: (New file).
	* gm2/switches/check-all/plugin/pim2/fail/plugin5.mod: (New file).
	* gm2/switches/check-all/plugin/pim2/fail/plugin6.def: (New file).
	* gm2/switches/check-all/plugin/pim2/fail/plugin6.mod: (New file).
	* gm2/switches/check-all/plugin/pim2/fail/plugin7.def: (New file).
	* gm2/switches/check-all/plugin/pim2/fail/plugin7.mod: (New file).
	* gm2/switches/check-all/plugin/pim2/fail/plugin8.def: (New file).
	* gm2/switches/check-all/plugin/pim2/fail/plugin8.mod: (New file).
	* gm2/switches/check-all/plugin/pim2/fail/plugin9.mod: (New file).
	* gm2/switches/check-all/plugin/pim2/fail/switches-check-all-plugin-pim2-fail.exp:
	(New file).
	* gm2/switches/check-all/run/fail/cardrange.mod: (New file).
	* gm2/switches/check-all/run/fail/cardrange2.mod: (New file).
	* gm2/switches/check-all/run/fail/cardrange3.mod: (New file).
	* gm2/switches/check-all/run/fail/intrange.mod: (New file).
	* gm2/switches/check-all/run/fail/intrange2.mod: (New file).
	* gm2/switches/check-all/run/fail/intrange3.mod: (New file).
	* gm2/switches/check-all/run/fail/intrange4.mod: (New file).
	* gm2/switches/check-all/run/fail/intrange5.mod: (New file).
	* gm2/switches/check-all/run/fail/multint1.mod: (New file).
	* gm2/switches/check-all/run/fail/multint2.mod: (New file).
	* gm2/switches/check-all/run/fail/multint3.mod: (New file).
	* gm2/switches/check-all/run/fail/rangesupport.def: (New file).
	* gm2/switches/check-all/run/fail/rangesupport.mod: (New file).
	* gm2/switches/check-all/run/fail/realrange.mod: (New file).
	* gm2/switches/check-all/run/fail/subrange.mod: (New file).
	* gm2/switches/check-all/run/fail/switches-check-all-run-fail.exp:
	(New file).
	* gm2/switches/check-all/run/fail/tinyrange.mod: (New file).
	* gm2/switches/check-all/run/pass/cardrange.mod: (New file).
	* gm2/switches/check-all/run/pass/forcheck.mod: (New file).
	* gm2/switches/check-all/run/pass/subrange.mod: (New file).
	* gm2/switches/check-all/run/pass/switches-check-all-run-pass.exp:
	(New file).
	* gm2/switches/extended-opaque/fail/a.def: (New file).
	* gm2/switches/extended-opaque/fail/a.mod: (New file).
	* gm2/switches/extended-opaque/fail/switches-extended-opaque-fail.exp:
	(New file).
	* gm2/switches/extended-opaque/pass/a.def: (New file).
	* gm2/switches/extended-opaque/pass/a.mod: (New file).
	* gm2/switches/extended-opaque/pass/b.mod: (New file).
	* gm2/switches/extended-opaque/pass/switches-extended-opaque-pass.exp:
	(New file).
	* gm2/switches/iso/run/pass/modulus.mod: (New file).
	* gm2/switches/iso/run/pass/modulus4.mod: (New file).
	* gm2/switches/iso/run/pass/switches-iso-run-pass.exp: (New file).
	* gm2/switches/makeall/fail/switches-makeall-fail.exp: (New file).
	* gm2/switches/makeall/fail/test.def: (New file).
	* gm2/switches/makeall/fail/test.mod: (New file).
	* gm2/switches/makeall/pass/switches-makeall-pass.exp: (New file).
	* gm2/switches/makeall/pass/test.def: (New file).
	* gm2/switches/makeall/pass/test.mod: (New file).
	* gm2/switches/none/run/pass/gm2-none.exp: (New file).
	* gm2/switches/none/run/pass/hello.mod: (New file).
	* gm2/switches/optimization/run/pass/fact.mod: (New file).
	* gm2/switches/optimization/run/pass/switches-optimization-run-pass.exp:
	(New file).
	* gm2/switches/pedantic-params/fail/a.def: (New file).
	* gm2/switches/pedantic-params/fail/a.mod: (New file).
	* gm2/switches/pedantic-params/fail/switches-pedantic-params-fail.exp:
	(New file).
	* gm2/switches/pedantic-params/pass/Strings.def: (New file).
	* gm2/switches/pedantic-params/pass/Strings.mod: (New file).
	* gm2/switches/pedantic-params/pass/Strings2.def: (New file).
	* gm2/switches/pedantic-params/pass/Strings2.mod: (New file).
	* gm2/switches/pedantic-params/pass/switches-pedantic-params-pass.exp:
	(New file).
	* gm2/switches/pedantic/fail/onlywrite.mod: (New file).
	* gm2/switches/pedantic/fail/readb4.mod: (New file).
	* gm2/switches/pic/run/pass/func.c: (New file).
	* gm2/switches/pic/run/pass/func.mod: (New file).
	* gm2/switches/pic/run/pass/func2.c: (New file).
	* gm2/switches/pic/run/pass/func2.mod: (New file).
	* gm2/switches/pic/run/pass/switches-pic-run-pass.exp: (New file).
	* gm2/switches/pim2/run/pass/modulus.mod: (New file).
	* gm2/switches/pim2/run/pass/switches-pim2-run-pass.exp: (New file).
	* gm2/switches/pim3/run/pass/modulus.mod: (New file).
	* gm2/switches/pim3/run/pass/switches-pim3-run-pass.exp: (New file).
	* gm2/switches/pim4/run/pass/FpuIOBug.mod: (New file).
	* gm2/switches/pim4/run/pass/InOutBug.mod: (New file).
	* gm2/switches/pim4/run/pass/NumberIOBug.mod: (New file).
	* gm2/switches/pim4/run/pass/modulus.mod: (New file).
	* gm2/switches/pim4/run/pass/modulus2.mod: (New file).
	* gm2/switches/pim4/run/pass/switches-pim4-run-pass.exp: (New file).
	* gm2/switches/whole-program/pass/run/hello.mod: (New file).
	* gm2/switches/whole-program/pass/run/hello2.mod: (New file).
	* gm2/switches/whole-program/pass/run/switches-whole-program-pass-run.exp:
	(New file).
	* gm2/switches/whole-program/pass/run/tiny.mod: (New file).
	* gm2/switches/whole-program/pass/run/tiny2.mod: (New file).
	* gm2/types/bitset.mod: (New file).
	* gm2/types/bitset2.mod: (New file).
	* gm2/types/bitset3.mod: (New file).
	* gm2/types/charset.mod: (New file).
	* gm2/types/const.mod: (New file).
	* gm2/types/prog35.mod: (New file).
	* gm2/types/real.mod: (New file).
	* gm2/types/run/pass/d.c: (New file).
	* gm2/types/run/pass/d.def: (New file).
	* gm2/types/run/pass/types-run-pass.exp: (New file).
	* gm2/types/run/pass/varient4.mod: (New file).
	* gm2/types/run/pass/varient5.mod: (New file).
	* gm2/types/string.mod: (New file).
	* gm2/types/type1.mod: (New file).
	* gm2/types/type2.mod: (New file).
	* gm2/types/type3.mod: (New file).
	* gm2/types/type4.mod: (New file).
	* gm2/types/varient.mod: (New file).
	* gm2/types/word.mod: (New file).
	* gm2/ulmlib/pass/ulmlib-pass.exp: (New file).
	* gm2/ulmlib/std/pass/ulmlib-std-pass.exp: (New file).
	* gm2/ulmlib/sys/pass/ulmlib-sys-pass.exp: (New file).
	* gm2/warnings/todo/nestedproc6.mod: (New file).
	* gm2/warnings/todo/options: (New file).
	* gm2/warnings/todo/testfor.mod: (New file).
	* gm2/warnings/todo/testfor2.mod: (New file).
	* gm2/warnings/todo/testfor3.mod: (New file).
	* gm2/warnings/todo/testkeywords.mod: (New file).
	* gm2/warnings/todo/testloop.mod: (New file).
	* gm2/warnings/todo/testscope.mod: (New file).
	* gm2/warnings/todo/testscope2.mod: (New file).
	* gm2/x86-asm/asm.mod: (New file).
	* gm2/x86-asm/asm2.mod: (New file).

Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
2022-12-14 17:43:08 +00:00

3776 lines
118 KiB
Plaintext

# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
# 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012,
# 2014, 2015, 2016, 2019, 2022 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
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
##############################################################################
### WARNING: this file contains embedded tabs. Do not run untabify on this file.
m4_include(config/acx.m4)
m4_include(config/override.m4)
m4_include(config/proginstall.m4)
m4_include(config/elf.m4)
m4_include(config/ax_cxx_compile_stdcxx.m4)
m4_include([libtool.m4])
m4_include([ltoptions.m4])
m4_include([ltsugar.m4])
m4_include([ltversion.m4])
m4_include([lt~obsolete.m4])
m4_include([config/isl.m4])
AC_INIT(move-if-change)
AC_DISABLE_OPTION_CHECKING
progname=$0
# if PWD already has a value, it is probably wrong.
if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
# Export original configure arguments for use by sub-configures.
# Quote arguments with shell meta charatcers.
TOPLEVEL_CONFIGURE_ARGUMENTS=
set -- "$progname" "$@"
for ac_arg
do
case "$ac_arg" in
*" "*|*" "*|*[[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']]*)
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
# if the argument is of the form -foo=baz, quote the baz part only
ac_arg=`echo "'$ac_arg'" | sed "s/^'\([[-a-zA-Z0-9]]*=\)/\\1'/"` ;;
*) ;;
esac
# Add the quoted argument to the list.
TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
done
if test "$silent" = yes; then
TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
fi
# Remove the initial space we just introduced and, as these will be
# expanded by make, quote '$'.
TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
AC_SUBST(TOPLEVEL_CONFIGURE_ARGUMENTS)
# Find the build, host, and target systems.
ACX_NONCANONICAL_BUILD
ACX_NONCANONICAL_HOST
ACX_NONCANONICAL_TARGET
dnl Autoconf 2.5x and later will set a default program prefix if
dnl --target was used, even if it was the same as --host. Disable
dnl that behavior. This must be done before AC_CANONICAL_SYSTEM
dnl to take effect.
test "$host_noncanonical" = "$target_noncanonical" &&
test "$program_prefix$program_suffix$program_transform_name" = \
NONENONEs,x,x, &&
program_transform_name=s,y,y,
AC_CANONICAL_SYSTEM
AC_ARG_PROGRAM
m4_pattern_allow([^AS_FOR_TARGET$])dnl
m4_pattern_allow([^AS_FOR_BUILD$])dnl
# Get 'install' or 'install-sh' and its variants.
AC_PROG_INSTALL
ACX_PROG_LN
AC_PROG_LN_S
AC_PROG_SED
AC_PROG_AWK
srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
# We pass INSTALL explicitly to sub-makes. Make sure that it is not
# a relative path.
if test "$INSTALL" = "${srcdir}/install-sh -c"; then
INSTALL="${srcpwd}/install-sh -c"
fi
# Set srcdir to "." if that's what it is.
# This is important for multilib support.
pwd=`${PWDCMD-pwd}`
if test "${pwd}" = "${srcpwd}" ; then
srcdir=.
fi
topsrcdir=$srcpwd
extra_host_args=
### To add a new directory to the tree, first choose whether it is a target
### or a host dependent tool. Then put it into the appropriate list
### (library or tools, host or target), doing a dependency sort.
# Subdirs will be configured in the order listed in build_configdirs,
# configdirs, or target_configdirs; see the serialization section below.
# Dependency sorting is only needed when *configuration* must be done in
# a particular order. In all cases a dependency should be specified in
# the Makefile, whether or not it's implicitly specified here.
# Double entries in build_configdirs, configdirs, or target_configdirs may
# cause circular dependencies and break everything horribly.
# these library is used by various programs built for the build
# environment
#
build_libs="build-libiberty build-libcpp"
# these tools are built for the build environment
build_tools="build-texinfo build-flex build-bison build-m4 build-fixincludes"
# these libraries are used by various programs built for the host environment
#f
host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libcody libdecnumber gmp mpfr mpc isl libiconv libctf libsframe"
# 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.
# binutils, gas and ld appear in that order because it makes sense to run
# "make check" in that particular order.
# If --enable-gold is used, "gold" may replace "ld".
host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gdbserver gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gm2tools gotools c++tools"
# 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)
# Note that libiberty is not a target library.
target_libraries="target-libgcc \
target-libbacktrace \
target-libgloss \
target-newlib \
target-libgomp \
target-libatomic \
target-libitm \
target-libstdc++-v3 \
target-libsanitizer \
target-libvtv \
target-libssp \
target-libquadmath \
target-libgfortran \
target-libffi \
target-libobjc \
target-libada \
target-libgm2 \
target-libgo \
target-libphobos \
target-zlib"
# these tools are built using the target libraries, and are intended to
# run only in the target environment
#
# note: any program that *uses* libraries that are in the "target_libraries"
# list belongs in this list.
#
target_tools="target-rda"
################################################################################
## All tools belong in one of the four categories, and are assigned above
## We assign ${configdirs} this way to remove all embedded newlines. This
## is important because configure will choke if they ever get through.
## ${configdirs} is directories we build using the host tools.
## ${target_configdirs} is directories we build using the target tools.
configdirs=`echo ${host_libs} ${host_tools}`
target_configdirs=`echo ${target_libraries} ${target_tools}`
build_configdirs=`echo ${build_libs} ${build_tools}`
m4_divert_text([PARSE_ARGS],
[case $srcdir in
*" "*)
m4_pushdef([AS_MESSAGE_LOG_FD], [])dnl
AC_MSG_ERROR([path to source, $srcdir, contains spaces])
m4_popdef([AS_MESSAGE_LOG_FD])dnl
;;
esac
ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
])
################################################################################
srcname="gnu development package"
# This gets set non-empty for some net releases of packages.
appdirs=""
# Define is_cross_compiler to save on calls to 'test'.
is_cross_compiler=
if test x"${host}" = x"${target}" ; then
is_cross_compiler=no
else
is_cross_compiler=yes
fi
# Find the build and target subdir names.
GCC_TOPLEV_SUBDIRS
# Be sure to cover against remnants of an in-tree build.
if test $srcdir != . && test -d $srcdir/host-${host_noncanonical}; then
AC_MSG_ERROR([building out of tree but $srcdir contains host-${host_noncanonical}.
Use a pristine source tree when building in a separate tree])
fi
# Skipdirs are removed silently.
skipdirs=
# Noconfigdirs are removed loudly.
noconfigdirs=""
use_gnu_ld=
# Make sure we don't let GNU ld be added if we didn't want it.
if test x$with_gnu_ld = xno ; then
use_gnu_ld=no
noconfigdirs="$noconfigdirs ld gold"
fi
use_gnu_as=
# Make sure we don't let GNU as be added if we didn't want it.
if test x$with_gnu_as = xno ; then
use_gnu_as=no
noconfigdirs="$noconfigdirs gas"
fi
use_included_zlib=
AC_ARG_WITH(system-zlib,
[AS_HELP_STRING([--with-system-zlib], [use installed libz])])
# Make sure we don't let ZLIB be added if we didn't want it.
if test x$with_system_zlib = xyes ; then
use_included_zlib=no
noconfigdirs="$noconfigdirs zlib"
fi
# Don't compile the bundled readline/libreadline.a if --with-system-readline
# is provided.
if test x$with_system_readline = xyes ; then
noconfigdirs="$noconfigdirs readline"
fi
# some tools are so dependent upon X11 that if we're not building with X,
# it's not even worth trying to configure, much less build, that tool.
case ${with_x} in
yes | "") ;; # the default value for this tree is that X11 is available
no)
skipdirs="${skipdirs} tk itcl libgui"
# We won't be able to build gdbtk without X.
enable_gdbtk=no
;;
*) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
esac
# Some are only suitable for cross toolchains.
# Remove these if host=target.
cross_only="target-libgloss target-newlib target-opcodes"
case $is_cross_compiler in
no) skipdirs="${skipdirs} ${cross_only}" ;;
esac
# If both --with-headers and --with-libs are specified, default to
# --without-newlib.
if test x"${with_headers}" != x && test x"${with_headers}" != xno \
&& test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
if test x"${with_newlib}" = x ; then
with_newlib=no
fi
fi
# Recognize --with-newlib/--without-newlib.
case ${with_newlib} in
no) skipdirs="${skipdirs} target-newlib" ;;
yes) skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
esac
AC_ARG_ENABLE(as-accelerator-for,
[AS_HELP_STRING([--enable-as-accelerator-for=ARG],
[build as offload target compiler.
Specify offload host triple by ARG])])
AC_ARG_ENABLE(offload-targets,
[AS_HELP_STRING([--enable-offload-targets=LIST],
[enable offloading to devices from comma-separated LIST of
TARGET[=DIR]. Use optional path to find offload target compiler
during the build])],
[
if test x"$enable_offload_targets" = x; then
AC_MSG_ERROR([no offload targets specified])
fi
], [enable_offload_targets=])
AC_ARG_ENABLE(offload-defaulted,
[AS_HELP_STRING([--enable-offload-defaulted]
[If enabled, configured but not installed offload compilers and
libgomp plugins are silently ignored. Useful for distribution
compilers where those are in separate optional packages.])],
[enable_offload_defaulted=$enableval],
[enable_offload_defaulted=])
# Handle --enable-gold, --enable-ld.
# --disable-gold [--enable-ld]
# Build only ld. Default option.
# --enable-gold [--enable-ld]
# Build both gold and ld. Install gold as "ld.gold", install ld
# as "ld.bfd" and "ld".
# --enable-gold=default [--enable-ld]
# Build both gold and ld. Install gold as "ld.gold" and "ld",
# install ld as "ld.bfd".
# --enable-gold[=default] --disable-ld
# Build only gold, which is then installed as both "ld.gold" and "ld".
# --enable-gold --enable-ld=default
# Build both gold (installed as "ld.gold") and ld (installed as "ld"
# and ld.bfd).
# In other words, ld is default
# --enable-gold=default --enable-ld=default
# Error.
default_ld=
AC_ARG_ENABLE(gold,
[AS_HELP_STRING([[--enable-gold[=ARG]]],
[build gold @<:@ARG={default,yes,no}@:>@])],
ENABLE_GOLD=$enableval,
ENABLE_GOLD=no)
case "${ENABLE_GOLD}" in
yes|default)
# Check for ELF target.
is_elf=no
case "${target}" in
*-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \
| *-*-linux* | *-*-gnu* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \
| *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* \
| *-*-solaris2* | *-*-nto* | *-*-nacl*)
case "${target}" in
*-*-linux*aout* | *-*-linux*oldld*)
;;
*)
is_elf=yes
;;
esac
esac
if test "$is_elf" = "yes"; then
# Check for target supported by gold.
case "${target}" in
i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-* \
| aarch64*-*-* | mips*-*-* | s390*-*-* | loongarch*-*-*)
configdirs="$configdirs gold"
if test x${ENABLE_GOLD} = xdefault; then
default_ld=gold
fi
ENABLE_GOLD=yes
;;
esac
fi
;;
no)
;;
*)
AC_MSG_ERROR([invalid --enable-gold argument])
;;
esac
AC_ARG_ENABLE(ld,
[AS_HELP_STRING([[--enable-ld[=ARG]]],
[build ld @<:@ARG={default,yes,no}@:>@])],
ENABLE_LD=$enableval,
ENABLE_LD=yes)
case "${ENABLE_LD}" in
default)
if test x${default_ld} != x; then
AC_MSG_ERROR([either gold or ld can be the default ld])
fi
;;
yes)
;;
no)
if test x${ENABLE_GOLD} != xyes; then
AC_MSG_WARN([neither ld nor gold are enabled])
fi
configdirs=`echo " ${configdirs} " | sed -e 's/ ld / /'`
;;
*)
AC_MSG_ERROR([invalid --enable-ld argument])
;;
esac
# PR gas/19109
# Decide the default method for compressing debug sections.
# Provide a configure time option to override our default.
AC_ARG_ENABLE(compressed_debug_sections,
[AS_HELP_STRING([--enable-compressed-debug-sections={all,gas,gold,ld,none}],
[Enable compressed debug sections for gas, gold or ld by
default])],
[
if test x"$enable_compressed_debug_sections" = xyes; then
AC_MSG_ERROR([no program with compressed debug sections specified])
fi
], [enable_compressed_debug_sections=])
# Configure extra directories which are host specific
case "${host}" in
*-cygwin*)
configdirs="$configdirs libtermcap" ;;
esac
# A target can indicate whether a language isn't supported for some reason.
# Only spaces may be used in this macro; not newlines or tabs.
unsupported_languages=
# Remove more programs from consideration, based on the host or
# target this usually means that a port of the program doesn't
# exist yet.
case "${host}" in
i[[3456789]]86-*-msdosdjgpp*)
noconfigdirs="$noconfigdirs tcl tk itcl"
;;
esac
AC_ARG_ENABLE(libquadmath,
AS_HELP_STRING([--disable-libquadmath],
[do not build libquadmath directory]),
ENABLE_LIBQUADMATH=$enableval,
ENABLE_LIBQUADMATH=yes)
if test "${ENABLE_LIBQUADMATH}" = "no" ; then
noconfigdirs="$noconfigdirs target-libquadmath"
fi
AC_ARG_ENABLE(libquadmath-support,
AS_HELP_STRING([--disable-libquadmath-support],
[disable libquadmath support for Fortran]),
ENABLE_LIBQUADMATH_SUPPORT=$enableval,
ENABLE_LIBQUADMATH_SUPPORT=yes)
enable_libquadmath_support=
if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
enable_libquadmath_support=no
fi
AC_ARG_ENABLE(libada,
[AS_HELP_STRING([--enable-libada], [build libada directory])],
ENABLE_LIBADA=$enableval,
ENABLE_LIBADA=yes)
if test "${ENABLE_LIBADA}" != "yes" ; then
noconfigdirs="$noconfigdirs gnattools"
fi
AC_ARG_ENABLE(libgm2,
[AS_HELP_STRING([--enable-libgm2], [build libgm2 directory])],
ENABLE_LIBGM2=$enableval,
ENABLE_LIBGM2=no)
if test "${ENABLE_LIBGM2}" != "yes" ; then
noconfigdirs="$noconfigdirs gm2tools"
fi
AC_ARG_ENABLE(libssp,
[AS_HELP_STRING([--enable-libssp], [build libssp directory])],
ENABLE_LIBSSP=$enableval,
ENABLE_LIBSSP=yes)
AC_ARG_ENABLE(libstdcxx,
AS_HELP_STRING([--disable-libstdcxx],
[do not build libstdc++-v3 directory]),
ENABLE_LIBSTDCXX=$enableval,
ENABLE_LIBSTDCXX=default)
[if test "${ENABLE_LIBSTDCXX}" = "no" ; then
noconfigdirs="$noconfigdirs target-libstdc++-v3"
fi]
# Enable libgomp by default on hosted POSIX systems, and a few others.
if test x$enable_libgomp = x ; then
case "${target}" in
*-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
;;
*-*-netbsd* | *-*-freebsd* | *-*-openbsd* | *-*-dragonfly*)
;;
*-*-solaris2* | *-*-hpux11*)
;;
*-*-darwin* | *-*-aix*)
;;
nvptx*-*-* | amdgcn*-*-*)
;;
*)
noconfigdirs="$noconfigdirs target-libgomp"
;;
esac
fi
# Disable libatomic on unsupported systems.
if test -d ${srcdir}/libatomic; then
if test x$enable_libatomic = x; then
AC_MSG_CHECKING([for libatomic support])
if (srcdir=${srcdir}/libatomic; \
. ${srcdir}/configure.tgt; \
test -n "$UNSUPPORTED")
then
AC_MSG_RESULT([no])
noconfigdirs="$noconfigdirs target-libatomic"
else
AC_MSG_RESULT([yes])
fi
fi
fi
# Disable libitm on unsupported systems.
if test -d ${srcdir}/libitm; then
if test x$enable_libitm = x; then
AC_MSG_CHECKING([for libitm support])
if (srcdir=${srcdir}/libitm; \
. ${srcdir}/configure.tgt; \
test -n "$UNSUPPORTED")
then
AC_MSG_RESULT([no])
noconfigdirs="$noconfigdirs target-libitm"
else
AC_MSG_RESULT([yes])
fi
fi
fi
# Disable libsanitizer on unsupported systems.
if test -d ${srcdir}/libsanitizer; then
if test x$enable_libsanitizer = x; then
AC_MSG_CHECKING([for libsanitizer support])
if (srcdir=${srcdir}/libsanitizer; \
. ${srcdir}/configure.tgt; \
test -n "$UNSUPPORTED")
then
AC_MSG_RESULT([no])
noconfigdirs="$noconfigdirs target-libsanitizer"
else
AC_MSG_RESULT([yes])
fi
fi
fi
# Disable libvtv on unsupported systems.
if test -d ${srcdir}/libvtv; then
if test x$enable_libvtv = x; then
AC_MSG_CHECKING([for libvtv support])
if (srcdir=${srcdir}/libvtv; \
. ${srcdir}/configure.tgt; \
test "$VTV_SUPPORTED" != "yes")
then
AC_MSG_RESULT([no])
noconfigdirs="$noconfigdirs target-libvtv"
else
AC_MSG_RESULT([yes])
fi
fi
fi
# Disable libquadmath for some systems.
case "${target}" in
avr-*-*)
noconfigdirs="$noconfigdirs target-libquadmath"
;;
# libquadmath is unused on AIX and libquadmath build process use of
# LD_LIBRARY_PATH can break AIX bootstrap.
powerpc-*-aix* | rs6000-*-aix*)
noconfigdirs="$noconfigdirs target-libquadmath"
;;
esac
# Disable libssp for some systems.
case "${target}" in
avr-*-*)
# No hosted I/O support.
noconfigdirs="$noconfigdirs target-libssp"
;;
bpf-*-*)
noconfigdirs="$noconfigdirs target-libssp"
;;
powerpc-*-aix* | rs6000-*-aix*)
noconfigdirs="$noconfigdirs target-libssp"
;;
pru-*-*)
# No hosted I/O support.
noconfigdirs="$noconfigdirs target-libssp"
;;
rl78-*-*)
# libssp uses a misaligned load to trigger a fault, but the RL78
# doesn't fault for those - instead, it gives a build-time error
# for explicit misaligned loads.
noconfigdirs="$noconfigdirs target-libssp"
;;
visium-*-*)
# No hosted I/O support.
noconfigdirs="$noconfigdirs target-libssp"
;;
esac
# Disable libstdc++-v3 for some systems.
# Allow user to override this if they pass --enable-libstdcxx
if test "${ENABLE_LIBSTDCXX}" = "default" ; then
case "${target}" in
*-*-vxworks*)
# VxWorks uses the Dinkumware C++ library.
noconfigdirs="$noconfigdirs target-libstdc++-v3"
;;
amdgcn*-*-*)
# Not ported/fails to build when using newlib.
noconfigdirs="$noconfigdirs target-libstdc++-v3"
;;
arm*-wince-pe*)
# the C++ libraries don't build on top of CE's C libraries
noconfigdirs="$noconfigdirs target-libstdc++-v3"
;;
avr-*-*)
noconfigdirs="$noconfigdirs target-libstdc++-v3"
;;
bpf-*-*)
noconfigdirs="$noconfigdirs target-libstdc++-v3"
;;
ft32-*-*)
noconfigdirs="$noconfigdirs target-libstdc++-v3"
;;
esac
fi
# Disable C++ on systems where it is known to not work.
# For testing, you can override this with --enable-languages=c++.
case ,${enable_languages}, in
*,c++,*)
;;
*)
case "${target}" in
bpf-*-*)
unsupported_languages="$unsupported_languages c++"
;;
esac
;;
esac
# Disable Objc on systems where it is known to not work.
# For testing, you can override this with --enable-languages=objc.
case ,${enable_languages}, in
*,objc,*)
;;
*)
case "${target}" in
bpf-*-*)
unsupported_languages="$unsupported_languages objc"
;;
esac
;;
esac
# Disable D on systems where it is known to not work.
# For testing, you can override this with --enable-languages=d.
case ,${enable_languages}, in
*,d,*)
;;
*)
case "${target}" in
bpf-*-*)
unsupported_languages="$unsupported_languages d"
;;
esac
;;
esac
# Disable libphobos on unsupported systems.
# For testing, you can override this with --enable-libphobos.
if test -d ${srcdir}/libphobos; then
if test x$enable_libphobos = x; then
AC_MSG_CHECKING([for libphobos support])
if (srcdir=${srcdir}/libphobos; \
. ${srcdir}/configure.tgt; \
test "$LIBPHOBOS_SUPPORTED" != "yes")
then
AC_MSG_RESULT([no])
noconfigdirs="$noconfigdirs target-libphobos"
else
AC_MSG_RESULT([yes])
fi
fi
fi
# Disable Fortran for some systems.
case "${target}" in
mmix-*-*)
# See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
unsupported_languages="$unsupported_languages fortran"
;;
bpf-*-*)
unsupported_languages="$unsupported_languages fortran"
;;
esac
# Disable libffi for some systems.
case "${target}" in
powerpc-*-darwin*)
;;
i[[3456789]]86-*-darwin*)
;;
x86_64-*-darwin[[912]]*)
;;
*-*-darwin*)
noconfigdirs="$noconfigdirs target-libffi"
;;
*-*-netware*)
noconfigdirs="$noconfigdirs target-libffi"
;;
*-*-phoenix*)
noconfigdirs="$noconfigdirs target-libffi"
;;
*-*-rtems*)
noconfigdirs="$noconfigdirs target-libffi"
;;
*-*-tpf*)
noconfigdirs="$noconfigdirs target-libffi"
;;
*-*-uclinux*)
noconfigdirs="$noconfigdirs target-libffi"
;;
*-*-vxworks*)
noconfigdirs="$noconfigdirs target-libffi"
;;
aarch64*-*-freebsd*)
noconfigdirs="$noconfigdirs target-libffi"
;;
alpha*-*-*vms*)
noconfigdirs="$noconfigdirs target-libffi"
;;
arm*-*-freebsd*)
noconfigdirs="$noconfigdirs target-libffi"
;;
arm-wince-pe)
noconfigdirs="$noconfigdirs target-libffi"
;;
arm*-*-symbianelf*)
noconfigdirs="$noconfigdirs target-libffi"
;;
bpf-*-*)
noconfigdirs="$noconfigdirs target-libffi"
;;
cris-*-* | crisv32-*-*)
case "${target}" in
*-*-linux*)
;;
*) # See PR46792 regarding target-libffi.
noconfigdirs="$noconfigdirs target-libffi";;
esac
;;
hppa*64*-*-hpux*)
noconfigdirs="$noconfigdirs target-libffi"
;;
ia64*-*-*vms*)
noconfigdirs="$noconfigdirs target-libffi"
;;
i[[3456789]]86-w64-mingw*)
noconfigdirs="$noconfigdirs target-libffi"
;;
i[[3456789]]86-*-mingw*)
noconfigdirs="$noconfigdirs target-libffi"
;;
x86_64-*-mingw*)
noconfigdirs="$noconfigdirs target-libffi"
;;
mmix-*-*)
noconfigdirs="$noconfigdirs target-libffi"
;;
powerpc-*-aix*)
;;
rs6000-*-aix*)
;;
ft32-*-*)
noconfigdirs="$noconfigdirs target-libffi"
;;
*-*-lynxos*)
noconfigdirs="$noconfigdirs target-libffi"
;;
esac
# Disable the go frontend on systems where it is known to not work. Please keep
# this in sync with contrib/config-list.mk.
case "${target}" in
*-*-darwin* | *-*-cygwin* | *-*-mingw* | bpf-* )
unsupported_languages="$unsupported_languages go"
;;
esac
# Only allow gdbserver on some systems.
if test -d ${srcdir}/gdbserver; then
if test x$enable_gdbserver = x; then
AC_MSG_CHECKING([for gdbserver support])
if (srcdir=${srcdir}/gdbserver; \
. ${srcdir}/configure.srv; \
test -n "$UNSUPPORTED")
then
AC_MSG_RESULT([no])
noconfigdirs="$noconfigdirs gdbserver"
else
AC_MSG_RESULT([yes])
fi
fi
fi
# Disable libgo for some systems where it is known to not work.
# For testing, you can easily override this with --enable-libgo.
if test x$enable_libgo = x; then
case "${target}" in
*-*-darwin*)
# PR 46986
noconfigdirs="$noconfigdirs target-libgo"
;;
*-*-cygwin* | *-*-mingw*)
noconfigdirs="$noconfigdirs target-libgo"
;;
bpf-*-*)
noconfigdirs="$noconfigdirs target-libgo"
;;
esac
fi
# Default libgloss CPU subdirectory.
libgloss_dir="$target_cpu"
case "${target}" in
sh*-*-pe|mips*-*-pe|*arm-wince-pe)
libgloss_dir=wince
;;
aarch64*-*-* )
libgloss_dir=aarch64
;;
arm*-*-*)
libgloss_dir=arm
;;
cris-*-* | crisv32-*-*)
libgloss_dir=cris
;;
hppa*-*-*)
libgloss_dir=pa
;;
i[[3456789]]86-*-*)
libgloss_dir=i386
;;
loongarch*-*-*)
libgloss_dir=loongarch
;;
m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
libgloss_dir=m68hc11
;;
m68*-*-* | fido-*-*)
libgloss_dir=m68k
;;
mips*-*-*)
libgloss_dir=mips
;;
powerpc*-*-*)
libgloss_dir=rs6000
;;
pru-*-*)
libgloss_dir=pru
;;
sparc*-*-*)
libgloss_dir=sparc
;;
esac
# Disable newlib and libgloss for various target OSes.
case "${target}" in
alpha*-dec-osf*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
i[[3456789]]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.
;;
i[[3456789]]86-*-rdos*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
sh*-*-pe|mips*-*-pe|arm-wince-pe)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
sparc-*-sunos4*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
bpf-*-*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
*-*-aix*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
*-*-beos*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
*-*-chorusos)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
*-*-dragonfly*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
*-*-freebsd*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
*-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
*-*-lynxos*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
*-*-mingw*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
*-*-netbsd*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
*-*-netware*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
*-*-tpf*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
*-*-uclinux*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
*-*-vxworks*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
esac
case "${target}" in
*-*-chorusos)
;;
aarch64-*-darwin*)
noconfigdirs="$noconfigdirs ld gas gdb gprof"
noconfigdirs="$noconfigdirs sim target-rda"
;;
amdgcn*-*-*)
;;
arm-*-darwin*)
noconfigdirs="$noconfigdirs ld gas gdb gprof"
noconfigdirs="$noconfigdirs sim target-rda"
;;
powerpc-*-darwin*)
noconfigdirs="$noconfigdirs ld gas gdb gprof"
noconfigdirs="$noconfigdirs sim target-rda"
;;
i[[3456789]]86-*-darwin*)
noconfigdirs="$noconfigdirs ld gprof"
noconfigdirs="$noconfigdirs sim target-rda"
;;
x86_64-*-darwin[[912]]*)
noconfigdirs="$noconfigdirs ld gas gprof"
noconfigdirs="$noconfigdirs sim target-rda"
;;
*-*-darwin*)
noconfigdirs="$noconfigdirs ld gas gdb gprof"
noconfigdirs="$noconfigdirs sim target-rda"
;;
*-*-dragonfly*)
;;
*-*-freebsd*)
if test "x$with_gmp" = x \
&& ! test -d ${srcdir}/gmp \
&& test -f /usr/local/include/gmp.h; then
with_gmp=/usr/local
fi
;;
*-*-kaos*)
# Remove unsupported stuff on all kaOS configurations.
noconfigdirs="$noconfigdirs target-libgloss"
;;
*-*-netbsd*)
;;
*-*-netware*)
;;
*-*-phoenix*)
noconfigdirs="$noconfigdirs target-libgloss"
;;
*-*-rtems*)
noconfigdirs="$noconfigdirs target-libgloss"
;;
# The tpf target doesn't support gdb yet.
*-*-tpf*)
noconfigdirs="$noconfigdirs gdb tcl tk libgui itcl"
;;
*-*-uclinux*)
noconfigdirs="$noconfigdirs target-rda"
;;
*-*-vxworks*)
;;
alpha*-dec-osf*)
# ld works, but does not support shared libraries.
# gas doesn't generate exception information.
noconfigdirs="$noconfigdirs gas ld"
;;
alpha*-*-*vms*)
noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
;;
alpha*-*-*)
# newlib is not 64 bit ready
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
bpf-*-*)
noconfigdirs="$noconfigdirs target-libobjc target-libbacktrace"
;;
sh*-*-pe|mips*-*-pe|*arm-wince-pe)
noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
;;
arc*-*-*)
noconfigdirs="$noconfigdirs sim"
;;
arm-*-pe*)
noconfigdirs="$noconfigdirs target-libgloss"
;;
arm-*-riscix*)
noconfigdirs="$noconfigdirs ld target-libgloss"
;;
avr-*-*)
if test x${with_avrlibc} != xno; then
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
fi
;;
c4x-*-* | tic4x-*-*)
noconfigdirs="$noconfigdirs target-libgloss"
;;
tic54x-*-*)
noconfigdirs="$noconfigdirs target-libgloss gdb"
;;
d10v-*-*)
noconfigdirs="$noconfigdirs target-libgloss"
;;
d30v-*-*)
noconfigdirs="$noconfigdirs gdb"
;;
fr30-*-elf*)
noconfigdirs="$noconfigdirs gdb"
;;
ft32-*-*)
noconfigdirs="$noconfigdirs target-rda gprof"
;;
moxie-*-*)
noconfigdirs="$noconfigdirs"
;;
h8300*-*-*)
noconfigdirs="$noconfigdirs target-libgloss"
;;
h8500-*-*)
noconfigdirs="$noconfigdirs target-libgloss"
;;
hppa*64*-*-hpux*)
noconfigdirs="$noconfigdirs gdb"
;;
hppa*64*-*-linux*)
;;
hppa*-*-linux*)
;;
hppa*-*-*elf* | \
hppa*-*-lites* | \
hppa*-*-openbsd* | \
hppa*64*-*-*)
;;
hppa*-*-pro*)
;;
hppa*-*-*)
noconfigdirs="$noconfigdirs ld"
;;
i960-*-*)
noconfigdirs="$noconfigdirs gdb"
;;
ia64*-*-elf*)
# No gdb support yet.
noconfigdirs="$noconfigdirs readline libgui itcl gdb"
;;
ia64*-**-hpux*)
# No ld support yet.
noconfigdirs="$noconfigdirs gdb libgui itcl ld"
;;
ia64*-*-*vms*)
# No ld support yet.
noconfigdirs="$noconfigdirs libgui itcl ld"
;;
i[[3456789]]86-w64-mingw*)
;;
i[[3456789]]86-*-mingw*)
target_configdirs="$target_configdirs target-winsup"
;;
*-*-cygwin*)
target_configdirs="$target_configdirs target-libtermcap target-winsup"
noconfigdirs="$noconfigdirs target-libgloss"
# always build newlib if winsup directory is present.
if test -d "$srcdir/winsup/cygwin"; then
skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
elif test -d "$srcdir/newlib"; then
echo "Warning: winsup/cygwin is missing so newlib can't be built."
fi
;;
i[[3456789]]86-*-pe)
noconfigdirs="$noconfigdirs target-libgloss"
;;
i[[3456789]]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"
;;
i[[3456789]]86-*-sco*)
noconfigdirs="$noconfigdirs gprof target-libgloss"
;;
i[[3456789]]86-*-solaris2* | x86_64-*-solaris2.1[[0-9]]*)
noconfigdirs="$noconfigdirs target-libgloss"
;;
i[[3456789]]86-*-sysv4*)
noconfigdirs="$noconfigdirs target-libgloss"
;;
i[[3456789]]86-*-beos*)
noconfigdirs="$noconfigdirs gdb"
;;
i[[3456789]]86-*-rdos*)
noconfigdirs="$noconfigdirs gdb"
;;
mmix-*-*)
noconfigdirs="$noconfigdirs gdb"
;;
mt-*-*)
noconfigdirs="$noconfigdirs sim"
;;
nfp-*-*)
noconfigdirs="$noconfigdirs ld gas gdb gprof sim"
noconfigdirs="$noconfigdirs $target_libraries"
;;
pdp11-*-*)
noconfigdirs="$noconfigdirs gdb gprof"
;;
powerpc-*-aix*)
# copied from rs6000-*-* entry
noconfigdirs="$noconfigdirs gprof"
;;
powerpc*-*-winnt* | powerpc*-*-pe*)
target_configdirs="$target_configdirs target-winsup"
noconfigdirs="$noconfigdirs gdb tcl tk target-libgloss itcl"
# 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 tcl tk itcl"
;;
powerpc-*-beos*)
noconfigdirs="$noconfigdirs gdb"
;;
rs6000-*-lynxos*)
noconfigdirs="$noconfigdirs gprof"
;;
rs6000-*-aix*)
noconfigdirs="$noconfigdirs gprof"
;;
rs6000-*-*)
noconfigdirs="$noconfigdirs gprof"
;;
m68k-apollo-*)
noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss"
;;
microblaze*)
noconfigdirs="$noconfigdirs gprof"
;;
mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)
if test x$with_newlib = xyes; then
noconfigdirs="$noconfigdirs gprof"
fi
;;
mips*-*-irix5*)
noconfigdirs="$noconfigdirs gprof target-libgloss"
;;
mips*-*-irix6*)
noconfigdirs="$noconfigdirs gprof target-libgloss"
;;
mips*-*-bsd*)
noconfigdirs="$noconfigdirs ld gas gprof target-libgloss"
;;
mips*-*-linux*)
;;
mips*-*-ultrix* | mips*-*-osf* | mips*-*-ecoff* | mips*-*-pe* \
| mips*-*-irix* | mips*-*-lnews* | mips*-*-riscos*)
noconfigdirs="$noconfigdirs ld gas gprof"
;;
mips*-*-*)
noconfigdirs="$noconfigdirs gprof"
;;
nvptx*-*-*)
noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
;;
sh-*-*)
case "${target}" in
sh*-*-elf)
;;
*)
noconfigdirs="$noconfigdirs target-libgloss" ;;
esac
;;
sparc-*-sunos4*)
if test x${is_cross_compiler} = xno ; then
use_gnu_ld=no
fi
;;
tic6x-*-*)
noconfigdirs="$noconfigdirs sim"
;;
v810-*-*)
noconfigdirs="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
;;
vax-*-*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
wasm32-*-*)
noconfigdirs="$noconfigdirs ld"
;;
loongarch*-*-linux*)
;;
loongarch*-*-*)
noconfigdirs="$noconfigdirs gprof"
;;
esac
# If we aren't building newlib, then don't build libgloss, since libgloss
# depends upon some newlib header files.
case "${noconfigdirs}" in
*target-libgloss*) ;;
*target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;;
esac
# Work in distributions that contain no compiler tools, like Autoconf.
host_makefile_frag=/dev/null
if test -d ${srcdir}/config ; then
case "${host}" in
i[[3456789]]86-*-msdosdjgpp*)
host_makefile_frag="config/mh-djgpp"
;;
*-cygwin*)
ACX_CHECK_CYGWIN_CAT_WORKS
host_makefile_frag="config/mh-cygwin"
;;
*-mingw*)
host_makefile_frag="config/mh-mingw"
;;
alpha*-linux*)
host_makefile_frag="config/mh-alpha-linux"
;;
hppa*-hp-hpux*)
host_makefile_frag="config/mh-pa"
;;
hppa*-*)
host_makefile_frag="config/mh-pa"
;;
i?86-*-darwin[[89]]* | i?86-*-darwin1[[0-7]]* | powerpc*-*-darwin*)
host_makefile_frag="config/mh-darwin"
;;
powerpc-*-aix*)
host_makefile_frag="config/mh-ppc-aix"
;;
rs6000-*-aix*)
host_makefile_frag="config/mh-ppc-aix"
;;
esac
fi
if test "${build}" != "${host}" ; then
AR_FOR_BUILD=${AR_FOR_BUILD-ar}
AS_FOR_BUILD=${AS_FOR_BUILD-as}
CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
CPP_FOR_BUILD="${CPP_FOR_BUILD-\$(CC_FOR_BUILD) -E}"
CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
DSYMUTIL_FOR_BUILD=${DSYMUTIL_FOR_BUILD-dsymutil}
GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}
GOC_FOR_BUILD=${GOC_FOR_BUILD-gccgo}
GDC_FOR_BUILD=${GDC_FOR_BUILD-gdc}
DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
LD_FOR_BUILD=${LD_FOR_BUILD-ld}
NM_FOR_BUILD=${NM_FOR_BUILD-nm}
RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
WINDRES_FOR_BUILD=${WINDRES_FOR_BUILD-windres}
WINDMC_FOR_BUILD=${WINDMC_FOR_BUILD-windmc}
else
AR_FOR_BUILD="\$(AR)"
AS_FOR_BUILD="\$(AS)"
CC_FOR_BUILD="\$(CC)"
CXX_FOR_BUILD="\$(CXX)"
DSYMUTIL_FOR_BUILD="\$(DSYMUTIL)"
GFORTRAN_FOR_BUILD="\$(GFORTRAN)"
GOC_FOR_BUILD="\$(GOC)"
GDC_FOR_BUILD="\$(GDC)"
DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
LD_FOR_BUILD="\$(LD)"
NM_FOR_BUILD="\$(NM)"
RANLIB_FOR_BUILD="\$(RANLIB)"
WINDRES_FOR_BUILD="\$(WINDRES)"
WINDMC_FOR_BUILD="\$(WINDMC)"
fi
AC_PROG_CC_C99
AC_PROG_CXX
# We must set the default linker to the linker used by gcc for the correct
# operation of libtool. If LD is not defined and we are using gcc, try to
# set the LD default to the ld used by gcc.
if test -z "$LD"; then
if test "$GCC" = yes; then
case $build in
*-*-mingw*)
gcc_prog_ld=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
*)
gcc_prog_ld=`$CC -print-prog-name=ld 2>&1` ;;
esac
case $gcc_prog_ld in
# Accept absolute paths.
[[\\/]* | [A-Za-z]:[\\/]*)]
LD="$gcc_prog_ld" ;;
esac
fi
fi
# Check whether -static-libstdc++ -static-libgcc is supported.
have_static_libs=no
if test "$GCC" = yes; then
saved_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -static-libstdc++ -static-libgcc"
AC_MSG_CHECKING([whether g++ accepts -static-libstdc++ -static-libgcc])
AC_LANG_PUSH(C++)
AC_LINK_IFELSE([AC_LANG_SOURCE([
#if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
#error -static-libstdc++ not implemented
#endif
int main() {}])],
[AC_MSG_RESULT([yes]); have_static_libs=yes],
[AC_MSG_RESULT([no])])
AC_LANG_POP(C++)
LDFLAGS="$saved_LDFLAGS"
fi
ACX_PROG_GNAT
ACX_PROG_GDC
ACX_PROG_CMP_IGNORE_INITIAL
AC_ARG_ENABLE([bootstrap],
[AS_HELP_STRING([--enable-bootstrap],
[enable bootstrapping @<:@yes if native build@:>@])],,
enable_bootstrap=default)
# Issue errors and warnings for invalid/strange bootstrap combinations.
if test -r $srcdir/gcc/configure; then
have_compiler=yes
else
have_compiler=no
fi
case "$have_compiler:$host:$target:$enable_bootstrap" in
*:*:*:no) ;;
# Default behavior. Enable bootstrap if we have a compiler
# and we are in a native configuration.
yes:$build:$build:default)
enable_bootstrap=yes ;;
*:*:*:default)
enable_bootstrap=no ;;
# We have a compiler and we are in a native configuration, bootstrap is ok
yes:$build:$build:yes)
;;
# Other configurations, but we have a compiler. Assume the user knows
# what he's doing.
yes:*:*:yes)
AC_MSG_WARN([trying to bootstrap a cross compiler])
;;
# No compiler: if they passed --enable-bootstrap explicitly, fail
no:*:*:yes)
AC_MSG_ERROR([cannot bootstrap without a compiler]) ;;
# Fail if wrong command line
*)
AC_MSG_ERROR([invalid option for --enable-bootstrap])
;;
esac
# When bootstrapping with GCC, build stage 1 in C++11 mode to ensure that a
# C++11 compiler can still start the bootstrap. Otherwise, if building GCC,
# require C++11 (or higher).
if test "$enable_bootstrap:$GXX" = "yes:yes"; then
CXX="$CXX -std=c++11"
elif test "$have_compiler" = yes; then
AX_CXX_COMPILE_STDCXX(11)
if test "${build}" != "${host}"; then
AX_CXX_COMPILE_STDCXX(11, [], [], [_FOR_BUILD])
fi
fi
AC_ARG_ENABLE([pgo-build],
[AS_HELP_STRING([--enable-pgo-build[[=lto]]],
[enable the PGO build])],
[enable_pgo_build=$enableval],
[enable_pgo_build=no])
# Issue errors and warnings for invalid/strange PGO build combinations.
case "$have_compiler:$host:$target:$enable_pgo_build" in
*:*:*:no) ;;
# Allow the PGO build only if we aren't building a compiler and
# we are in a native configuration.
no:$build:$build:yes | no:$build:$build:lto) ;;
# Disallow the PGO bootstrap if we are building a compiler.
yes:*:*:yes | yes:*:*:lto)
AC_MSG_ERROR([cannot perform the PGO bootstrap when building a compiler]) ;;
*)
AC_MSG_ERROR([invalid option for --enable-pgo-build])
;;
esac
if test "$enable_pgo_build" != "no"; then
AC_MSG_CHECKING([whether the compiler supports -fprofile-generate])
old_CFLAGS="$CFLAGS"
PGO_BUILD_GEN_CFLAGS="-fprofile-generate"
CFLAGS="$CFLAGS $PGO_BUILD_CFLAGS"
AC_COMPILE_IFELSE([AC_LANG_SOURCE([int foo;])],,
[PGO_BUILD_GEN_CFLAGS=])
CFLAGS="$old_CFLAGS"
if test -n "$PGO_BUILD_GEN_CFLAGS"; then
AC_MSG_RESULT([yes])
PGO_BUILD_USE_CFLAGS="-fprofile-use"
else
AC_MSG_RESULT([no])
AC_MSG_ERROR([cannot perform the PGO build without -fprofile-generate])
fi
if test "$enable_pgo_build" = "lto"; then
AC_MSG_CHECKING([whether the compiler supports -flto=jobserver -ffat-lto-objects])
old_CFLAGS="$CFLAGS"
PGO_BUILD_LTO_CFLAGS="-flto=jobserver -ffat-lto-objects"
CFLAGS="$CFLAGS $PGO_BUILD_LTO_CFLAGS"
AC_COMPILE_IFELSE([AC_LANG_SOURCE([int foo;])],,
[PGO_BUILD_LTO_CFLAGS=])
CFLAGS="$old_CFLAGS"
if test -n "$PGO_BUILD_LTO_CFLAGS"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
AC_MSG_WARN([LTO is disabled for the PGO build])
fi
fi
fi
AC_SUBST(PGO_BUILD_GEN_CFLAGS)
AC_SUBST(PGO_BUILD_USE_CFLAGS)
AC_SUBST(PGO_BUILD_LTO_CFLAGS)
# Used for setting $lt_cv_objdir
_LT_CHECK_OBJDIR
# Check for GMP, MPFR and MPC
gmplibs="-lmpc -lmpfr -lgmp"
gmpinc=
have_gmp=no
# Specify a location for mpc
# check for this first so it ends up on the link line before mpfr.
AC_ARG_WITH(mpc,
[AS_HELP_STRING([--with-mpc=PATH],
[specify prefix directory for installed MPC package.
Equivalent to --with-mpc-include=PATH/include
plus --with-mpc-lib=PATH/lib])])
AC_ARG_WITH(mpc-include,
[AS_HELP_STRING([--with-mpc-include=PATH],
[specify directory for installed MPC include files])])
AC_ARG_WITH(mpc-lib,
[AS_HELP_STRING([--with-mpc-lib=PATH],
[specify directory for the installed MPC library])])
if test "x$with_mpc" != x; then
gmplibs="-L$with_mpc/lib $gmplibs"
gmpinc="-I$with_mpc/include $gmpinc"
fi
if test "x$with_mpc_include" != x; then
gmpinc="-I$with_mpc_include $gmpinc"
fi
if test "x$with_mpc_lib" != x; then
gmplibs="-L$with_mpc_lib $gmplibs"
fi
if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x && test -d ${srcdir}/mpc; then
gmplibs='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
gmpinc='-I$$s/mpc/src '"$gmpinc"
# Do not test the mpc version. Assume that it is sufficient, since
# it is in the source tree, and the library has not been built yet
# but it would be included on the link line in the version check below
# hence making the test fail.
have_gmp=yes
fi
# Specify a location for mpfr
# check for this first so it ends up on the link line before gmp.
AC_ARG_WITH(mpfr,
[AS_HELP_STRING([--with-mpfr=PATH],
[specify prefix directory for installed MPFR package.
Equivalent to --with-mpfr-include=PATH/include
plus --with-mpfr-lib=PATH/lib])])
AC_ARG_WITH(mpfr-include,
[AS_HELP_STRING([--with-mpfr-include=PATH],
[specify directory for installed MPFR include files])])
AC_ARG_WITH(mpfr-lib,
[AS_HELP_STRING([--with-mpfr-lib=PATH],
[specify directory for the installed MPFR library])])
if test "x$with_mpfr" != x; then
gmplibs="-L$with_mpfr/lib $gmplibs"
gmpinc="-I$with_mpfr/include $gmpinc"
fi
if test "x$with_mpfr_include" != x; then
gmpinc="-I$with_mpfr_include $gmpinc"
fi
if test "x$with_mpfr_lib" != x; then
gmplibs="-L$with_mpfr_lib $gmplibs"
fi
if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
# MPFR v3.1.0 moved the sources into a src sub-directory.
if ! test -d ${srcdir}/mpfr/src; then
AC_MSG_ERROR([dnl
Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+.])
fi
gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
# Do not test the mpfr version. Assume that it is sufficient, since
# it is in the source tree, and the library has not been built yet
# but it would be included on the link line in the version check below
# hence making the test fail.
have_gmp=yes
fi
# Specify a location for gmp
AC_ARG_WITH(gmp,
[AS_HELP_STRING([--with-gmp=PATH],
[specify prefix directory for the installed GMP package.
Equivalent to --with-gmp-include=PATH/include
plus --with-gmp-lib=PATH/lib])])
AC_ARG_WITH(gmp-include,
[AS_HELP_STRING([--with-gmp-include=PATH],
[specify directory for installed GMP include files])])
AC_ARG_WITH(gmp-lib,
[AS_HELP_STRING([--with-gmp-lib=PATH],
[specify directory for the installed GMP library])])
if test "x$with_gmp" != x; then
gmplibs="-L$with_gmp/lib $gmplibs"
gmpinc="-I$with_gmp/include $gmpinc"
fi
if test "x$with_gmp_include" != x; then
gmpinc="-I$with_gmp_include $gmpinc"
fi
if test "x$with_gmp_lib" != x; then
gmplibs="-L$with_gmp_lib $gmplibs"
fi
if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then
gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
extra_mpfr_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
extra_isl_gmp_configure_flags='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
# Do not test the gmp version. Assume that it is sufficient, since
# it is in the source tree, and the library has not been built yet
# but it would be included on the link line in the version check below
# hence making the test fail.
have_gmp=yes
fi
if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
have_gmp=yes
saved_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $gmpinc"
# Check for the recommended and required versions of GMP.
AC_MSG_CHECKING([for the correct version of gmp.h])
AC_TRY_COMPILE([#include "gmp.h"],[
#define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
#define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
#if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
choke me
#endif
], [AC_TRY_COMPILE([#include <gmp.h>],[
#define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
#define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
#if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
choke me
#endif
], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([buggy but acceptable])])],
[AC_MSG_RESULT([no]); have_gmp=no])
# If we have GMP, check the MPFR version.
if test x"$have_gmp" = xyes; then
# Check for the recommended and required versions of MPFR.
AC_MSG_CHECKING([for the correct version of mpfr.h])
AC_TRY_COMPILE([#include <gmp.h>
#include <mpfr.h>],[
#if MPFR_VERSION < MPFR_VERSION_NUM(3,1,0)
choke me
#endif
], [AC_TRY_COMPILE([#include <gmp.h>
#include <mpfr.h>],[
#if MPFR_VERSION < MPFR_VERSION_NUM(3,1,6)
choke me
#endif
], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([buggy but acceptable])])],
[AC_MSG_RESULT([no]); have_gmp=no])
fi
# Check for the MPC header version.
if test x"$have_gmp" = xyes ; then
# Check for the recommended and required versions of MPC.
AC_MSG_CHECKING([for the correct version of mpc.h])
AC_TRY_COMPILE([#include <mpc.h>],[
#if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
choke me
#endif
], [AC_TRY_COMPILE([#include <mpc.h>],[
#if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
choke me
#endif
], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([buggy but acceptable])])],
[AC_MSG_RESULT([no]); have_gmp=no])
fi
# Now check the MPFR library.
if test x"$have_gmp" = xyes; then
saved_LIBS="$LIBS"
LIBS="$LIBS $gmplibs"
AC_MSG_CHECKING([for the correct version of the gmp/mpfr/mpc libraries])
AC_TRY_LINK([#include <mpc.h>],[
mpfr_t n;
mpfr_t x;
mpc_t c;
int t;
mpfr_init (n);
mpfr_init (x);
mpfr_atan2 (n, n, x, MPFR_RNDN);
mpfr_erfc (n, x, MPFR_RNDN);
mpfr_subnormalize (x, t, MPFR_RNDN);
mpfr_clear(n);
mpfr_clear(x);
mpc_init2 (c, 53);
mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
mpc_cosh (c, c, MPC_RNDNN);
mpc_pow (c, c, c, MPC_RNDNN);
mpc_acosh (c, c, MPC_RNDNN);
mpc_clear (c);
], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]); have_gmp=no])
LIBS="$saved_LIBS"
fi
CFLAGS="$saved_CFLAGS"
# The library versions listed in the error message below should match
# the HARD-minimums enforced above.
if test x$have_gmp != xyes; then
AC_MSG_ERROR([Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations. Source code for these libraries can be found at
their respective hosting sites as well as at
https://gcc.gnu.org/pub/gcc/infrastructure/. See also
http://gcc.gnu.org/install/prerequisites.html for additional info. If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header
files. They may be located in separate packages.])
fi
fi
# Flags needed for both GMP, MPFR and/or MPC.
AC_SUBST(gmplibs)
AC_SUBST(gmpinc)
AC_SUBST(extra_mpfr_configure_flags)
AC_SUBST(extra_mpc_gmp_configure_flags)
AC_SUBST(extra_mpc_mpfr_configure_flags)
AC_SUBST(extra_isl_gmp_configure_flags)
# Libraries to use for stage1 or when not bootstrapping.
AC_ARG_WITH(stage1-libs,
[AS_HELP_STRING([--with-stage1-libs=LIBS], [libraries for stage1])],
[if test "$withval" = "no" -o "$withval" = "yes"; then
stage1_libs=
else
stage1_libs=$withval
fi],
[stage1_libs=])
AC_SUBST(stage1_libs)
# Whether or not to use -static-libstdc++ and -static-libgcc. The
# default is yes if gcc is being built; no otherwise. The reason for
# this default is that gdb is sometimes linked against GNU Source
# Highlight, which is a shared library that uses C++ exceptions. In
# this case, -static-libstdc++ will cause crashes.
AC_ARG_WITH(static-standard-libraries,
[AS_HELP_STRING([--with-static-standard-libraries],
[use -static-libstdc++ and -static-libgcc (default=auto)])],
[], [with_static_standard_libraries=auto])
if test "$with_static_standard_libraries" = auto; then
with_static_standard_libraries=$have_compiler
fi
# Linker flags to use for stage1 or when not bootstrapping.
AC_ARG_WITH(stage1-ldflags,
[AS_HELP_STRING([--with-stage1-ldflags=FLAGS], [linker flags for stage1])],
[if test "$withval" = "no" -o "$withval" = "yes"; then
stage1_ldflags=
else
stage1_ldflags=$withval
fi],
[stage1_ldflags=
# In stage 1, default to linking libstdc++ and libgcc statically with GCC
# if supported. But if the user explicitly specified the libraries to use,
# trust that they are doing what they want.
if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \
-a "$have_static_libs" = yes; then
stage1_ldflags="-static-libstdc++ -static-libgcc"
fi])
AC_SUBST(stage1_ldflags)
# Libraries to use for stage2 and later builds.
AC_ARG_WITH(boot-libs,
[AS_HELP_STRING([--with-boot-libs=LIBS], [libraries for stage2 and later])],
[if test "$withval" = "no" -o "$withval" = "yes"; then
poststage1_libs=
else
poststage1_libs=$withval
fi],
[poststage1_libs=])
AC_SUBST(poststage1_libs)
# Linker flags to use for stage2 and later builds.
AC_ARG_WITH(boot-ldflags,
[AS_HELP_STRING([--with-boot-ldflags=FLAGS],
[linker flags for stage2 and later])],
[if test "$withval" = "no" -o "$withval" = "yes"; then
poststage1_ldflags=
else
poststage1_ldflags=$withval
fi],
[poststage1_ldflags=
# In stages 2 and 3, default to linking libstdc++ and libgcc
# statically. But if the user explicitly specified the libraries to
# use, trust that they are doing what they want.
if test "$poststage1_libs" = ""; then
poststage1_ldflags="-static-libstdc++ -static-libgcc"
fi])
AC_SUBST(poststage1_ldflags)
# GCC GRAPHITE dependency isl.
# Basic setup is inlined here, actual checks are in config/isl.m4
AC_ARG_WITH(isl,
[AS_HELP_STRING(
[--with-isl=PATH],
[Specify prefix directory for the installed isl package.
Equivalent to --with-isl-include=PATH/include
plus --with-isl-lib=PATH/lib])])
# Treat --without-isl as a request to disable
# GRAPHITE support and skip all following checks.
if test "x$with_isl" != "xno"; then
# Check for isl
dnl Provide configure switches and initialize islinc & isllibs
dnl with user input.
ISL_INIT_FLAGS
dnl The versions of isl that work for Graphite
ISL_CHECK_VERSION()
dnl Only execute fail-action, if isl has been requested.
ISL_IF_FAILED([
AC_MSG_ERROR([Unable to find a usable isl. See config.log for details.])])
fi
# If the isl check failed, disable builds of in-tree variant of isl
if test "x$with_isl" = xno ||
test "x$gcc_cv_isl" = xno; then
noconfigdirs="$noconfigdirs isl"
islinc=
fi
AC_SUBST(isllibs)
AC_SUBST(islinc)
# Check for LTO support.
AC_ARG_ENABLE(lto,
[AS_HELP_STRING([--enable-lto], [enable link time optimization support])],
enable_lto=$enableval,
enable_lto=yes; default_enable_lto=yes)
ACX_ELF_TARGET_IFELSE([# ELF platforms build the lto-plugin always.
build_lto_plugin=yes
],[if test x"$default_enable_lto" = x"yes" ; then
case $target in
*-apple-darwin[[912]]* | *-cygwin* | *-mingw* | *djgpp*) ;;
# On other non-ELF platforms, LTO has yet to be validated.
*) enable_lto=no ;;
esac
else
# Apart from ELF platforms, only Windows and Darwin support LTO so far.
# It would also be nice to check the binutils support, but we don't
# have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
# warn during gcc/ subconfigure; unless you're bootstrapping with
# -flto it won't be needed until after installation anyway.
case $target in
*-cygwin* | *-mingw* | *-apple-darwin* | *djgpp*) ;;
*) if test x"$enable_lto" = x"yes"; then
AC_MSG_ERROR([LTO support is not enabled for this target.])
fi
;;
esac
fi
# Among non-ELF, only Windows platforms support the lto-plugin so far.
# Build it unless LTO was explicitly disabled.
case $target in
*-cygwin* | *-mingw*) build_lto_plugin=$enable_lto ;;
*) ;;
esac
])
AC_ARG_ENABLE(linker-plugin-configure-flags,
[AS_HELP_STRING([[--enable-linker-plugin-configure-flags=FLAGS]],
[additional flags for configuring linker plugins @<:@none@:>@])],
extra_linker_plugin_configure_flags=$enableval,
extra_linker_plugin_configure_flags=)
AC_SUBST(extra_linker_plugin_configure_flags)
AC_ARG_ENABLE(linker-plugin-flags,
[AS_HELP_STRING([[--enable-linker-plugin-flags=FLAGS]],
[additional flags for configuring and building linker plugins @<:@none@:>@])],
extra_linker_plugin_flags=$enableval,
extra_linker_plugin_flags=)
AC_SUBST(extra_linker_plugin_flags)
# Enable --enable-host-shared.
# Checked early to determine whether jit is an 'all' language
AC_ARG_ENABLE(host-shared,
[AS_HELP_STRING([--enable-host-shared],
[build host code as shared libraries])],
[host_shared=$enableval
case $host in
x86_64-*-darwin* | aarch64-*-darwin*)
if test x$host_shared != xyes ; then
# PIC is the default, and actually cannot be switched off.
echo configure.ac: warning: PIC code is required for the configured target, host-shared setting ignored. 1>&2
host_shared=yes
fi ;;
*) ;;
esac],
[case $host in
x86_64-*-darwin* | aarch64-*-darwin*) host_shared=yes ;;
*) host_shared=no ;;
esac])
AC_SUBST(host_shared)
# If we are building PIC/PIE host executables, and we are building dependent
# libs (e.g. GMP) in-tree those libs need to be configured to generate PIC
# code.
host_libs_picflag=
if test "$host_shared" = "yes";then
host_libs_picflag='--with-pic'
fi
AC_SUBST(host_libs_picflag)
# By default, C and C++ are the only stage 1 languages.
stage1_languages=,c,
# Target libraries that we bootstrap.
bootstrap_target_libs=,target-libgcc,
# Figure out what language subdirectories are present.
# Look if the user specified --enable-languages="..."; if not, use
# the environment variable $LANGUAGES if defined. $LANGUAGES might
# go away some day.
# NB: embedded tabs in this IF block -- do not untabify
if test -d ${srcdir}/gcc; then
if test x"${enable_languages+set}" != xset; then
if test x"${LANGUAGES+set}" = xset; then
enable_languages="${LANGUAGES}"
echo configure.ac: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
else
enable_languages=default
fi
else
if test x"${enable_languages}" = x ||
test x"${enable_languages}" = xyes;
then
echo configure.ac: --enable-languages needs at least one language argument 1>&2
exit 1
fi
fi
enable_languages=`echo "${enable_languages}" | sed -e 's/[[ ,]][[ ,]]*/,/g' -e 's/,$//'`
# 'f95' is the old name for the 'fortran' language. We issue a warning
# and make the substitution.
case ,${enable_languages}, in
*,f95,*)
echo configure.ac: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
;;
esac
# If bootstrapping, C++ must be enabled.
case ",$enable_languages,:$enable_bootstrap" in
*,c++,*:*) ;;
*:yes)
if test -f ${srcdir}/gcc/cp/config-lang.in; then
enable_languages="${enable_languages},c++"
else
AC_MSG_ERROR([bootstrapping requires c++ sources])
fi
;;
esac
# 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_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
case ${lang_frag} in
..) ;;
# The odd quoting in the next line works around
# an apparent bug in bash 1.12 on linux.
${srcdir}/gcc/[[*]]/config-lang.in) ;;
*)
# From the config-lang.in, get $language, $lang_requires, and
# $lang_requires_boot_languages.
language=
lang_requires=
lang_requires_boot_languages=
# set srcdir during sourcing lang_frag to the gcc dir.
# Sadly overriding srcdir on the . line doesn't work in plain sh as it
# polutes this shell
saved_srcdir=${srcdir}
srcdir=${srcdir}/gcc . ${lang_frag}
srcdir=${saved_srcdir}
for other in ${lang_requires} ${lang_requires_boot_languages}; do
case ,${enable_languages}, in
*,$other,*) ;;
*,default,*) ;;
*,all,*) ;;
*,$language,*)
echo " \`$other' language required by \`$language'; enabling" 1>&2
enable_languages="${enable_languages},${other}"
;;
esac
done
for other in ${lang_requires_boot_languages} ; do
if test "$other" != "c"; then
case ,${enable_stage1_languages}, in
*,$other,*) ;;
*,default,*) ;;
*,all,*) ;;
*)
case ,${enable_languages}, in
*,$language,*)
echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
enable_stage1_languages="$enable_stage1_languages,${other}"
;;
esac
;;
esac
fi
done
;;
esac
done
new_enable_languages=,c,
# If LTO is enabled, add the LTO front end.
if test "$enable_lto" = "yes" ; then
case ,${enable_languages}, in
*,lto,*) ;;
*) enable_languages="${enable_languages},lto" ;;
esac
if test "${build_lto_plugin}" = "yes" ; then
configdirs="$configdirs lto-plugin"
fi
fi
# If we're building an offloading compiler, add the LTO front end.
if test x"$enable_as_accelerator_for" != x ; then
case ,${enable_languages}, in
*,lto,*) ;;
*) enable_languages="${enable_languages},lto" ;;
esac
fi
missing_languages=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
potential_languages=,c,
enabled_target_libs=
disabled_target_libs=
for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
case ${lang_frag} in
..) ;;
# The odd quoting in the next line works around
# an apparent bug in bash 1.12 on linux.
${srcdir}/gcc/[[*]]/config-lang.in) ;;
*)
# From the config-lang.in, get $language, $target_libs,
# $lang_dirs, $boot_language, and $build_by_default
language=
target_libs=
lang_dirs=
subdir_requires=
boot_language=no
build_by_default=yes
# set srcdir during sourcing. See above about save & restore
saved_srcdir=${srcdir}
srcdir=${srcdir}/gcc . ${lang_frag}
srcdir=${saved_srcdir}
if test x${language} = x; then
echo "${lang_frag} doesn't set \$language." 1>&2
exit 1
fi
if test "$language" = "c++"; then
boot_language=yes
fi
add_this_lang=no
# C is always enabled, so no need to add it again
if test "$language" != "c"; then
case ,${enable_languages}, in
*,${language},*)
# Language was explicitly selected; include it
add_this_lang=yes
;;
*,all,*)
# All languages are enabled
add_this_lang=all
;;
*,default,*)
# 'default' was selected, select it if it is a default language
add_this_lang=${build_by_default}
;;
esac
fi
# Disable languages that need other directories if these aren't available.
for i in $subdir_requires; do
test -f "$srcdir/gcc/$i/config-lang.in" && continue
case ${add_this_lang} in
yes)
# Specifically requested language; tell them.
AC_MSG_ERROR([The gcc/$i directory contains parts of $language but is missing])
;;
all)
AC_MSG_WARN([The gcc/$i directory contains parts of $language but is missing])
add_this_lang=unsupported
;;
*)
# Silently disable.
add_this_lang=unsupported
;;
esac
done
# Disable Ada if no preexisting GNAT is available.
case ${add_this_lang}:${language}:${have_gnat} in
yes:ada:no)
# Specifically requested language; tell them.
AC_MSG_ERROR([GNAT is required to build $language])
;;
all:ada:no)
AC_MSG_WARN([GNAT is required to build $language])
add_this_lang=unsupported
;;
*:ada:no)
# Silently disable.
add_this_lang=unsupported
;;
esac
# Disable D if no preexisting GDC is available.
case ${add_this_lang}:${language}:${have_gdc} in
yes:d:no)
# Specifically requested language; tell them.
AC_MSG_ERROR([GDC is required to build $language])
;;
all:d:no)
AC_MSG_WARN([GDC is required to build $language])
add_this_lang=unsupported
;;
*:d:no)
# Silently disable.
add_this_lang=unsupported
;;
esac
# Disable jit if -enable-host-shared not specified
# but not if building for Mingw. All code in Windows
# is position independent code (PIC).
case $target in
*mingw*) ;;
*)
case ${add_this_lang}:${language}:${host_shared} in
yes:jit:no)
# PR jit/64780: explicitly specify --enable-host-shared
AC_MSG_ERROR([
Enabling language "jit" requires --enable-host-shared.
--enable-host-shared typically slows the rest of the compiler down by
a few %, so you must explicitly enable it.
If you want to build both the jit and the regular compiler, it is often
best to do this via two separate configure/builds, in separate
directories, to avoid imposing the performance cost of
--enable-host-shared on the regular compiler.])
;;
all:jit:no)
AC_MSG_WARN([--enable-host-shared required to build $language])
add_this_lang=unsupported
;;
*:jit:no)
# Silently disable.
add_this_lang=unsupported
;;
esac
;;
esac
# Disable a language that is unsupported by the target.
case "${add_this_lang}: $unsupported_languages " in
no:*) ;;
unsupported:*) ;;
*:*" $language "*)
AC_MSG_WARN([${language} not supported for this target])
add_this_lang=unsupported
;;
esac
case $add_this_lang in
unsupported)
# Remove language-dependent dirs.
disabled_target_libs="$disabled_target_libs $target_libs"
noconfigdirs="$noconfigdirs $lang_dirs"
;;
no)
# Remove language-dependent dirs; still show language as supported.
disabled_target_libs="$disabled_target_libs $target_libs"
noconfigdirs="$noconfigdirs $lang_dirs"
potential_languages="${potential_languages}${language},"
;;
all|yes)
new_enable_languages="${new_enable_languages}${language},"
potential_languages="${potential_languages}${language},"
missing_languages=`echo "$missing_languages" | sed "s/,$language,/,/"`
enabled_target_libs="$enabled_target_libs $target_libs"
case "${boot_language}:,$enable_stage1_languages," in
yes:* | *:*,$language,* | *:*,yes, | *:*,all,)
# Add to (comma-separated) list of stage 1 languages.
case ",$stage1_languages," in
*,$language,* | ,yes, | ,all,) ;;
*) stage1_languages="${stage1_languages}${language}," ;;
esac
# We need to bootstrap any supporting libraries.
bootstrap_target_libs=`echo "${bootstrap_target_libs}${target_libs}," | sed "s/ /,/g"`
;;
esac
;;
esac
;;
esac
done
# Add target libraries which are only needed for disabled languages
# to noconfigdirs.
if test -n "$disabled_target_libs"; then
for dir in $disabled_target_libs; do
case " $enabled_target_libs " in
*" ${dir} "*) ;;
*) noconfigdirs="$noconfigdirs $dir" ;;
esac
done
fi
AC_ARG_ENABLE(stage1-languages,
[AS_HELP_STRING([[--enable-stage1-languages[=all]]],
[choose additional languages to build during
stage1. Mostly useful for compiler development])],
[case ,${enable_stage1_languages}, in
,no,|,,)
# Set it to something that will have no effect in the loop below
enable_stage1_languages=c ;;
,yes,)
enable_stage1_languages=`echo $new_enable_languages | \
sed -e "s/^,//" -e "s/,$//" ` ;;
*,all,*)
enable_stage1_languages=`echo ,$enable_stage1_languages, | \
sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
esac
# Add "good" languages from enable_stage1_languages to stage1_languages,
# while "bad" languages go in missing_languages. Leave no duplicates.
for i in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
case $potential_languages in
*,$i,*)
case $stage1_languages in
*,$i,*) ;;
*) stage1_languages="$stage1_languages$i," ;;
esac ;;
*)
case $missing_languages in
*,$i,*) ;;
*) missing_languages="$missing_languages$i," ;;
esac ;;
esac
done])
# Remove leading/trailing commas that were added for simplicity
potential_languages=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
stage1_languages=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
new_enable_languages=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
if test "x$missing_languages" != x; then
AC_MSG_ERROR([
The following requested languages could not be built: ${missing_languages}
Supported languages are: ${potential_languages}])
fi
if test "x$new_enable_languages" != "x$enable_languages"; then
echo The following languages will be built: ${new_enable_languages}
enable_languages="$new_enable_languages"
fi
AC_SUBST(stage1_languages)
ac_configure_args=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[[^ ]]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
fi
# Handle --disable-<component> generically.
for dir in $configdirs $build_configdirs $target_configdirs ; do
dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
varname=`echo $dirname | sed -e s/+/_/g`
if eval test x\${enable_${varname}} "=" xno ; then
noconfigdirs="$noconfigdirs $dir"
fi
done
# Check for Boehm's garbage collector
AC_ARG_ENABLE(objc-gc,
[AS_HELP_STRING([--enable-objc-gc],
[enable use of Boehm's garbage collector with the
GNU Objective-C runtime])])
AC_ARG_WITH([target-bdw-gc],
[AS_HELP_STRING([--with-target-bdw-gc=PATHLIST],
[specify prefix directory for installed bdw-gc package.
Equivalent to --with-target-bdw-gc-include=PATH/include
plus --with-target-bdw-gc-lib=PATH/lib])])
AC_ARG_WITH([target-bdw-gc-include],
[AS_HELP_STRING([--with-target-bdw-gc-include=PATHLIST],
[specify directories for installed bdw-gc include files])])
AC_ARG_WITH([target-bdw-gc-lib],
[AS_HELP_STRING([--with-target-bdw-gc-lib=PATHLIST],
[specify directories for installed bdw-gc library])])
case ,${enable_languages},:${enable_objc_gc} in *,objc,*:yes|*,objc,*:auto)
AC_MSG_CHECKING([for bdw garbage collector])
if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x; then
dnl no bdw-gw options, assume default locations
AC_MSG_RESULT([using bdw-gc in default locations])
else
dnl bdw-gw options, first error checking, complete checking in libobjc
if test "x$with_target_bdw_gc_include" = x && test "x$with_target_bdw_gc_lib" != x; then
AC_MSG_ERROR([found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing])
elif test "x$with_target_bdw_gc_include" != x && test "x$with_target_bdw_gc_lib" = x; then
AC_MSG_ERROR([found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing])
else
AC_MSG_RESULT([using paths configured with --with-target-bdw-gc options])
fi
fi
esac
# Disable libitm, libsanitizer, libvtv if we're not building C++
case ,${enable_languages}, in
*,c++,*)
# Disable libitm, libsanitizer if we're not building libstdc++
case "${noconfigdirs}" in
*target-libstdc++-v3*)
noconfigdirs="$noconfigdirs target-libitm target-libsanitizer"
;;
*) ;;
esac
;;
*)
noconfigdirs="$noconfigdirs target-libitm target-libsanitizer target-libvtv"
;;
esac
# If gcc/ is not in the source tree then we'll not be building a
# target compiler, assume in that case we don't want to build any
# target libraries or tools.
#
# This was added primarily for the benefit for binutils-gdb who reuse
# this configure script, but don't always have target tools available.
if test ! -d ${srcdir}/gcc; then
skipdirs="${skipdirs} ${target_configdirs}"
fi
# Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
# $build_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 -e s/build-//g`
if test $dir != . && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
if test -r $srcdir/$dirname/configure ; then
if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
true
else
notsupp="$notsupp $dir"
fi
fi
fi
if test $dir != . && echo " ${build_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
build_configdirs=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
if test -r $srcdir/$dirname/configure ; then
if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
true
else
notsupp="$notsupp $dir"
fi
fi
fi
if test $dir != . && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
if test -r $srcdir/$dirname/configure ; then
if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
true
else
notsupp="$notsupp $dir"
fi
fi
fi
done
# 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.
build_configdirs_all="$build_configdirs"
build_configdirs=
for i in ${build_configdirs_all} ; do
j=`echo $i | sed -e s/build-//g`
if test -f ${srcdir}/$j/configure ; then
build_configdirs="${build_configdirs} $i"
fi
done
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
# libiberty-linker-plugin is special: it doesn't have its own source directory,
# so we have to add it after the preceding checks.
if test x"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
then
case " $configdirs " in
*" libiberty "*)
# If we can build libiberty, we can also build libiberty-linker-plugin.
configdirs="$configdirs libiberty-linker-plugin"
extra_linker_plugin_configure_flags="$extra_linker_plugin_configure_flags \
--with-libiberty=../libiberty-linker-plugin";;
*)
AC_MSG_ERROR([libiberty missing]);;
esac
fi
# Sometimes we have special requirements for the host libiberty.
extra_host_libiberty_configure_flags=
case " $configdirs " in
*" lto-plugin "* | *" libcc1 "* | *" gdbserver "*)
# When these are to be built as shared libraries, the same applies to
# libiberty.
extra_host_libiberty_configure_flags=--enable-shared
;;
esac
AC_SUBST(extra_host_libiberty_configure_flags)
# Sometimes we have special requirements for the host zlib.
extra_host_zlib_configure_flags=
case " $configdirs " in
*" bfd "*)
# When bfd is to be built as a shared library, the same applies to
# zlib.
if test "$enable_shared" = "yes"; then
extra_host_zlib_configure_flags=--enable-host-shared
fi
;;
esac
AC_SUBST(extra_host_zlib_configure_flags)
# 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 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 test -n "$appdirs" ; then
for dir in $appdirs ; do
if test -r $dir/Makefile.in ; then
if echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
appdirs=""
break
fi
if echo " ${target_configdirs} " | grep " target-${dir} " >/dev/null 2>&1; then
appdirs=""
break
fi
fi
done
if test -n "$appdirs" ; then
echo "*** This configuration is not supported by this package." 1>&2
exit 1
fi
fi
# Okay, some application will build, or we don't care to check. Still
# notify of subdirs not getting built.
echo "*** This configuration is not supported in the following subdirectories:" 1>&2
echo " ${notsupp}" 1>&2
echo " (Any other directories should still work fine.)" 1>&2
fi
case "$host" in
*msdosdjgpp*)
enable_gdbtk=no ;;
esac
# To find our prefix, in gcc_cv_tool_prefix.
ACX_TOOL_DIRS
copy_dirs=
AC_ARG_WITH([build-sysroot],
[AS_HELP_STRING([--with-build-sysroot=SYSROOT],
[use sysroot as the system root during the build])],
[if test x"$withval" != x ; then
SYSROOT_CFLAGS_FOR_TARGET="--sysroot=$withval"
fi],
[SYSROOT_CFLAGS_FOR_TARGET=])
AC_SUBST(SYSROOT_CFLAGS_FOR_TARGET)
AC_ARG_WITH([debug-prefix-map],
[AS_HELP_STRING([--with-debug-prefix-map='A=B C=D ...'],
[map A to B, C to D ... in debug information])],
[if test x"$withval" != x; then
DEBUG_PREFIX_CFLAGS_FOR_TARGET=
for debug_map in $withval; do
DEBUG_PREFIX_CFLAGS_FOR_TARGET="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
done
fi],
[DEBUG_PREFIX_CFLAGS_FOR_TARGET=])
AC_SUBST(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
# During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
# might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
# might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
# We want to ensure that TARGET libraries (which we know are built with
# gcc) are built with "-O2 -g", so include those options when setting
# CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
if test "x$CFLAGS_FOR_TARGET" = x; then
if test "x${is_cross_compiler}" = xyes; then
CFLAGS_FOR_TARGET="-g -O2"
else
CFLAGS_FOR_TARGET=$CFLAGS
case " $CFLAGS " in
*" -O2 "*) ;;
*) CFLAGS_FOR_TARGET="-O2 $CFLAGS_FOR_TARGET" ;;
esac
case " $CFLAGS " in
*" -g "* | *" -g3 "*) ;;
*) CFLAGS_FOR_TARGET="-g $CFLAGS_FOR_TARGET" ;;
esac
fi
fi
AC_SUBST(CFLAGS_FOR_TARGET)
if test "x$CXXFLAGS_FOR_TARGET" = x; then
if test "x${is_cross_compiler}" = xyes; then
CXXFLAGS_FOR_TARGET="-g -O2"
else
CXXFLAGS_FOR_TARGET=$CXXFLAGS
case " $CXXFLAGS " in
*" -O2 "*) ;;
*) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS_FOR_TARGET" ;;
esac
case " $CXXFLAGS " in
*" -g "* | *" -g3 "*) ;;
*) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS_FOR_TARGET" ;;
esac
fi
fi
AC_SUBST(CXXFLAGS_FOR_TARGET)
AC_SUBST(LDFLAGS_FOR_TARGET)
# Handle --with-headers=XXX. If the value is not "yes", the contents of
# the named directory are copied to $(tooldir)/sys-include.
if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
if test x${is_cross_compiler} = xno ; then
echo 1>&2 '***' --with-headers is only supported when cross compiling
exit 1
fi
if test x"${with_headers}" != xyes ; then
x=${gcc_cv_tool_prefix}
copy_dirs="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
fi
fi
# Handle --with-libs=XXX. If the value is not "yes", the contents of
# the name directories are copied to $(tooldir)/lib. Multiple directories
# are permitted.
if test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
if test x${is_cross_compiler} = xno ; then
echo 1>&2 '***' --with-libs is only supported when cross compiling
exit 1
fi
if test x"${with_libs}" != xyes ; then
# Copy the libraries in reverse order, so that files in the first named
# library override files in subsequent libraries.
x=${gcc_cv_tool_prefix}
for l in ${with_libs}; do
copy_dirs="$l $x/${target_noncanonical}/lib ${copy_dirs}"
done
fi
fi
# Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
#
# This is done by determining whether or not the appropriate directory
# is available, and by checking whether or not specific configurations
# have requested that this magic not happen.
#
# The command line options always override the explicit settings in
# configure.ac, and the settings in configure.ac override this magic.
#
# If the default for a toolchain is to use GNU as and ld, and you don't
# want to do that, then you should use the --without-gnu-as and
# --without-gnu-ld options for the configure script. Similarly, if
# the default is to use the included zlib and you don't want to do that,
# you should use the --with-system-zlib option for the configure script.
if test x${use_gnu_as} = x &&
echo " ${configdirs} " | grep " gas " > /dev/null 2>&1 ; then
with_gnu_as=yes
extra_host_args="$extra_host_args --with-gnu-as"
fi
if test x${use_gnu_ld} = x &&
echo " ${configdirs} " | egrep " (go)?ld " > /dev/null 2>&1 ; then
with_gnu_ld=yes
extra_host_args="$extra_host_args --with-gnu-ld"
fi
if test x${use_included_zlib} = x &&
echo " ${configdirs} " | grep " zlib " > /dev/null 2>&1 ; then
:
else
with_system_zlib=yes
extra_host_args="$extra_host_args --with-system-zlib"
fi
# If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
# can detect this case.
if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " target-newlib " > /dev/null 2>&1 ; then
with_newlib=yes
extra_host_args="$extra_host_args --with-newlib"
fi
# Handle ${copy_dirs}
set fnord ${copy_dirs}
shift
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 test -d $2 ; then
:
else
echo >config.temp
${srcdir}/install-sh -c -m 644 config.temp $2/COPIED
fi
# Copy the directory, assuming we have tar.
# FIXME: Should we use B in the second tar? Not all systems support it.
(cd $1; tar -cf - .) | (cd $2; tar -xpf -)
# It is the responsibility of the user to correctly adjust all
# symlinks. If somebody can figure out how to handle them correctly
# here, feel free to add the code.
echo $1 > $2/COPIED
fi
shift; shift
done
# Determine a target-dependent exec_prefix that the installed
# gcc will search in. Keep this list sorted by triplet, with
# the *-*-osname triplets last.
md_exec_prefix=
case "${target}" in
i[[34567]]86-pc-msdosdjgpp*)
md_exec_prefix=/dev/env/DJDIR/bin
;;
*-*-hpux* | \
*-*-nto-qnx* | \
*-*-solaris2*)
md_exec_prefix=/usr/ccs/bin
;;
esac
extra_arflags_for_target=
extra_nmflags_for_target=
extra_ranlibflags_for_target=
target_makefile_frag=/dev/null
case "${target}" in
spu-*-*)
target_makefile_frag="config/mt-spu"
;;
mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)
target_makefile_frag="config/mt-sde"
;;
mipsisa*-*-elfoabi*)
target_makefile_frag="config/mt-mips-elfoabi"
;;
mips*-*-*linux* | mips*-*-gnu*)
target_makefile_frag="config/mt-mips-gnu"
;;
nios2-*-elf*)
target_makefile_frag="config/mt-nios2-elf"
;;
*-*-linux-android*)
target_makefile_frag="config/mt-android"
;;
*-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
target_makefile_frag="config/mt-gnu"
;;
*-*-aix4.[[3456789]]* | *-*-aix[[56789]].*)
# nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
# commands to handle both 32-bit and 64-bit objects. These flags are
# harmless if we're using GNU nm or ar.
extra_arflags_for_target=" -X32_64"
extra_nmflags_for_target=" -B -X32_64"
;;
esac
alphaieee_frag=/dev/null
case $target in
alpha*-*-*)
# This just makes sure to use the -mieee option to build target libs.
# This should probably be set individually by each library.
alphaieee_frag="config/mt-alphaieee"
;;
esac
# If --enable-target-optspace always use -Os instead of -O2 to build
# the target libraries, similarly if it is not specified, use -Os
# on selected platforms.
ospace_frag=/dev/null
case "${enable_target_optspace}:${target}" in
yes:*)
ospace_frag="config/mt-ospace"
;;
:d30v-*)
ospace_frag="config/mt-d30v"
;;
:m32r-* | :d10v-* | :fr30-* | :i?86*-*-elfiamcu)
ospace_frag="config/mt-ospace"
;;
no:* | :*)
;;
*)
echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
;;
esac
# Some systems (e.g., one of the i386-aix systems the gas testers are
# using) don't handle "\$" correctly, so don't use it here.
tooldir='${exec_prefix}'/${target_noncanonical}
build_tooldir=${tooldir}
# Create a .gdbinit file which runs the one in srcdir
# and tells GDB to look there for source files.
if test -r ${srcdir}/.gdbinit ; then
case ${srcdir} in
.) ;;
*) cat > ./.gdbinit <<EOF
# ${NO_EDIT}
dir ${srcdir}
dir .
source ${srcdir}/.gdbinit
EOF
;;
esac
fi
# Make sure that the compiler is able to generate an executable. If it
# 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 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*
# Decide which environment variable is used to find dynamic libraries.
case "${host}" in
*-*-hpux*) RPATH_ENVVAR=SHLIB_PATH ;;
*-*-darwin*) RPATH_ENVVAR=DYLD_LIBRARY_PATH ;;
*-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;;
*) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
esac
# On systems where the dynamic library environment variable is PATH,
# gcc/ will put dynamic libraries into a subdirectory to avoid adding
# built executables to PATH.
if test "$RPATH_ENVVAR" = PATH; then
GCC_SHLIB_SUBDIR=/shlib
else
GCC_SHLIB_SUBDIR=
fi
# Adjust the toplevel makefile according to whether bootstrap was selected.
case $enable_bootstrap in
yes)
bootstrap_suffix=bootstrap
BUILD_CONFIG=bootstrap-debug
;;
no)
bootstrap_suffix=no-bootstrap
BUILD_CONFIG=
;;
esac
AC_MSG_CHECKING(for default BUILD_CONFIG)
AC_ARG_WITH([build-config],
[AS_HELP_STRING([--with-build-config='NAME NAME2...'],
[use config/NAME.mk build configuration])],
[case $with_build_config in
yes) with_build_config= ;;
no) with_build_config= BUILD_CONFIG= ;;
esac])
if test "x${with_build_config}" != x; then
BUILD_CONFIG=$with_build_config
else
case $BUILD_CONFIG in
bootstrap-debug)
if echo "int f (void) { return 0; }" > conftest.c &&
${CC} -c conftest.c &&
mv conftest.o conftest.o.g0 &&
${CC} -c -g conftest.c &&
mv conftest.o conftest.o.g &&
${srcdir}/contrib/compare-debug conftest.o.g0 conftest.o.g > /dev/null 2>&1; then
:
else
BUILD_CONFIG=
fi
rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
;;
esac
fi
AC_MSG_RESULT($BUILD_CONFIG)
AC_SUBST(BUILD_CONFIG)
# Use same top-level configure hooks in libgcc/libstdc++/libvtv.
AC_MSG_CHECKING([for --enable-vtable-verify])
AC_ARG_ENABLE(vtable-verify,
[AS_HELP_STRING([--enable-vtable-verify],
[Enable vtable verification feature])],
[case "$enableval" in
yes) enable_vtable_verify=yes ;;
no) enable_vtable_verify=no ;;
*) enable_vtable_verify=no;;
esac],
[enable_vtable_verify=no])
AC_MSG_RESULT($enable_vtable_verify)
# Record target_configdirs and the configure arguments for target and
# build configuration in Makefile.
target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
build_configdirs=`echo "${build_configdirs}" | sed -e 's/build-//g'`
bootstrap_fixincludes=no
# If we are building libgomp, bootstrap it.
if echo " ${target_configdirs} " | grep " libgomp " > /dev/null 2>&1 ; then
bootstrap_target_libs=${bootstrap_target_libs}target-libgomp,
fi
# If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
# or bootstrap-ubsan, bootstrap it.
if echo " ${target_configdirs} " | grep " libsanitizer " > /dev/null 2>&1; then
case "$BUILD_CONFIG" in
*bootstrap-hwasan* | *bootstrap-asan* | *bootstrap-ubsan* )
bootstrap_target_libs=${bootstrap_target_libs}target-libsanitizer,
bootstrap_fixincludes=yes
;;
esac
fi
# If we are building libvtv and --enable-vtable-verify, bootstrap it.
if echo " ${target_configdirs} " | grep " libvtv " > /dev/null 2>&1 &&
test "$enable_vtable_verify" != no; then
bootstrap_target_libs=${bootstrap_target_libs}target-libvtv,
fi
# If we are building libatomic and the list of enabled languages includes the
# D frontend, bootstrap it.
if echo " ${target_configdirs} " | grep " libatomic " > /dev/null 2>&1; then
case ,${enable_languages}, in
*,d,*)
bootstrap_target_libs=${bootstrap_target_libs}target-libatomic,
;;
esac
fi
# Determine whether gdb needs tk/tcl or not.
# Use 'maybe' since enable_gdbtk might be true even if tk isn't available
# and in that case we want gdb to be built without tk. Ugh!
# In fact I believe gdb is the *only* package directly dependent on tk,
# so we should be able to put the 'maybe's in unconditionally and
# leave out the maybe dependencies when enable_gdbtk is false. I'm not
# 100% sure that that's safe though.
gdb_tk="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
case "$enable_gdbtk" in
no)
GDB_TK="" ;;
yes)
GDB_TK="${gdb_tk}" ;;
*)
# Only add the dependency on gdbtk when GDBtk is part of the gdb
# distro. Eventually someone will fix this and move Insight, nee
# gdbtk to a separate directory.
if test -d ${srcdir}/gdb/gdbtk ; then
GDB_TK="${gdb_tk}"
else
GDB_TK=""
fi
;;
esac
CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
# gdb and gdbserver depend on gnulib and gdbsupport, but as nothing
# else does, only include them if one of these is built. The Makefile
# provides the ordering, so it's enough here to add to the list.
case " ${configdirs} " in
*\ gdb\ *)
configdirs="${configdirs} gnulib gdbsupport"
;;
*\ gdbserver\ *)
configdirs="${configdirs} gnulib gdbsupport"
;;
*\ sim\ *)
configdirs="${configdirs} gnulib"
;;
esac
# Strip out unwanted targets.
# While at that, we remove Makefiles if we were started for recursive
# configuration, so that the top-level Makefile reconfigures them,
# like we used to do when configure itself was recursive.
# Loop over modules. We used to use the "$extrasub" feature from Autoconf
# but now we're fixing up the Makefile ourselves with the additional
# commands passed to AC_CONFIG_FILES. Use separate variables
# extrasub-{build,host,target} not because there is any reason to split
# the substitutions up that way, but only to remain below the limit of
# 99 commands in a script, for HP-UX sed.
# Do not nest @if/@endif or @unless/@endunless pairs, because
# configure will not warn you at all.
case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
yes:yes:*\ gold\ *:*,c++,*) ;;
yes:yes:*\ gold\ *:*)
AC_MSG_ERROR([in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages])
;;
esac
extrasub_build=
for module in ${build_configdirs} ; do
if test -z "${no_recursion}" \
&& test -f ${build_subdir}/${module}/Makefile; then
echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
rm -f ${build_subdir}/${module}/Makefile
fi
extrasub_build="$extrasub_build
/^@if build-$module\$/d
/^@endif build-$module\$/d
/^@unless build-$module\$/,/^@endunless build-$module\$/d
/^@if build-$module-$bootstrap_suffix\$/d
/^@endif build-$module-$bootstrap_suffix\$/d
/^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
done
extrasub_host=
for module in ${configdirs} ; do
if test -z "${no_recursion}"; then
for file in stage*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile; do
if test -f ${file}; then
echo 1>&2 "*** removing ${file} to force reconfigure"
rm -f ${file}
fi
done
fi
case ${module},${bootstrap_fixincludes} in
fixincludes,no) host_bootstrap_suffix=no-bootstrap ;;
*) host_bootstrap_suffix=$bootstrap_suffix ;;
esac
extrasub_host="$extrasub_host
/^@if $module\$/d
/^@endif $module\$/d
/^@unless $module\$/,/^@endunless $module\$/d
/^@if $module-$host_bootstrap_suffix\$/d
/^@endif $module-$host_bootstrap_suffix\$/d
/^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
done
extrasub_target=
for module in ${target_configdirs} ; do
if test -z "${no_recursion}" \
&& test -f ${target_subdir}/${module}/Makefile; then
echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
rm -f ${target_subdir}/${module}/Makefile
fi
# We only bootstrap target libraries listed in bootstrap_target_libs.
case $bootstrap_target_libs in
*,target-$module,*) target_bootstrap_suffix=$bootstrap_suffix ;;
*) target_bootstrap_suffix=no-bootstrap ;;
esac
extrasub_target="$extrasub_target
/^@if target-$module\$/d
/^@endif target-$module\$/d
/^@unless target-$module\$/,/^@endunless target-$module\$/d
/^@if target-$module-$target_bootstrap_suffix\$/d
/^@endif target-$module-$target_bootstrap_suffix\$/d
/^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
done
# Do the final fixup along with target modules.
extrasub_target="$extrasub_target
/^@if /,/^@endif /d
/^@unless /d
/^@endunless /d"
if test "$enable_pgo_build" != "no"; then
extrasub_build="$extrasub_build
/^@if pgo-build\$/d
/^@endif pgo-build\$/d"
fi
# Create the serialization dependencies. This uses a temporary file.
AC_ARG_ENABLE([serial-configure],
[AS_HELP_STRING([[--enable-serial-[{host,target,build}-]configure]],
[force sequential configuration of
sub-packages for the host, target or build
machine, or all sub-packages])])
case ${enable_serial_configure} in
yes)
enable_serial_build_configure=yes
enable_serial_host_configure=yes
enable_serial_target_configure=yes
;;
esac
# These force 'configure's to be done one at a time, to avoid problems
# with contention over a shared config.cache.
rm -f serdep.tmp
echo '# serdep.tmp' > serdep.tmp
olditem=
test "x${enable_serial_build_configure}" = xyes &&
for item in ${build_configdirs} ; do
case ${olditem} in
"") ;;
*) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp ;;
esac
olditem=${item}
done
olditem=
test "x${enable_serial_host_configure}" = xyes &&
for item in ${configdirs} ; do
case ${olditem} in
"") ;;
*) echo "configure-${item}: configure-${olditem}" >> serdep.tmp ;;
esac
olditem=${item}
done
olditem=
test "x${enable_serial_target_configure}" = xyes &&
for item in ${target_configdirs} ; do
case ${olditem} in
"") ;;
*) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp ;;
esac
olditem=${item}
done
serialization_dependencies=serdep.tmp
AC_SUBST_FILE(serialization_dependencies)
# Base args. Strip norecursion, cache-file, srcdir, host, build,
# target, nonopt, and variable assignments. These are the ones we
# might not want to pass down to subconfigures. The exception being
# --cache-file=/dev/null, which is used to turn off the use of cache
# files altogether, and which should be passed on to subconfigures.
# Also strip program-prefix, program-suffix, and program-transform-name,
# so that we can pass down a consistent program-transform-name.
baseargs=
tbaseargs=
keep_next=no
skip_next=no
eval "set -- $ac_configure_args"
for ac_arg
do
if test X"$skip_next" = X"yes"; then
skip_next=no
continue
fi
if test X"$keep_next" = X"yes"; then
case $ac_arg in
*\'*)
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
esac
baseargs="$baseargs '$ac_arg'"
tbaseargs="$tbaseargs '$ac_arg'"
keep_next=no
continue
fi
# Handle separated arguments. Based on the logic generated by
# autoconf 2.59.
case $ac_arg in
*=* | --config-cache | -C | -disable-* | --disable-* \
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
| -with-* | --with-* | -without-* | --without-* | --x)
separate_arg=no
;;
-*)
separate_arg=yes
;;
*)
separate_arg=no
;;
esac
skip_targ=no
case $ac_arg in
changequote(,)
--with-* | --without-*)
libopt=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
case $libopt in
*[-_]include)
lib=`echo "$libopt" | sed 's,[-_]include$,,'`
;;
*[-_]lib)
lib=`echo "$libopt" | sed 's,[-_]lib$,,'`
;;
*)
lib=$libopt
;;
esac
changequote([,])
case $lib in
mpc | mpfr | gmp | isl)
# If we're processing --with-$lib, --with-$lib-include or
# --with-$lib-lib, for one of the libs above, and target is
# different from host, don't pass the current argument to any
# target library's configure.
if test x$is_cross_compiler = xyes; then
skip_targ=yes
fi
;;
esac
;;
esac
case "$ac_arg" in
--cache-file=/dev/null | \
-cache-file=/dev/null )
# Handled here to avoid the test to skip args below.
baseargs="$baseargs '$ac_arg'"
tbaseargs="$tbaseargs '$ac_arg'"
# Assert: $separate_arg should always be no.
keep_next=$separate_arg
;;
--no*)
continue
;;
--c* | \
--sr* | \
--ho* | \
--bu* | \
--t* | \
--program-* | \
-cache_file* | \
-srcdir* | \
-host* | \
-build* | \
-target* | \
-program-prefix* | \
-program-suffix* | \
-program-transform-name* )
skip_next=$separate_arg
continue
;;
-*)
# An option. Add it.
case $ac_arg in
*\'*)
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
esac
baseargs="$baseargs '$ac_arg'"
if test X"$skip_targ" = Xno; then
tbaseargs="$tbaseargs '$ac_arg'"
fi
keep_next=$separate_arg
;;
*)
# Either a variable assignment, or a nonopt (triplet). Don't
# pass it down; let the Makefile handle this.
continue
;;
esac
done
# Remove the initial space we just introduced and, as these will be
# expanded by make, quote '$'.
baseargs=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
# Add in --program-transform-name, after --program-prefix and
# --program-suffix have been applied to it. Autoconf has already
# doubled dollar signs and backslashes in program_transform_name; we want
# the backslashes un-doubled, and then the entire thing wrapped in single
# quotes, because this will be expanded first by make and then by the shell.
# Also, because we want to override the logic in subdir configure scripts to
# choose program_transform_name, replace any s,x,x, with s,y,y,.
sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
${program_transform_name}
EOF_SED
gcc_transform_name=`cat conftestsed.out`
rm -f conftestsed.out
baseargs="$baseargs --program-transform-name='${gcc_transform_name}'"
tbaseargs="$tbaseargs --program-transform-name='${gcc_transform_name}'"
if test "$silent" = yes; then
baseargs="$baseargs --silent"
tbaseargs="$tbaseargs --silent"
fi
baseargs="$baseargs --disable-option-checking"
tbaseargs="$tbaseargs --disable-option-checking"
# Record and document user additions to sub configure arguments.
AC_ARG_VAR([build_configargs],
[additional configure arguments for build directories])
AC_ARG_VAR([host_configargs],
[additional configure arguments for host directories])
AC_ARG_VAR([target_configargs],
[additional configure arguments for target directories])
# For the build-side libraries, we just need to pretend we're native,
# and not use the same cache file. Multilibs are neither needed nor
# desired. We can't even use the same cache file for all build-side
# libraries, as they're compiled differently; some with C, some with
# C++ or with different feature-enabling options.
build_configargs="$build_configargs --cache-file=./config.cache ${baseargs}"
# For host modules, accept cache file option, or specification as blank.
case "${cache_file}" in
"") # empty
cache_file_option="" ;;
/* | [[A-Za-z]]:[[\\/]]* ) # absolute path
cache_file_option="--cache-file=${cache_file}" ;;
*) # relative path
cache_file_option="--cache-file=../${cache_file}" ;;
esac
# Host dirs don't like to share a cache file either, horribly enough.
# This seems to be due to autoconf 2.5x stupidity.
host_configargs="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
target_configargs="$target_configargs ${tbaseargs}"
# Passing a --with-cross-host argument lets the target libraries know
# whether they are being built with a cross-compiler or being built
# 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 test x${is_cross_compiler} = xyes ; then
target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
fi
# Special user-friendly check for native x86_64-linux build, if
# multilib is not explicitly enabled.
case "$target:$have_compiler:$host:$target:$enable_multilib" in
x86_64-*linux*:yes:$build:$build:)
# Make sure we have a development environment that handles 32-bit
dev64=no
echo "int main () { return 0; }" > conftest.c
${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
if test $? = 0 ; then
if test -s conftest || test -s conftest.exe ; then
dev64=yes
fi
fi
rm -f conftest*
if test x${dev64} != xyes ; then
AC_MSG_ERROR([I suspect your system does not have 32-bit development libraries (libc and headers). If you have them, rerun configure with --enable-multilib. If you do not have them, and want to build a 64-bit-only compiler, rerun configure with --disable-multilib.])
fi
;;
esac
# Default to --enable-multilib.
if test x${enable_multilib} = x ; then
target_configargs="--enable-multilib ${target_configargs}"
fi
# Pass --with-newlib if appropriate. Note that target_configdirs has
# changed from the earlier setting of with_newlib.
if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib ; then
target_configargs="--with-newlib ${target_configargs}"
fi
# Different target subdirs use different values of certain variables
# (notably CXX). Worse, multilibs use *lots* of different values.
# Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
# it doesn't automatically accept command-line overrides of them.
# This means it's not safe for target subdirs to share a cache file,
# which is disgusting, but there you have it. Hopefully this can be
# fixed in future. It's still worthwhile to use a cache file for each
# directory. I think.
# Pass the appropriate --build, --host, --target and --cache-file arguments.
# We need to pass --target, as newer autoconf's requires consistency
# for target_alias and gcc doesn't manage it consistently.
target_configargs="--cache-file=./config.cache ${target_configargs}"
FLAGS_FOR_TARGET=
case " $target_configdirs " in
*" newlib "*)
case " $target_configargs " in
*" --with-newlib "*)
case "$target" in
*-cygwin*)
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
;;
esac
# If we're not building GCC, don't discard standard headers.
if test -d ${srcdir}/gcc; then
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
if test "${build}" != "${host}"; then
# On Canadian crosses, CC_FOR_TARGET will have already been set
# by `configure', so we won't have an opportunity to add -Bgcc/
# to it. This is right: we don't want to search that directory
# for binaries, but we want the header files in there, so add
# them explicitly.
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
# Someone might think of using the pre-installed headers on
# Canadian crosses, in case the installed compiler is not fully
# compatible with the compiler being built. In this case, it
# would be better to flag an error than risking having
# incompatible object files being constructed. We can't
# guarantee that an error will be flagged, but let's hope the
# compiler will do it, when presented with incompatible header
# files.
fi
fi
case "${target}-${is_cross_compiler}" in
i[[3456789]]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 / /'`
;;
*)
# If we're building newlib, use its generic headers last, but search
# for any libc-related directories first (so make it the last -B
# switch).
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
# If we're building libgloss, find the startup file, simulator library
# and linker script.
case " $target_configdirs " in
*" libgloss "*)
# Look for startup file, simulator library and maybe linker script.
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
# Look for libnosys.a in case the target needs it.
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
# Most targets have the linker script in the source directory.
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
;;
esac
;;
esac
;;
esac
;;
esac
case "$target" in
x86_64-*mingw* | *-w64-mingw*)
# MinGW-w64 does not use newlib, nor does it use winsup. It may,
# however, use a symlink named 'mingw' in ${prefix} .
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
;;
*-mingw*)
# MinGW can't be handled as Cygwin above since it does not use newlib.
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/mingw -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/mingw/include -isystem $$s/winsup/w32api/include'
;;
esac
# Allow the user to override the flags for
# our build compiler if desired.
if test x"${build}" = x"${host}" ; then
CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
CPPFLAGS_FOR_BUILD=${CPPFLAGS_FOR_BUILD-${CPPFLAGS}}
CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
fi
# On Canadian crosses, we'll be searching the right directories for
# the previously-installed cross compiler, so don't bother to add
# flags for directories within the install tree of the compiler
# being built; programs in there won't even run.
if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
# Search for pre-installed headers if nothing else fits.
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
fi
if test "x${use_gnu_ld}" = x &&
echo " ${configdirs} " | grep " ld " > /dev/null ; then
# Arrange for us to find uninstalled linker scripts.
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
fi
# Search for other target-specific linker scripts and such.
case "${target}" in
mep*)
FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
;;
# The VxWorks support for shared libraries is getting in
# incrementally. Make sure it doesn't get activated implicitly:
*vxworks*)
if test "${enable_shared-unset}" = unset ; then
enable_shared=no
# So the build of libraries knows ...
target_configargs="${target_configargs} --disable-shared"
# So gcc knows ...
host_configargs="${host_configargs} --disable-shared"
fi
;;
esac
# Makefile fragments.
for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
do
eval fragval=\$$frag
if test $fragval != /dev/null; then
eval $frag=${srcdir}/$fragval
fi
done
AC_SUBST_FILE(host_makefile_frag)
AC_SUBST_FILE(target_makefile_frag)
AC_SUBST_FILE(alphaieee_frag)
AC_SUBST_FILE(ospace_frag)
# Miscellanea: directories, flags, etc.
AC_SUBST(RPATH_ENVVAR)
AC_SUBST(GCC_SHLIB_SUBDIR)
AC_SUBST(tooldir)
AC_SUBST(build_tooldir)
AC_SUBST(CONFIGURE_GDB_TK)
AC_SUBST(GDB_TK)
AC_SUBST(INSTALL_GDB_TK)
# Build module lists & subconfigure args.
AC_SUBST(build_configargs)
AC_SUBST(build_configdirs)
# Host module lists & subconfigure args.
AC_SUBST(host_configargs)
AC_SUBST(configdirs)
AC_SUBST(target_configdirs)
# Target module lists & subconfigure args.
AC_SUBST(target_configargs)
# Build tools.
AC_SUBST(AR_FOR_BUILD)
AC_SUBST(AS_FOR_BUILD)
AC_SUBST(CC_FOR_BUILD)
AC_SUBST(CFLAGS_FOR_BUILD)
AC_SUBST(CPP_FOR_BUILD)
AC_SUBST(CPPFLAGS_FOR_BUILD)
AC_SUBST(CXXFLAGS_FOR_BUILD)
AC_SUBST(CXX_FOR_BUILD)
AC_SUBST(DLLTOOL_FOR_BUILD)
AC_SUBST(DSYMUTIL_FOR_BUILD)
AC_SUBST(GFORTRAN_FOR_BUILD)
AC_SUBST(GOC_FOR_BUILD)
AC_SUBST(GDC_FOR_BUILD)
AC_SUBST(LDFLAGS_FOR_BUILD)
AC_SUBST(LD_FOR_BUILD)
AC_SUBST(NM_FOR_BUILD)
AC_SUBST(RANLIB_FOR_BUILD)
AC_SUBST(WINDMC_FOR_BUILD)
AC_SUBST(WINDRES_FOR_BUILD)
# Generate default definitions for YACC, M4, LEX and other programs that run
# on the build machine. These are used if the Makefile can't locate these
# programs in objdir.
MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
AC_CHECK_PROGS([YACC], ['bison -y' byacc yacc], [$MISSING bison -y])
case " $build_configdirs " in
*" bison "*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
esac
AC_CHECK_PROGS([BISON], [bison], [$MISSING bison])
case " $build_configdirs " in
*" bison "*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
esac
AC_CHECK_PROGS([M4], [gm4 gnum4 m4], [$MISSING m4])
case " $build_configdirs " in
*" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
esac
AC_CHECK_PROGS([LEX], [flex lex], [$MISSING flex])
case " $build_configdirs " in
*" flex "*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
*" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
esac
AC_CHECK_PROGS([FLEX], [flex], [$MISSING flex])
case " $build_configdirs " in
*" flex "*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
esac
AC_CHECK_PROGS([MAKEINFO], makeinfo, [$MISSING makeinfo])
case " $build_configdirs " in
*" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
*)
changequote(,)
# For an installed makeinfo, we require it to be from texinfo 4.7 or
# higher, else we use the "missing" dummy.
if ${MAKEINFO} --version \
| egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
:
else
MAKEINFO="$MISSING makeinfo"
fi
;;
changequote([,])
esac
# FIXME: expect and dejagnu may become build tools?
AC_CHECK_PROGS(EXPECT, expect, expect)
case " $configdirs " in
*" expect "*)
test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
;;
esac
AC_CHECK_PROGS(RUNTEST, runtest, runtest)
case " $configdirs " in
*" dejagnu "*)
test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
;;
esac
# Host tools.
NCN_STRICT_CHECK_TOOLS(AR, ar)
NCN_STRICT_CHECK_TOOLS(AS, as)
NCN_STRICT_CHECK_TOOLS(DLLTOOL, dlltool)
NCN_STRICT_CHECK_TOOLS(DSYMUTIL, dsymutil)
NCN_STRICT_CHECK_TOOLS(LD, ld)
NCN_STRICT_CHECK_TOOLS(LIPO, lipo)
NCN_STRICT_CHECK_TOOLS(NM, nm)
NCN_STRICT_CHECK_TOOLS(RANLIB, ranlib, true)
NCN_STRICT_CHECK_TOOLS(STRIP, strip, true)
NCN_STRICT_CHECK_TOOLS(WINDRES, windres)
NCN_STRICT_CHECK_TOOLS(WINDMC, windmc)
NCN_STRICT_CHECK_TOOLS(OBJCOPY, objcopy)
NCN_STRICT_CHECK_TOOLS(OBJDUMP, objdump)
NCN_STRICT_CHECK_TOOLS(OTOOL, otool)
NCN_STRICT_CHECK_TOOLS(READELF, readelf)
AC_SUBST(CC)
AC_SUBST(CXX)
AC_SUBST(CFLAGS)
AC_SUBST(CXXFLAGS)
AC_SUBST(GDC)
AC_SUBST(GDCFLAGS)
# Target tools.
AC_ARG_WITH([build-time-tools],
[AS_HELP_STRING([--with-build-time-tools=PATH],
[use given path to find target tools during the build])],
[case x"$withval" in
x/*) ;;
*)
with_build_time_tools=
AC_MSG_WARN([argument to --with-build-time-tools must be an absolute path])
;;
esac],
[with_build_time_tools=])
NCN_STRICT_CHECK_TARGET_TOOLS(CC_FOR_TARGET, cc gcc)
NCN_STRICT_CHECK_TARGET_TOOLS(CXX_FOR_TARGET, c++ g++ cxx gxx)
NCN_STRICT_CHECK_TARGET_TOOLS(GCC_FOR_TARGET, gcc, ${CC_FOR_TARGET})
NCN_STRICT_CHECK_TARGET_TOOLS(GFORTRAN_FOR_TARGET, gfortran)
NCN_STRICT_CHECK_TARGET_TOOLS(GOC_FOR_TARGET, gccgo)
NCN_STRICT_CHECK_TARGET_TOOLS(GDC_FOR_TARGET, gdc)
NCN_STRICT_CHECK_TARGET_TOOLS(GM2_FOR_TARGET, gm2)
ACX_CHECK_INSTALLED_TARGET_TOOL(AR_FOR_TARGET, ar)
ACX_CHECK_INSTALLED_TARGET_TOOL(AS_FOR_TARGET, as)
ACX_CHECK_INSTALLED_TARGET_TOOL(DLLTOOL_FOR_TARGET, dlltool)
ACX_CHECK_INSTALLED_TARGET_TOOL(DSYMUTIL_FOR_TARGET, dsymutil)
ACX_CHECK_INSTALLED_TARGET_TOOL(LD_FOR_TARGET, ld)
ACX_CHECK_INSTALLED_TARGET_TOOL(LIPO_FOR_TARGET, lipo)
ACX_CHECK_INSTALLED_TARGET_TOOL(NM_FOR_TARGET, nm)
ACX_CHECK_INSTALLED_TARGET_TOOL(OBJCOPY_FOR_TARGET, objcopy)
ACX_CHECK_INSTALLED_TARGET_TOOL(OBJDUMP_FOR_TARGET, objdump)
ACX_CHECK_INSTALLED_TARGET_TOOL(OTOOL_FOR_TARGET, otool)
ACX_CHECK_INSTALLED_TARGET_TOOL(RANLIB_FOR_TARGET, ranlib)
ACX_CHECK_INSTALLED_TARGET_TOOL(READELF_FOR_TARGET, readelf)
ACX_CHECK_INSTALLED_TARGET_TOOL(STRIP_FOR_TARGET, strip)
ACX_CHECK_INSTALLED_TARGET_TOOL(WINDRES_FOR_TARGET, windres)
ACX_CHECK_INSTALLED_TARGET_TOOL(WINDMC_FOR_TARGET, windmc)
RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
GCC_TARGET_TOOL(ar, AR_FOR_TARGET, AR, [binutils/ar])
GCC_TARGET_TOOL(as, AS_FOR_TARGET, AS, [gas/as-new])
GCC_TARGET_TOOL(cc, CC_FOR_TARGET, CC, [gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/])
dnl see comments for CXX_FOR_TARGET_FLAG_TO_PASS
GCC_TARGET_TOOL(c++, CXX_FOR_TARGET, CXX,
[gcc/xg++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `if test -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags; then $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes; else echo -funconfigured-libstdc++-v3 ; fi` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs],
c++)
GCC_TARGET_TOOL(c++ for libstdc++, RAW_CXX_FOR_TARGET, CXX,
[gcc/xgcc -shared-libgcc -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++ -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs],
c++)
GCC_TARGET_TOOL(dlltool, DLLTOOL_FOR_TARGET, DLLTOOL, [binutils/dlltool])
GCC_TARGET_TOOL(dsymutil, DSYMUTIL_FOR_TARGET, DSYMUTIL)
GCC_TARGET_TOOL(gcc, GCC_FOR_TARGET, , [gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/])
GCC_TARGET_TOOL(gfortran, GFORTRAN_FOR_TARGET, GFORTRAN,
[gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/], fortran)
GCC_TARGET_TOOL(gccgo, GOC_FOR_TARGET, GOC,
[gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/], go)
GCC_TARGET_TOOL(gdc, GDC_FOR_TARGET, GDC,
[gcc/gdc -B$$r/$(HOST_SUBDIR)/gcc/], d)
GCC_TARGET_TOOL(gm2, GM2_FOR_TARGET, GM2,
[gcc/gm2 -B$$r/$(HOST_SUBDIR)/gcc/], m2)
GCC_TARGET_TOOL(ld, LD_FOR_TARGET, LD, [ld/ld-new])
GCC_TARGET_TOOL(lipo, LIPO_FOR_TARGET, LIPO)
GCC_TARGET_TOOL(nm, NM_FOR_TARGET, NM, [binutils/nm-new])
GCC_TARGET_TOOL(objcopy, OBJCOPY_FOR_TARGET, OBJCOPY, [binutils/objcopy])
GCC_TARGET_TOOL(objdump, OBJDUMP_FOR_TARGET, OBJDUMP, [binutils/objdump])
GCC_TARGET_TOOL(otool, OTOOL_FOR_TARGET, OTOOL)
GCC_TARGET_TOOL(ranlib, RANLIB_FOR_TARGET, RANLIB, [binutils/ranlib])
GCC_TARGET_TOOL(readelf, READELF_FOR_TARGET, READELF, [binutils/readelf])
GCC_TARGET_TOOL(strip, STRIP_FOR_TARGET, STRIP, [binutils/strip-new])
GCC_TARGET_TOOL(windres, WINDRES_FOR_TARGET, WINDRES, [binutils/windres])
GCC_TARGET_TOOL(windmc, WINDMC_FOR_TARGET, WINDMC, [binutils/windmc])
AC_SUBST(FLAGS_FOR_TARGET)
AC_SUBST(RAW_CXX_FOR_TARGET)
# Certain tools may need extra flags.
AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
# When building target libraries, except in a Canadian cross, we use
# the same toolchain as the compiler we just built.
COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
if test $host = $build; then
case " $configdirs " in
*" gcc "*)
COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
;;
esac
fi
AC_SUBST(COMPILER_AS_FOR_TARGET)
AC_SUBST(COMPILER_LD_FOR_TARGET)
AC_SUBST(COMPILER_NM_FOR_TARGET)
AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
AC_ARG_ENABLE(maintainer-mode,
[AS_HELP_STRING([--enable-maintainer-mode],
[enable make rules and dependencies not useful
(and sometimes confusing) to the casual installer])],
USE_MAINTAINER_MODE=$enableval,
USE_MAINTAINER_MODE=no)
AC_MSG_RESULT($USE_MAINTAINER_MODE)
AC_SUBST(MAINTAINER_MODE_TRUE)
AC_SUBST(MAINTAINER_MODE_FALSE)
if test "$USE_MAINTAINER_MODE" = yes; then
MAINTAINER_MODE_TRUE=
MAINTAINER_MODE_FALSE='#'
else
MAINTAINER_MODE_TRUE='#'
MAINTAINER_MODE_FALSE=
fi
MAINT=$MAINTAINER_MODE_TRUE
AC_SUBST(MAINT)dnl
# ---------------------
# GCC bootstrap support
# ---------------------
# Stage specific cflags for build.
stage1_cflags="-g"
case $build in
vax-*-*)
case ${GCC} in
yes) stage1_cflags="-g -Wa,-J" ;;
*) stage1_cflags="-g -J" ;;
esac ;;
esac
AC_SUBST(stage1_cflags)
# Enable --enable-checking in stage1 of the compiler.
AC_ARG_ENABLE(stage1-checking,
[AS_HELP_STRING([[--enable-stage1-checking[=all]]],
[choose additional checking for stage1 of the compiler])],
[stage1_checking=--enable-checking=${enable_stage1_checking}],
[if test "x$enable_checking" = xno || test "x$enable_checking" = x; then
# For --disable-checking or implicit --enable-checking=release, avoid
# setting --enable-checking=gc in the default stage1 checking for LTO
# bootstraps. See PR62077.
case $BUILD_CONFIG in
*lto*)
stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
*)
stage1_checking=--enable-checking=yes,types;;
esac
if test "x$enable_checking" = x && \
test -d ${srcdir}/gcc && \
test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
stage1_checking=--enable-checking=yes,types,extra
fi
else
stage1_checking=--enable-checking=$enable_checking,types
fi])
AC_SUBST(stage1_checking)
# Enable -Werror in bootstrap stage2 and later.
AC_ARG_ENABLE(werror,
[AS_HELP_STRING([--enable-werror],
[enable -Werror in bootstrap stage2 and later])],
[
case ${enable_werror} in
yes) stage2_werror_flag="--enable-werror-always" ;;
*) stage2_werror_flag="" ;;
esac
],
[
if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
case $BUILD_CONFIG in
bootstrap-debug)
stage2_werror_flag="--enable-werror-always" ;;
"")
stage2_werror_flag="--enable-werror-always" ;;
esac
fi
])
AC_SUBST(stage2_werror_flag)
# Specify what files to not compare during bootstrap.
compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
compare_exclusions="$compare_exclusions | gcc/m2/gm2-compiler-boot/M2Version*"
compare_exclusions="$compare_exclusions | gcc/m2/gm2-compiler-boot/SYSTEM*"
compare_exclusions="$compare_exclusions | gcc/m2/gm2version*"
case "$target" in
hppa*64*-*-hpux*) ;;
powerpc*-ibm-aix*) compare_exclusions="$compare_exclusions | *libgomp*\$(objext)" ;;
esac
AC_SUBST(compare_exclusions)
AC_CONFIG_FILES([Makefile],
[sed "$extrasub_build" Makefile |
sed "$extrasub_host" |
sed "$extrasub_target" > mf$$
mv -f mf$$ Makefile],
[extrasub_build="$extrasub_build"
extrasub_host="$extrasub_host"
extrasub_target="$extrasub_target"])
AC_OUTPUT