Open hashmap-kz opened 6 years ago
I have thought about generating PE for Windows, and I agree it would be cool to support all major platforms. There is even a branch in here for experimental CIL codegen, which might become a reality some day. But I want to focus on creating a good compiler for one platform first, and get the fundamentals right.
@larmel About the CIL generation, check this project: https://github.com/LADSoft/OrangeC I helped David implement the backend to generate CIL instructions
About Windows PE file, check my project: https://github.com/bencz/cc
Hello. Did you planning for future add object format’s for osx and win64 (intel)? With respect for tinycc: he didn’t generate macos executable. Portable c compiler also not supported this platform. But, why not? If we have robust and portable (as is) c compiler, for linux, win, and osx - it is cool, not? Without many hard things, support KISS principles, not yacc and lex, with linker maybe, and with independent libc. This compiler is a really good start point for implement this all.