Build of extras/scrptrun fails with MSYS/MSVC
I'm using Visual Studio 2019 with MSYS/MSVC and the shell environment provided by Git for Windows and this confiig:
This build fails trying to compile extras/scrptrun with this error:
Copy/pasting note from the PR here:
Just wanted to point out that there are a lot of other Makefile.in files that have this same issue (just search for LINK.cc).
However, this patch was all I needed to get my Windows build to complete so the others, while probably should be cleaned up, apparently don't impact Windows.
Thanks! -- Taking a quick look, it seems like most of ones that directly use -o instead of $(OUTOPT) are in the folders under icu4c/source/test/perf/*. FWIW, I'm not sure if the ICU4C perf tests ever been used/tested/etc. on Windows with Cygwin/MSYS, and they also aren't built as part of the regular CI builds either.
So it seems that while it still be a good idea to clean them up at some point, but I think that could probably be done as a separate ticket.