Make mcs.exe .net4 application
authorMarek Safar <marek.safar@gmail.com>
Tue, 1 Feb 2011 12:52:50 +0000 (12:52 +0000)
committerMarek Safar <marek.safar@gmail.com>
Tue, 1 Feb 2011 12:53:22 +0000 (12:53 +0000)
23 files changed:
mcs/Makefile
mcs/build/Makefile
mcs/build/library.make
mcs/build/profiles/build.make [new file with mode: 0644]
mcs/build/profiles/monodroid.make
mcs/build/profiles/monotouch.make
mcs/build/profiles/moonlight_raw.make
mcs/build/profiles/net_2_0.make
mcs/build/profiles/net_3_5.make
mcs/build/profiles/net_4_0.make
mcs/build/rules.make
mcs/class/Makefile
mcs/class/System.Core/build_System.Core.dll.sources [new file with mode: 0644]
mcs/class/aot-compiler/Makefile
mcs/errors/Makefile
mcs/mcs/Makefile
mcs/tests/Makefile
mcs/tools/Makefile
mcs/tools/security/Makefile
scripts/Makefile.am
scripts/dmcs.in
scripts/gmcs.in [new file with mode: 0644]
scripts/mcs.in

index b951d16f267698030d0a2ade37291a0ef287021c..370052aaa96efbbdb11d13d75b1ee2323842f0ce 100644 (file)
@@ -2,14 +2,14 @@ thisdir := .
 
 SUBDIRS := build jay mcs class nunit24 ilasm tools tests errors docs
 
-basic_SUBDIRS := build jay mcs class tools
+basic_SUBDIRS := build jay mcs class
+build_SUBDIRS := build class mcs class/aot-compiler tools
 net_2_0_SUBDIRS := build class nunit24 ilasm tools tests errors
-moonlight_raw_SUBDIRS := build class tools
-moonlight_SUBDIRS := tools
+moonlight_raw_SUBDIRS := build class
 monodroid_SUBDIRS := build class
 monotouch_SUBDIRS := build class
 net_3_5_SUBDIRS := build class tools/xbuild
-net_4_0_SUBDIRS := build class nunit24 ilasm tools tests errors docs
+net_4_0_SUBDIRS := build mcs class nunit24 ilasm tools tests errors docs
 
 # List of test subdirs that should pass 100%
 centum_tests := \
@@ -100,13 +100,14 @@ profiles-do--run-test:
 
 # Orchestrate the bootstrap here.
 _boot_ = all clean install
-$(_boot_:%=profile-do--net_4_0--%):           profile-do--net_4_0--%:           profile-do--basic--%
+$(_boot_:%=profile-do--net_4_0--%):           profile-do--net_4_0--%:           profile-do--build--%
 $(_boot_:%=profile-do--net_3_5--%):           profile-do--net_3_5--%:           profile-do--net_2_0--%
 $(_boot_:%=profile-do--moonlight--%):         profile-do--moonlight--%:         profile-do--moonlight_raw--%
-$(_boot_:%=profile-do--monodroid--%):         profile-do--monodroid--%:         profile-do--basic--%
-$(_boot_:%=profile-do--monotouch--%):         profile-do--monotouch--%:         profile-do--basic--%
-$(_boot_:%=profile-do--moonlight_raw--%):     profile-do--moonlight_raw--%:     profile-do--basic--%
-$(_boot_:%=profile-do--net_2_0--%):           profile-do--net_2_0--%:           profile-do--basic--%
+$(_boot_:%=profile-do--monodroid--%):         profile-do--monodroid--%:         profile-do--build--%
+$(_boot_:%=profile-do--monotouch--%):         profile-do--monotouch--%:         profile-do--build--%
+$(_boot_:%=profile-do--moonlight_raw--%):     profile-do--moonlight_raw--%:     profile-do--build--%
+$(_boot_:%=profile-do--net_2_0--%):           profile-do--net_2_0--%:           profile-do--build--%
+$(_boot_:%=profile-do--build--%):             profile-do--build--%:             profile-do--basic--%
 
 testcorlib:
        @cd class/corlib && $(MAKE) test run-test
index f90c8b89626c1e456e07e928a656cbb11695dc20..414bb81c9f49d8f0fd7d2fee4b6b9d68834ac420 100644 (file)
@@ -17,6 +17,7 @@ common/Consts.cs: common/Consts.cs.in $(wildcard config.make)
 PLATFORMS = darwin linux win32
 PROFILES = \
        basic \
+       build \
        net_2_0 \
        moonlight_raw \
        moonlight \
