how did u make it generate native c stub
Opened this issue · 3 comments
Shade4765 commented
hello im learning c# and was wondering how u made it generate native c stub from c# binder
UnamSanctam commented
I used TCC, I extract the TCC compiler and the C code and then run the compiler from inside the binder.
Shade4765 commented
I used TCC, I extract the TCC compiler and the C code and then run the compiler from inside the binder.
how are u even using c in c#
UnamSanctam commented
I have both the TCC (TinyCC) C compiler and the C code as a resource in the C# forms program, then I extract the compiler into a folder and then the C file somewhere as well. Then the builder runs the TCC compiler here :
UnamBinder/UnamBinder/Forms/Builder.cs
Line 208 in b79b6f3