[FFmpeg-devel] [PATCH] Re-add OS/2 support

Dave Yeo daveryeo
Sun Sep 9 19:48:38 CEST 2007


Diego Biurrun wrote:
...
> 
> Patch in its current form is rejected.
> 
Lets try a different approach. Attached is the patch that I've been using.
Pros
Hopefully removed all redundant stuff
Creates shared libs in a form that OS/2 can load. OS/2 has an 8.3 
limitation to DLL names and the kernel has no knowledge of symlinks. 
Versioning is somewhat of a problem. DLLs with long name are also 
installed and can be copied to the short name to work and I think 
Mozilla has taught the user base about using the correct DLL.
As long as the SDL dlls are fairly new we no longer need the MorphToPM 
stuff. Also need fairly new SDL and fslib for fullscreen to work.
Cons
--disable-static does not work
DLLs are created stripped, can add -nolxlite flag to dllar.cmd to 
disable stripping.
Need to introduce another variable ($LN_S) into the build system.
Have to use the -Zbin-files hack to force binary mode. (Should really be 
a configure test for needing binary mode). The -Zargs-wild hack should 
allow use of wildcards.
make test creates files in $TMP then can fail as it egreps /tmp
Only tested on my build system. Perhaps KO Myung-Hun can also test.
Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.diff
Type: text/x-patch
Size: 3175 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070909/a9fabb7d/attachment.bin>



More information about the ffmpeg-devel mailing list