index 614ac01c002d20460a10118c6f55719fab3a57ff..4b14c26391692d34d2c2a548cfac28a4fe17765d 100644 (file)
@@ -66,8 +66,8 @@ library_CLEAN_FILES += $(build_lib) $(build_lib).so $(build_lib).mdb $(build_lib
 ifdef NO_SIGN_ASSEMBLY
 SN = :
 else
-sn = $(topdir)/class/lib/basic/sn.exe
-SN = $(Q) MONO_PATH="$(topdir)/class/lib/basic$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(RUNTIME_FLAGS) $(sn)
+sn = $(topdir)/class/lib/$(BUILD_TOOLS_PROFILE)/sn.exe
+SN = $(Q) MONO_PATH="$(topdir)/class/lib/$(BUILD_TOOLS_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(RUNTIME_FLAGS) $(sn)
 SNFLAGS = -q
 endif
 
diff --git a/mcs/build/profiles/build.make b/mcs/build/profiles/build.make
new file mode 100644 (file)
index 0000000..15ad859
--- /dev/null
@@ -0,0 +1,21 @@
+# -*- makefile -*-
+
+BOOTSTRAP_PROFILE = basic
+BUILD_TOOLS_PROFILE = basic
+
+BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
+MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
+
+# nuttzing!
+
+profile-check:
+       @:
+
+DEFAULT_REFERENCES = -r:mscorlib.dll
+PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_2_0 -d:NET_3_0 -d:NET_3_5 -d:NET_4_0 -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES)
+
+NO_SIGN_ASSEMBLY = yes
+NO_TEST = yes
+NO_INSTALL = yes
+
+FRAMEWORK_VERSION = 4.0
index 533af51b68516d637d9d7ea89908e68d2d982fb7..439e1e15fcbd5c0b1e9c8ac9ee859ae177c15d3e 100644 (file)
@@ -1,6 +1,6 @@
 #! -*- makefile -*-
 
-BOOTSTRAP_PROFILE = basic
+BOOTSTRAP_PROFILE = build
 
 BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
 MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
index 31dce07bacec2d73d015133e6f154a8a3eb3ecab..c3f5151394a2b92908ff5e50aa9fb9991e953f5d 100644 (file)
@@ -1,6 +1,6 @@
 #! -*- makefile -*-
 
-BOOTSTRAP_PROFILE = basic
+BOOTSTRAP_PROFILE = build
 
 BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
 MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
index 1c530545ec54269d7846e85aa80c70ea77bfe0d2..e808a94490bb11e113da2ea95ff53f8d7c5696a1 100644 (file)
@@ -1,6 +1,6 @@
 #! -*- makefile -*-
 
-BOOTSTRAP_PROFILE = basic
+BOOTSTRAP_PROFILE = build
 
 BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
 MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
index 0f79ea0f764975a7f0b3b3a3d13685169be15eac..adea3e8376a4199af59c2420d7bd806c6e73b6b1 100644 (file)
@@ -1,6 +1,6 @@
 # -*- makefile -*-
 
-BOOTSTRAP_PROFILE = basic
+BOOTSTRAP_PROFILE = build
 BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
 MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
 
index 6bd8a93423ce7d66f224438eaff31653e8efe81e..90a4abee2bbde1e2c9143a4b9acfe9c7051ca300 100644 (file)
@@ -1,6 +1,6 @@
 # -*- makefile -*-
 
-BOOTSTRAP_PROFILE = basic
+BOOTSTRAP_PROFILE = build
 
 MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
 
index 4574b47a090697ddb0814aff8b75a09001e0419e..4cf51db14a4ace7546038a78cd4342c7642fe462 100644 (file)
@@ -1,6 +1,6 @@
 # -*- makefile -*-
 
-BOOTSTRAP_PROFILE = basic
+BOOTSTRAP_PROFILE = build
 
 BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
 MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
index 5d2d6ee29d51e7168943f057d700b7c9c229cfed..1c358677974d63313f7acec345ec05819bba014c 100644 (file)
@@ -24,6 +24,10 @@ Q=$(if $(V),,@)
 # echo -e "\\t" does not work on some systems, so use 5 spaces
 Q_MCS=$(if $(V),,@echo "MCS     [$(PROFILE)] $(notdir $(@))";)
 
