[FFmpeg-devel] [GASPP PATCH 2/2] Use cl for preprocessing when using armasm

Martin Storsjö martin at martin.st
Fri Sep 25 12:51:11 EEST 2020


On Wed, 23 Sep 2020, Martin Storsjö wrote:

> When invoking gas-preprocessor to preprocess only to get the dependency
> list, we still need to use cpp, as cl doesn't support the -M options.
>
> This allows using gas-preprocessor in an environment with only MSVC
> available, no GCC/Clang providing a cpp.exe, allowing building e.g.
> dav1d with MSVC targeting ARM, without any mingw/msys tools involved.
> ---
> gas-preprocessor.pl | 30 ++++++++++++++++++------------
> 1 file changed, 18 insertions(+), 12 deletions(-)

I'll go ahead and push these (this series of two patches, and the other, 
separate, gas-preprocessor patch) tonight if there's no objections; they 
should be pretty uncontroversial, and I've had them in use locally for a 
long time, so they should be pretty safe.

// Martin


More information about the ffmpeg-devel mailing list