Peter N Lewis wrote:
Of course, I can write a patch for gp to add this feature. Any suggestions for the switch to use ?
Could you make -c a toggle switch? So
no -c is compile only for main program, compile and link for program -c is compile only -c -c is compile and link
It's not without president for switches to toggle...?
It's without precedent and against the conventions I know of.
Still, with the current patch --compile-and-link doesn't overrule -c, so
gp ... -c ... --compile-and-link ...
doesn't link. If that's important, I have to rewrite the patch.
The reworked patch solves this problem.
Regards,
Adriaan van Os