+ifndef BUILD_TOOLS_PROFILE
+BUILD_TOOLS_PROFILE = build
+endif
+
 USE_MCS_FLAGS = /codepage:$(CODEPAGE) $(LOCAL_MCS_FLAGS) $(PLATFORM_MCS_FLAGS) $(PROFILE_MCS_FLAGS) $(MCS_FLAGS)
 USE_MBAS_FLAGS = /codepage:$(CODEPAGE) $(LOCAL_MBAS_FLAGS) $(PLATFORM_MBAS_FLAGS) $(PROFILE_MBAS_FLAGS) $(MBAS_FLAGS)
 USE_CFLAGS = $(LOCAL_CFLAGS) $(CFLAGS)
@@ -37,14 +41,10 @@ INSTALL_BIN = $(INSTALL) -c -m 755
 INSTALL_LIB = $(INSTALL_BIN)
 MKINSTALLDIRS = $(SHELL) $(topdir)/mkinstalldirs
 INTERNAL_MBAS = $(RUNTIME) $(RUNTIME_FLAGS) $(topdir)/mbas/mbas.exe
-INTERNAL_GMCS = $(RUNTIME) $(RUNTIME_FLAGS) $(topdir)/class/lib/basic/mcs.exe
+INTERNAL_GMCS = $(RUNTIME) $(RUNTIME_FLAGS) $(topdir)/class/lib/$(BUILD_TOOLS_PROFILE)/mcs.exe
 INTERNAL_ILASM = $(RUNTIME) $(RUNTIME_FLAGS) $(topdir)/class/lib/$(PROFILE)/ilasm.exe
 corlib = mscorlib.dll
 
-ifndef BUILD_TOOLS_PROFILE
-BUILD_TOOLS_PROFILE = basic
-endif
-
 INTERNAL_RESGEN = $(RUNTIME) $(RUNTIME_FLAGS) $(topdir)/class/lib/$(BUILD_TOOLS_PROFILE)/resgen.exe
 
 depsdir = $(topdir)/build/deps
@@ -117,8 +117,8 @@ endif
 ifdef NO_INSTALL
 GACUTIL = :
 else
-gacutil = $(topdir)/class/lib/basic/gacutil.exe
-GACUTIL = MONO_PATH="$(topdir)/class/lib/basic$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(RUNTIME_FLAGS) $(gacutil)
+gacutil = $(topdir)/class/lib/$(BUILD_TOOLS_PROFILE)/gacutil.exe
+GACUTIL = MONO_PATH="$(topdir)/class/lib/$(BUILD_TOOLS_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(RUNTIME_FLAGS) $(gacutil)
 endif
 
 STD_TARGETS = test run-test run-test-ondotnet clean install uninstall doc-update
index e058188a709b244d9407a1ed2719a1d03309f103..95f54b148e4ab8fc77d891522c6701923cdf566f 100644 (file)
@@ -2,7 +2,15 @@ thisdir = class
 
 # Note that Mono.Security and System.Security aren't listed.
 # We may have to add those if 'mcs' starts using them.
-basic_SUBDIRS := corlib System System.XML System Mono.Security Mono.CompilerServices.SymbolWriter System.Core aot-compiler
+basic_SUBDIRS := corlib System System.XML System Mono.Security System.Core 
+
+build_SUBDIRS :=  \
+       corlib \
+       System \
+       System.XML \
+       System Mono.Security \
+       Mono.Posix \
+       System.Core
 
 net_1_1_java_SUBDIRS = \
        System.Xml                                      \
diff --git a/mcs/class/System.Core/build_System.Core.dll.sources b/mcs/class/System.Core/build_System.Core.dll.sources
new file mode 100644 (file)
index 0000000..7406bcc
--- /dev/null
@@ -0,0 +1 @@
+#include net_4_0_System.Core.dll.sources
index 944455866d3ba83769b4d892cb64d2cb14d4b52d..0febe398d842caecc2078c0e06642384141a5e26 100644 (file)
@@ -10,9 +10,9 @@ include ../../build/rules.make
 
 the_libdir = $(topdir)/class/lib/$(PROFILE)/
 
-# mcs is in the basic profile, but the aot image should be compiled against the current
+# mcs.exe is only in the build profile, but the aot image should be compiled against the current
 # profile
-mcs_exe = $(topdir)/class/lib/basic/mcs.exe
+mcs_exe = $(topdir)/class/lib/build/mcs.exe
 mcs_aot_image = $(the_libdir)/mcs.exe$(PLATFORM_AOT_SUFFIX)
 
 mscorlib_dll = $(the_libdir)/mscorlib.dll
@@ -36,12 +36,13 @@ ifdef ENABLE_AOT
 clean-local:
        -rm -f $(mscorlib_aot_image) $(mcs_aot_image) $(PROFILE)_aot.log
 
