[FFmpeg-devel] Binary compatibility for MinGW generated dlls
Ramiro Ribeiro Polla
ramiro
Mon May 14 17:16:32 CEST 2007
Michel Bardiaux wrote:
> Zuxy Meng wrote:
>
>> To generate a .lib what you need only is a .def. If the .def doesn't
>> contain ordinals then the .lib can't possibly reference symbols by
>> ordinals....
>>
>>
> I have just checked the VS documentation and you are absolutely correct:
> the ordinals are *NOT* mandated in the .def file. Of course, without
> them we assume the runtime linker on Windows is as fast as on Linux...
>
> So all that is needed is a wee script to remove the ordinals from the DEF.
>
>
Better yet, bug the binutils people to add a flag to dlltool.
The ordinal is inconditionally written (src/binutils/dlltool.c:1651 on
CVS HEAD).
Ramiro Polla
More information about the ffmpeg-devel
mailing list