You just compile it using your normal C++ compiler. Then compress the resulting .exe file using UPX.
How to compile file .cpp to exe with comperssion natively? [closed]
Pregunta
In question: How to compile file .cpp to exe, but with comperssion natively?
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow