Ododo Ododo - 9 months ago 55
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 !


this should help:

gcc main.c -o /dev/stdout