mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-10 19:33:11 +00:00
compiler/mlds_to_il.m:
compiler/mlds_to_ilasm.m:
compiler/mlds_to_managed.m:
compiler/il_peephole.m:
compiler/ilasm.m:
compiler/ilds.m:
Delete the modules making up the MLDS->IL code generator.
compiler/globals.m:
compiler/prog_data.m:
Delete IL as a target and foreign language.
compiler/prog_io_pragma.m:
Delete the max_stack_size/1 foreign proc attribute. This was only
ever required by the IL backend.
compiler/options.m
Delete options used for the IL backend.
compiler/write_deps_file.m:
Don't generate mmake targets for .il files etc.
compiler/*.m:
Conform to the above changes.
compiler/notes/compiler_design.html
compiler/notes/work_in_progress.html
Conform to the above changes.
library/*.m:
Delete IL foreign_proc and foreign_export pragmas.
README.DotNet:
Delete this file.
browser/Mmakefile:
compiler/Mmakefile:
deep_profiler/Mmakefile:
mdbcomp/Mmakefile:
mfilterjavac/Mmakefile:
profiler/Mmakefile:
runtime/Mmakefile:
slice/Mmakefile:
Conform the above changes.
configure.ac:
Don't check that IL is a supported foreign language when performing the
up-to-date check.
Delete the '--enable-dotnet-grades' option.
scripts/Mmake.vars.in:
Delete variables used for the IL backend (and in on case by the Aditi
backend).
scripts/Mercury.config.bootstrap.in:
scripts/Mercury.config.in:
scripts/Mmake.rules:
scripts/canonical_grade.sh-subr:
tools/bootcheck:
Delete stuff related to the 'il' and 'ilc' grades.
doc/reference_manual.texi:
Delete the documentation of the 'max_stack_size' option.
doc/user_guide.texi:
Delete stuff related to the IL backend.
tests/hard_coded/csharp_test.{m,exp}:
tests/invalid/foreign_type_missing.{m,err_exp}:
tests/valid/csharp_hello.m:
Delete these tests: they are no longer relevant.
tests/hard_coded/equality_pred_which_requires_boxing.m:
tests/hard_coded/foreign_import_module.m:
tests/hard_coded/foreign_import_module_2.m:
tests/hard_coded/foreign_type.m:
tests/hard_coded/foreign_type2.m:
tests/hard_coded/foreign_type3.m:
tests/hard_coded/intermod_foreign_type2.m:
tests/hard_coded/lp.m:
tests/hard_coded/user_compare.m:
tests/invalid/foreign_type_2.m:
tests/invalid/foreign_type_missing.{m,err_exp}:
tests/invalid/foreign_type_visibility.m:
tests/invalid/illtyped_compare.{m,err_exp}:
tests/submodules/external_unification_pred.m
tests/valid/big_foreign_type.m
tests/valid/solver_type_bug.m
tests/valid_seq/foreign_type_spec.m
tests/valid_seq/intermod_impure2.m
Delete IL foreign_procs where necessary.
tests/hard_coded/Mmakefile
tests/invalid/Mercury.options
tests/invalid/Mmakefile
tests/submodules/Mmakefile
tests/valid/Mercury.options
tests/valid/Mmake.valid.common
tests/valid/Mmakefile
tests/valid_seq/Mmakefile
tests/valid_seq/Mercury.options
Conform to the above changes.
137 lines
5.5 KiB
Plaintext
137 lines
5.5 KiB
Plaintext
#
|
|
# This file has no hash-bang line since it isn't intended to be executable,
|
|
# instead it is 'sourced' by other scripts.
|
|
#
|
|
# @configure_input@
|
|
#---------------------------------------------------------------------------#
|
|
# Copyright (C) 2003-2007, 2010-2012 The University of Melbourne.
|
|
# This file may only be copied under the terms of the GNU General
|
|
# Public License - see the file COPYING in the Mercury distribution.
|
|
#---------------------------------------------------------------------------#
|
|
#
|
|
# Mercury.config
|
|
#
|
|
# Configuration file for the Melbourne Mercury Compiler.
|
|
#
|
|
# Note to developers: when updating this file consider whether
|
|
# Mercury.config.bootstrap.in should also be updated.
|
|
#
|
|
# Environment variables: MERCURY_STDLIB_DIR, MERCURY_C_COMPILER,
|
|
# MERCURY_DEFAULT_GRADE, MERCURY_DEFAULT_OPT_LEVEL,
|
|
# MERCURY_JAVA_COMPILER, MERCURY_JAVA_INTERPRETER,
|
|
# MERCURY_CSHARP_COMPILER.
|
|
|
|
# These settings won't override settings in the environment.
|
|
MERCURY_STDLIB_DIR=@LIBDIR@
|
|
MERCURY_DEFAULT_OPT_LEVEL=-O2
|
|
MERCURY_DEFAULT_GRADE=@DEFAULT_GRADE@
|
|
MERCURY_C_COMPILER=@CC@
|
|
MERCURY_C_COMPILER_TYPE=@C_COMPILER_TYPE@
|
|
MERCURY_MATH_LIB=@MATH_LIB@
|
|
MERCURY_JAVA_COMPILER=@JAVAC@
|
|
MERCURY_JAVA_INTERPRETER=@JAVA_INTERPRETER@
|
|
MERCURY_CSHARP_COMPILER=@CSC@
|
|
MERCURY_CSHARP_COMPILER_TYPE=@CSHARP_COMPILER_TYPE@
|
|
MERCURY_CLI_INTERPRETER=@CLI_INTERPRETER@
|
|
MERCURY_ERLANG_COMPILER=@ERLC@
|
|
MERCURY_ERLANG_INTERPRETER=@ERL@
|
|
MERCURY_TARGET_ARCH=@FULLARCH@
|
|
# $(MATH_LIB) needs to be defined because it may
|
|
# be used by the substitution for SHARED_LIBS.
|
|
MATH_LIB=$(MERCURY_MATH_LIB)
|
|
|
|
# If you change these, you will also need to change the files indicated in
|
|
# scripts/c2init.in.
|
|
RT_LIB_NAME=mer_rt
|
|
STD_LIB_NAME=mer_std
|
|
|
|
DEFAULT_MERCURY_LINKAGE=@DEFAULT_LINKAGE@
|
|
|
|
DEFAULT_GRADEFLAGS=--grade "$(MERCURY_DEFAULT_GRADE)"
|
|
|
|
# The default optimization level should be after
|
|
# all the options that describe the machine configuration.
|
|
DEFAULT_MCFLAGS=\
|
|
@ALL_LOCAL_C_INCL_DIR_MMC_OPTS@ \
|
|
@ALL_LOCAL_C_LIB_DIR_MMC_OPTS@ \
|
|
--cc "$(MERCURY_C_COMPILER)" \
|
|
--c-compiler-type "$(MERCURY_C_COMPILER_TYPE)" \
|
|
--java-compiler "$(MERCURY_JAVA_COMPILER)" \
|
|
--java-interpreter "$(MERCURY_JAVA_INTERPRETER)" \
|
|
--csharp-compiler "$(MERCURY_CSHARP_COMPILER)" \
|
|
--csharp-compiler-type "$(MERCURY_CSHARP_COMPILER_TYPE)" \
|
|
--cli-interpreter "$(MERCURY_CLI_INTERPRETER)" \
|
|
--erlang-compiler "$(MERCURY_ERLANG_COMPILER)" \
|
|
--erlang-interpreter "$(MERCURY_ERLANG_INTERPRETER)" \
|
|
--cflags-for-ansi "@CFLAGS_FOR_ANSI@" \
|
|
--cflags-for-optimization "@CFLAGS_FOR_OPT@" \
|
|
--cflags-for-warnings "@CFLAGS_FOR_WARNINGS@" \
|
|
--cflags-for-threads "@CFLAGS_FOR_THREADS@" \
|
|
--cflags-for-debug "@CFLAGS_FOR_DEBUG@" \
|
|
--cflags-for-regs "@CFLAGS_FOR_REGS@" \
|
|
--cflags-for-gotos "@CFLAGS_FOR_GOTOS@" \
|
|
--cflags-for-pic "@CFLAGS_FOR_PIC@" \
|
|
--c-flag-to-name-object-file "@OBJFILE_OPT@" \
|
|
--java-flags "@JAVAC_FLAGS_FOR_HEAP_SIZE_CONFIG@" \
|
|
--object-file-extension ".@OBJ_SUFFIX@" \
|
|
--pic-object-file-extension ".@EXT_FOR_PIC_OBJECTS@" \
|
|
--link-with-pic-object-file-extension ".@EXT_FOR_LINK_WITH_PIC_OBJECTS@" \
|
|
--executable-file-extension "@EXT_FOR_EXE@" \
|
|
--shared-library-extension ".@EXT_FOR_SHARED_LIB@" \
|
|
--library-extension ".@LIB_SUFFIX@" \
|
|
--create-archive-command "@AR@" \
|
|
--create-archive-command-output-flag "@AR_LIBFILE_OPT@" \
|
|
--create-archive-command-flags "@ARFLAGS@" \
|
|
--ranlib-command "@RANLIB@" \
|
|
--ranlib-flags "@RANLIBFLAGS@" \
|
|
--link-executable-command "@LINK_EXE@" \
|
|
--link-shared-lib-command "@LINK_SHARED_OBJ@" \
|
|
--strip-executable-command "@STRIP_EXE@" \
|
|
--strip-executable-shared-flags "@STRIP_EXE_SHARED_FLAGS@" \
|
|
--strip-executable-static-flags "@STRIP_EXE_STATIC_FLAGS@" \
|
|
--trace-libs "@TRACE_BASE_LIBS_SYSTEM@" \
|
|
--thread-libs "@THREAD_LIBS@" \
|
|
--hwloc-libs "@HWLOC_LIBS@" \
|
|
--hwloc-static-libs "@HWLOC_STATIC_LIBS@" \
|
|
--shared-libs "@SHARED_LIBS@" \
|
|
--math-lib "@MATH_LIB@" \
|
|
--readline-libs "@READLINE_LIBRARIES@" \
|
|
--linker-opt-separator "@LINK_OPT_SEP@" \
|
|
--linker-thread-flags "@LDFLAGS_FOR_THREADS@" \
|
|
--shlib-linker-thread-flags "@LD_LIBFLAGS_FOR_THREADS@" \
|
|
--linker-trace-flags "@LDFLAGS_FOR_TRACE@" \
|
|
--shlib-linker-trace-flags "@LD_LIBFLAGS_FOR_TRACE@" \
|
|
--linker-static-flags "@LD_STATIC_FLAGS@" \
|
|
--linker-strip-flag "@LD_STRIP_FLAG@" \
|
|
--linker-debug-flags "@LDFLAGS_FOR_DEBUG@" \
|
|
--shlib-linker-debug-flags "@LD_LIBFLAGS_FOR_DEBUG@" \
|
|
--linker-link-lib-flag "@LINK_LIB@" \
|
|
--linker-link-lib-suffix "@LINK_LIB_SUFFIX@" \
|
|
--shlib-linker-link-lib-flag "@LINK_LIB@" \
|
|
--shlib-linker-link-lib-suffix "@LINK_LIB_SUFFIX@" \
|
|
--linker-path-flag "@LIB_LIBPATH@" \
|
|
--linker-rpath-flag "@EXE_RPATH_OPT@" \
|
|
--linker-rpath-separator "@EXE_RPATH_SEP@" \
|
|
--shlib-linker-rpath-flag "@SHLIB_RPATH_OPT@" \
|
|
--shlib-linker-rpath-separator "@SHLIB_RPATH_SEP@" \
|
|
@SHLIB_USE_INSTALL_NAME@ \
|
|
--shlib-linker-install-name-flag "@SHLIB_INSTALL_NAME_FLAG@" \
|
|
--linker-allow-undefined-flag "@ALLOW_UNDEFINED@" \
|
|
--linker-error-undefined-flag "@ERROR_UNDEFINED@" \
|
|
--fullarch "$(MERCURY_TARGET_ARCH)" \
|
|
--install-prefix "@PREFIX@" \
|
|
--num-real-r-regs "@NUM_REAL_R_REGS@" \
|
|
--num-real-r-temps "@NUM_REAL_R_TEMPS@" \
|
|
--conf-low-tag-bits "@LOW_TAG_BITS@" \
|
|
--bits-per-word "@BITS_PER_WORD@" \
|
|
--bytes-per-word "@BYTES_PER_WORD@" \
|
|
--sync-term-size "@SYNC_TERM_SIZE@" \
|
|
--host-env-type "@HOST_ENV_TYPE@" \
|
|
--target-env-type "@TARGET_ENV_TYPE@" \
|
|
@RESTRICTED_COMMAND_LINE_OPT@ \
|
|
@HAVE_DELAY_SLOT@ \
|
|
@HAVE_BOXED_FLOATS@ \
|
|
@MCFLAGS_FOR_CC@ \
|
|
$(MERCURY_DEFAULT_OPT_LEVEL) \
|
|
@MMC_USE_SYMLINKS_OPT@
|