On 2025-01-06 11:01, Antonin Décimo wrote:
Or file a bug report with clang-cl? It seems odd that it'd support other
options with leading minus, but not -l.
The original problem is with cl (MSVC). clang-cl is trying to be a
drop-in replacement

Microsoft documentation <https://learn.microsoft.com/en-us/cpp/build/reference/compiler-command-line-syntax?view=msvc-170> says that options can be preceded either by '/' or '-'. If -l is an exception that's a little odd.

Anyway, I don't see Autoconf working around this syntax incompatibility any time soon. Too many Autoconf users expect -l to work. The wrapper script seems like the best way to go.


Do you think there could be a way to integrate Automake's compile [1]
script into Autoconf to automatically rewrite these calls?

A wrapper script like could be done, I suppose, if someone had the time to do it and could volunteer patches.

Reply via email to