This project is read-only.

Need some help

Jan 13, 2015 at 8:09 AM
i installed the llvm but i cant seem to finde the llc.exe i did add the bin folder to path
Jan 13, 2015 at 10:06 AM
Ok so i managed to get around this problem i now would like to compile a program that references a dll how ?
Jan 14, 2015 at 12:29 PM
Edited Jan 14, 2015 at 12:56 PM
Your need to compile your dll with CoreLib.dll reference.

1) you need to add this line into C# project


2) Add reference to CoreLib.dll

3) generate .ll files

Il2Bc.exe <YourDLL>.dll /corelib:CoreLib.dll
Il2Bc.exe CoreLib.dll

then the same as in helloworld example

PS1: copy all dlls into current working folder

PS2. Keep in mind that CoreLib.dll is very limited subset of mscorlib.dll which means that if you are missing required classes you need to extend CoreLib project your self.

PS3. Do not forget that not all C# .NET features are supported such as Reflection and multi dimensional arrays
Jan 14, 2015 at 1:37 PM
Thx im my project uses regex and linq, but I already figured out its not in the corelib but I'm almost done porting the full .net core then that will all work would be done by tonight. If you want my core lib implementation
Jan 14, 2015 at 3:24 PM
Edited Jan 14, 2015 at 3:25 PM
hi, It would be cool to have whole port of Mscorlib.dll but it is not easy. You will hit some issues. for example when MScorlib uses pointers, they calculate offsets in memory manually and they are not the same as in C# native. and there will be issue with Array if you are using different numbers of interfaces (but it is not big issue, I will fix it)
Jan 14, 2015 at 3:28 PM
Edited Jan 14, 2015 at 3:29 PM
yes, when you finish with porting mscorlib give it to me I will check the crucial parts and will test it. or you can simply run Sscli tests in the project to test it (you can find tests here
Jan 14, 2015 at 5:28 PM
I would love to join the dev team i would add support for visual studio like an plug in that allows you to use the native compiler in place of the normal one ? If i may join ?
Jan 14, 2015 at 8:02 PM
Edited Jan 14, 2015 at 8:09 PM
you are already been added as a developer. you can see yourself on tab people.

BTW my codeplex project Realscript IDE can show you how to write debugger in VS 2010
Jan 15, 2015 at 4:21 AM
Cool, il connect to the tfs this week end and get some work done.
add me to skype: FuseTheCoder
Jan 15, 2015 at 7:54 AM
It seems im not a devloper ?? my name is FuseTheCoder on codeplex
Jan 15, 2015 at 1:13 PM
My apologies.

I have added you.

Jan 21, 2015 at 7:51 AM
I installed LLVM but I can not find llc.exe. Can you explain how to install.
Jan 21, 2015 at 9:57 AM
Edited Jan 21, 2015 at 12:03 PM
valipan2 wrote:
I installed LLVM but I can not find llc.exe. Can you explain how to install.
open this page and read how to build it

or try install version 3.5

But I would recommend just clone git and compile it
git clone
md cmake-build
cd cmake-build
cmake -f .. -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release
cmake -f .. -G "Visual Studio 11"
MSBuild /p:Configuration=Release INSTALL.vcxproj