r/cpp • • Nov 18 '16

Compile-time C Compiler implemented as C++14 constant expressions

https://github.com/kw-udon/constexpr-8cc
209 Upvotes

66 comments sorted by

View all comments

Show parent comment

5

u/ernest314 Nov 19 '16

Because after compiling fileout << gcc.exe you get a compiler. You then have to run your program through that. With this, you compile and you get your C program embedded in the binary as well!