[MPlayer-dev-eng] [PATCH] Windows DLL support for OS X/Intel (cleaned version)
Nicolas Plourde
nicolas.plourde at gmail.com
Thu Oct 12 01:18:09 CEST 2006
On 25-Jul-06, at 6:26 PM, Valtteri Vuorikoski wrote:
> This is a somewhat saner version of the previous patch to enable
> DLL support on OS X/Intel. The caveat regarding DYLD_BIND_AT_LAUNCH
> still applies.
>
> A warning is now given if the user attempts to use DLL codecs
> without setting the environment variable. I'll fix the GUI to
> invoke mplayer proper with this variable set soon.
>
> mmap() of anonymous memory has been generalized into two new files,
> osdep/mmap_anon.c and .h. The new function mmap_anon() replaces the
> previous uses of open(/dev/zero)+mmap() in loader/. FILE_dommap()
> has been cleaned somewhat as a result. As far as I can see,
> semantics for existing code are unaffected. FILE_dommap() now
> honors the flags argument. Unfortunately I don't have easy access
> to suitable test machines.
>
> I have left in the change regarding loader_objfix.sh/stubs.s, since
> I think it's a bit silly to have two methods for two platforms to
> achieve the same result. loader_objfix.sh should be removed.
> stubs.s should be renamed to stubs.S and the Makefile changed
> accordingly for maximum canonicality (since stubs.[sS] is now
> preprocessed, though with the current Makefile there's no practical
> difference).
>
> -v
> <osx-windll.patch>
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
Any objection before I commit those patch? One is to fix compilation
on intel osx and the other one add support for win32 dll on intel osx.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loader.diff
Type: application/octet-stream
Size: 12982 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20061011/e7b3d992/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mp3lib.diff
Type: application/octet-stream
Size: 2800 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20061011/e7b3d992/attachment-0001.obj>
-------------- next part --------------
====
Nicolas Plourde <nicolas.plourde at gmail.com>
More information about the MPlayer-dev-eng
mailing list