cw(1onbld) shouldn't shadow pure preprocessing
When invoking Studio, cw(1onbld) doesn't invoke the compiler when it is being run as a shadow and purely for pre-processing.
For some reason, it does invoke GCC.
More recent GCC does not accept multiple pre-processing source files in combination with the -o option.
We should just not run either compiler when shadowing a preprocessing step.
Updated by Electric Monk about 3 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit aa9ef484c6f8ecee85dfefdb4970c50cfa2db302 Author: John Levon <firstname.lastname@example.org> Date: 2018-10-04T00:34:40.000Z 9128 cw(1onbld) should be able to run multiple shadows 9129 file-locking tests shouldn't build multiple source files in one compiler invocation 9130 DTrace tst.gcc.d isn't useful 9132 cw(1onbld) shouldn't shadow pure preprocessing Portions contributed by: Richard Lowe <email@example.com> Reviewed by: Andy Fiddaman <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>