This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
su | |
zypper install which git autoconf libtool gettext-tools gcc-c++ make | |
exit | |
git clone https://github.com/mono/mono.git | |
cd mono | |
./autogen.sh --prefix=/usr | |
make get-monolite-latest | |
make | |
su | |
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/configure.ac b/configure.ac | |
index 6d06c92..42648e5 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -368,7 +368,8 @@ AM_CONDITIONAL(PLATFORM_ANDROID, test x$platform_android = xyes) | |
AC_CHECK_TOOL(CC, gcc, gcc) | |
AC_PROG_CC | |
-AC_CHECK_TOOL(CXX, g++, g++) | |
+#AC_CHECK_TOOL(CXX, g++, g++) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Installing Prerequisites | |
sudo apt-get install git cmake clang-3.5 make llvm-3.5 gcc | |
#build.sh is working only on 64 bit Linux! | |
git clone https://github.com/dotnet/coreclr | |
cd coreclr | |
./build.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo apt-get install git mono-mcs mono-gmcs autoconf libtool g++ libglib2.0-cil-dev libgtk2.0-cil-dev libglade2.0-cil-dev libgnome2.0-cil-dev libgconf2.0-cil-dev | |
mkdir mono | |
cd mono | |
git clone https://github.com/mono/mono.git | |
git clone https://github.com/mono/monodevelop.git | |
git clone https://github.com/mono/xsp.git | |
git clone https://github.com/mono/mono-addins.git | |
cd mono |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int x=5; | |
int y=10; | |
int z=x+y; | |
for (int i=0;i<10;i++) | |
x++; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
for (int i=0;i<10;i++) | |
y--; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TestClass() | |
{ | |
public int x { get; set; } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TestClass | |
{ | |
public int X { get; set; } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TestClass | |
{ | |
public int A { get; set; } | |
public string B { get; set; } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
string result; | |
using (MemoryStream ms = new MemoryStream()) | |
{ | |
TextWriter tmp = Console.Out; | |
using (StreamWriter sw = new StreamWriter(ms)) | |
{ |
OlderNewer