Inside of folder 'netil', have a test folder, inside this folder you can see the C files used to test the back-end, and the generated MSIL code of the C file :)
https://github.com/LADSoft/Simple-MSIL-Compiler/tree/master/netil/tests For example, a C source to generate a x86 MZ-PE file https://github.com/LADSoft/Simple-MSIL-Compiler/blob/master/netil/tests/create_exe_2.c Is compiled to: https://github.com/LADSoft/Simple-MSIL-Compiler/blob/master/netil/tests/create_exe_2.il To build this msil code, it is just necessary to execute the command: ilasm create_exe_2.il The next step in this new back-end is, access the managed dll/exe to get the name/type of classes/method ... after this, will be possible to use managed methods in the C source :) -- View this message in context: http://mono.1490590.n4.nabble.com/C-compiler-targeting-CLR-tp4668533p4668600.html Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - [email protected] http://lists.dot.net/mailman/listinfo/mono-list
