3 ms·
The way I read GP, the python script can very well do the equivalent of gcc -DPARAM=42 -o binary-param=42 && ./binary-param-42. edit: oh nm, reread GP...
by mmlb 9y ago
The way I read GP, the python script can very well do the equivalent of gcc -DPARAM=42 -o binary-param=42 && ./binary-param-42.
edit: oh nm, reread GP...
- dpwm 9y agoPretty much, except with more parameters taken from a file. The substituting in of parameters was done in Python just so that I could manually check the output for a few cases. I think if I had to do something similar again today, any script would output a shell script that used command line macro definitions. That didn't really occur to me at the time.