-ifeq ($(PROFILE),basic)
+# AOT build profile mcs to speed up build
+ifeq ($(PROFILE),build)
 all-local: $(mscorlib_aot_image) $(mcs_aot_image)
 install-local:
 endif
 
-ifeq ($(PROFILE),net_2_0)
+ifeq ($(PROFILE),net_4_0)
 all-local: $(mscorlib_aot_image) $(mcs_aot_image)
 install-local:
        $(MKINSTALLDIRS) $(DESTDIR)$(LIBRARY_INSTALL_DIR)
@@ -49,8 +50,8 @@ install-local:
        $(INSTALL_LIB) $(mcs_aot_image) $(DESTDIR)$(PROGRAM_INSTALL_DIR)
 endif
 
-# No mcs in net 4.0
-ifeq ($(PROFILE),net_4_0)
+# No mcs in net 2.0
+ifeq ($(PROFILE),net_2_0)
 all-local: $(mscorlib_aot_image)
 install-local:
        $(MKINSTALLDIRS) $(DESTDIR)$(LIBRARY_INSTALL_DIR)
index 8fd3c8e6f759462cdccd00043eefb8b5abe864e3..2e8e14a803f84ca0aa7a70d287736d4be606b177 100644 (file)
@@ -41,7 +41,7 @@ TEST_SUPPORT_FILES = \
 # mention all targets
 all-local $(STD_TARGETS:=-local):
 
-VALID_PROFILE := $(filter net_2_0 moonlight net_4_0, $(PROFILE))
+VALID_PROFILE := $(filter net_4_0, $(PROFILE))
 ifdef VALID_PROFILE
 
 qcheck: run-mcs-tests 
@@ -67,7 +67,7 @@ TESTER_OPTIONS = -compiler-options:"-v -d:NET_4_0 -sdk:4"
 TEST_SUPPORT_FILES += DCS0266-lib.dll
 endif
 
-COMPILER = $(topdir)/class/lib/basic/mcs.exe
+COMPILER = $(topdir)/class/lib/$(BUILD_TOOLS_PROFILE)/mcs.exe
 TESTER = MONO_RUNTIME='$(RUNTIME)' $(TEST_RUNTIME) $(RUNTIME_FLAGS) $(LOCAL_RUNTIME_FLAGS) $(topdir)/class/lib/$(PROFILE)/compiler-tester.exe
 
 run-mcs-tests: $(TEST_SUPPORT_FILES)
index 88c7abe3fe7f8684083f61320fabe8a397894207..2d5a18b740e05fd41e08749066aeae61f8e1af40 100644 (file)
@@ -12,9 +12,16 @@ EXTRA_DISTFILES = \
        TODO                    \
        ikvm.cs
 
-LOCAL_MCS_FLAGS += -d:STATIC
-PROGRAM_INSTALL_DIR = $(mono_libdir)/mono/2.0
+ifeq (basic, $(PROFILE))
 PROGRAM = $(topdir)/class/lib/basic/mcs.exe
+else
+PROGRAM = $(topdir)/class/lib/build/mcs.exe
+LOCAL_MCS_FLAGS += -lib:$(topdir)/class/lib/build
+endif
+
+LOCAL_MCS_FLAGS += -d:STATIC
+
+PROGRAM_INSTALL_DIR = $(mono_libdir)/mono/4.0
 
 PROGRAM_COMPILE = $(BOOT_COMPILE)
 
index a6bbd77c03297e7dadabb135b540788d773a3b19..14dba76c097bc735a641a486b0ea5bda4d0f4ffb 100644 (file)
@@ -19,7 +19,7 @@ USE_MCS_FLAGS :=
 # mention all targets
 all-local $(STD_TARGETS:=-local):
 
-VALID_PROFILE := $(filter net_2_0 moonlight net_4_0, $(PROFILE))
+VALID_PROFILE := $(filter net_4_0, $(PROFILE))
 ifdef VALID_PROFILE
 # casts
 bootstrap-cast.exe: gen-cast-test.cs
@@ -52,7 +52,7 @@ DEFINES = -compiler-options:"-d:NET_4_0 -sdk:4"
 endif
 
 LOCAL_RUNTIME_FLAGS = --verify-all
-COMPILER = $(topdir)/class/lib/basic/mcs.exe
+COMPILER = $(topdir)/class/lib/$(BUILD_TOOLS_PROFILE)/mcs.exe
 TESTER = MONO_RUNTIME='$(RUNTIME)' $(TEST_RUNTIME) $(RUNTIME_FLAGS) $(LOCAL_RUNTIME_FLAGS) $(topdir)/class/lib/$(PROFILE)/compiler-tester.exe
 
 TEST_ILS := $(wildcard *-lib.il)
