On 2024-06-03 16:19, Antonin Décimo wrote: >> I guess you are not using Automake, because both of these problems >> should be solved automatically by Automake. Automake replaces $CC >> with invocations through a wrapper script that knows how to translate >> -l and -o options into MSVC equivalents (such as -Fo/-Fe). >> >> If you don't want to use Automake I suggest at least using this >> wrapper script in your project. > > I'm not using Automake but I'll consider it. Were you referring to cccl?
No, Automake has a script called "compile" (I don't know if this cccl is related or not) which is automatically installed into packages using Automake if they use AC_PROG_CC to find a C compiler. Cheers, Nick