[FFmpeg-devel] [PATCH v3] ffbuild: read library linker objects from a file

Martin Storsjö martin at martin.st
Mon Mar 17 15:21:01 EET 2025


On Mon, 17 Mar 2025, Gyan Doshi wrote:

> On 2025-03-17 05:29 pm, Zhao Zhili wrote:
>>
>>>> @file doesn’t supported by ar on macOS or BSD.
>>> Do we have any FATE clients on these platforms?
>> I remember there were apple machines, but they are not there now.
>>
>> https://fate.ffmpeg.org/
>
> Can we get a definite list of archiver/linkers which we support that 
> don't support response files?

Wouldn't it be easier to just test within configure whether $AR supports 
response files like this? And then emit a flag to config.mak which allows 
picking which codepath to take here.

Alternatively we could look for specifically targeting the fix to Windows 
- however, it's not enough to look for the target OS - it needs to look at 
the host OS. Crosscompiling for Windows on unix won't need it, and the 
converse, crosscompiling on Windows targeting Linux would also need the 
same fix.

So just checking whether the feature is supported by $AR might be the 
simplest.

// Martin


More information about the ffmpeg-devel mailing list