[MPlayer-dev-eng] [PATCH] Paths for x86_64
Martin Braun
braun12 at gmx.de
Mon Dec 27 21:48:04 CET 2004
Martin Braun wrote:
> Martin Braun wrote:
>
>> I think there is a problem with the initialization of host_arch
>> (see my previous posting). Fixing that would allow me to remove
>> some confusing checks. I still do not understand why underscores
>> have to be converted to hyphens. Is it safe to remove the
>> conversion ?
>>
> It looks like the conversion can not be removed.
So this is the next try of the patches for x86_64 paths.
This patch has now been split into the following parts:
mplayer-libdir.patch:
Put a setting for libdir into config.mak and use it in
libdha/Makefile. The default value is $(DESTDIR)$_libdir
($_libdir defaults to $_prefix/lib).
mplayer-ffmpeg.patch:
Use libdir setting from config.mak in
libavcodec/libpostproc/Makefile, libavcodec/Makefile and
libavformat/Makefile. This belongs to ffmpeg and is only
included for reference. A complete version including changes
to ffmpeg/configure, ffmpeg/Makefile and ffmpeg/vhook/Makefile
has been posted to ffmpeg-devel.
mplayer-lib64.patch
Use $_prefix/lib64 as default value for libdir on linux x86_64.
mplayer-x86_64check.patch
Rewrite `$_cc -dumpmachine' parsing for x86_64 autodetection. Use
both 'x86_64' and 'x86-64' in CPU detection (I still do not like
that, suggestion are welcome). This is needed to work around
the --target command line handling which translates 'x86_64' to
'x86-64'. A real fix involves messing with host_arch, but I would
like to get some feedback first. Possible solutions are
always translate and use x86-64, always set to x86_64, keep the
workaround, ...
Please test,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-libdir.patch
Type: text/x-patch
Size: 1444 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20041227/b1123546/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-ffmpeg.patch
Type: text/x-patch
Size: 2491 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20041227/b1123546/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-lib64.patch
Type: text/x-patch
Size: 2111 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20041227/b1123546/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-x86_64check.patch
Type: text/x-patch
Size: 1121 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20041227/b1123546/attachment-0003.bin>
More information about the MPlayer-dev-eng
mailing list