Suggestions for compiling C++ at runtime?

Hi all,

I'm trying to design an application that makes software authoring easier, and my initial plan was for the application to convert the user's instructions into C++ and then compile it at runtime.

Does anyone know of any decent, preferably small compilers that my app can interface with at runtime to compile the C++ it generates?

If you have any other suggestions for alternative methods, I'm all ears, but presently I like the idea of being able to communicate with a light-weight compiler through the command line and output logs, and it would save me a lot of work I think.

All the best,

Chris
You could generalize the command line generation and results. Then write handlers for your favorite compiler, gcc for example or whatever you have. Later on, you can support different compilers. This would allow you to use whatever compiler was on the system, as long it was one you supported.
Topic archived. No new replies allowed.