Ododo Ododo - 3 years ago 103
Python Question

Directly read bytes produced by gcc

I have a python program that trigger a compilation through the command 'make' on the system.
I'd like to read directly the program built by gcc in the compilation process without having the binary writed to the disk,
Is that possible ?

thanks !

Answer Source

this should help:

gcc main.c -o /dev/stdout
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download