index 0d8e482c720f09f2f56d9a0bd956c31c0da80d2e..024f6e2d6864290464daccf587f6b821220d1137 100644 (file)
@@ -2,7 +2,6 @@ thisdir = tools
 
 per_profile_dirs = \
        al              \
-       compiler-tester \
        linker          \
        tuner           \
        csharp          \
@@ -19,6 +18,7 @@ per_profile_dirs = \
 net_4_0_dirs := \
        $(per_profile_dirs) \
        corcompare      \
+       compiler-tester \
        mono-xmltool    \
        mono-shlib-cop  \
        sgen            \
@@ -46,19 +46,13 @@ net_4_0_dirs := \
 net_2_0_dirs := \
        $(per_profile_dirs) \
        monodoc         \
-       mdoc            \
-       compiler-tester
-
-moonlight_dirs := \
-       compiler-tester
+       mdoc
 
-basic_SUBDIRS = gacutil resgen security culevel
+build_SUBDIRS = gacutil resgen security culevel
 net_2_0_SUBDIRS := $(basic_SUBDIRS) $(net_2_0_dirs)
-moonlight_raw_SUBDIRS := $(moonlight_dirs)
-moonlight_SUBDIRS := $(moonlight_dirs)
 net_4_0_SUBDIRS := $(net_4_0_dirs) $(basic_SUBDIRS)
 
-SUBDIRS = $(basic_SUBDIRS) $(net_2_0_SUBDIRS) $(moonlight_SUBDIRS)
+SUBDIRS = $(basic_SUBDIRS) $(net_2_0_SUBDIRS)
 DIST_SUBDIRS = $(SUBDIRS) $(net_4_0_dirs)
 
 include ../build/rules.make
index 3bc39635b44dcde614b5cbf99e0756c5ad17bf87..9a3ed28fa713ca23e63a9215c60ed7a2431d3448 100644 (file)
@@ -22,7 +22,7 @@ PROGRAM_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)
 
 DISTFILES = README TESTS $(SECURITY_SOURCES)
 
-ifeq (basic, $(PROFILE))
+ifeq (build, $(PROFILE))
 all-local: $(topdir)/class/lib/$(PROFILE)/sn.exe
 else
 all-local: $(SECURITY_TARGETS)
index 618bb4599bcefcfe2d032e7a7d3178efedc757cb..1c8969917a6c484e5965c3759a0c3ccfa4f5ba7d 100644 (file)
@@ -148,6 +148,7 @@ EXTRA_DIST =                        \
        mono-find-requires.in   \
        peverify.in                     \
        mcs.in                          \
+       gmcs.in                         \
        dmcs.in                         \
        mono-test-install       \
        mono-heapviz            \
@@ -202,8 +203,8 @@ mcs: mcs.in Makefile
        $(REWRITE_COMMON) $(srcdir)/mcs.in > $@.tmp
        mv -f $@.tmp $@
 
-gmcs: mcs.in Makefile
-       $(REWRITE_COMMON) $(srcdir)/mcs.in > $@.tmp
+gmcs: gmcs.in Makefile
+       $(REWRITE_COMMON) $(srcdir)/gmcs.in > $@.tmp
        mv -f $@.tmp $@
 
 dmcs: dmcs.in Makefile
index 9660c902341a79744f7c6d897f56baab8963a4df..c29558f4f3128544bba68723643fd9a6892fd50d 100644 (file)
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec @bindir@/mono $MONO_OPTIONS @mono_instdir@/2.0/mcs.exe -sdk:4 "$@"
+exec @bindir@/mono $MONO_OPTIONS @mono_instdir@/4.0/mcs.exe -sdk:4 "$@"
diff --git a/scripts/gmcs.in b/scripts/gmcs.in
new file mode 100644 (file)
index 0000000..0afd30d
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec @bindir@/mono $MONO_OPTIONS @mono_instdir@/4.0/mcs.exe -sdk:2 "$@"
index a48c529b90400ae0fdc3811f32615551bf067dd5..0afd30d5d30a35ce9e4973f1fb3f2078300c7760 100644 (file)
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec @bindir@/mono $MONO_OPTIONS @mono_instdir@/2.0/mcs.exe -sdk:2 "$@"
+exec @bindir@/mono $MONO_OPTIONS @mono_instdir@/4.0/mcs.exe -sdk:2 "$@"