Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MCC should be able to directly output the executable. #17

Closed
massix opened this issue Dec 7, 2014 · 2 comments
Closed

MCC should be able to directly output the executable. #17

massix opened this issue Dec 7, 2014 · 2 comments

Comments

@massix
Copy link

massix commented Dec 7, 2014

Hello,
just an idea here, we could exploit the libclang APIs in order to directly compile the generated C++ code into an executable. This will allow the future developers to write more sophisticated code using only mcc, thus letting MCC to break into the world of real production-ready compilers.
I can only imagine the future of the CS universities, teaching Monicelli instead of that shitty Java.

We might probably add an option to mcc (-c?) to avoid the compilation and generate only the intermediary code.

The drawback is that we might probably have to migrate the compilation of mcc to clang++ as I'm not 100% sure the ABIs are compatible.

@esseks
Copy link
Owner

esseks commented Mar 4, 2015

Just chiming in to say that a llvm frontend is on the way and should be expected shortly, together with a major overhauling of the codebase!

@esseks
Copy link
Owner

esseks commented Mar 10, 2015

The LLVM frontend has finally arrived. Closing this :)

@esseks esseks closed this as completed Mar 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants