[mythtv] [PATCH] MythTV uClibc support

Andrew Mahone andrew.mahone at gmail.com
Sun Mar 6 02:46:22 UTC 2005


Here's the patch I mentioned before, updated to a current CVS, and
with a minor change - the mntent code in mythmediamonitor.cpp is only
used if __UCLIBC__ is defined, otherwise the original fstab code is
used - my understanding is that Mac OS X lacks mntent functions, so
that this is needed to make mythmediamonitor compile on that platform.

The uclibc-hack.h include has a number of nasty bits intended to force
GCC never to substitute certain commonly-used double-precision math
functions with single-precision versions that don't exist in uClibc's
libm.  I've tested all of the flags that GCC claims to enable with
-Os, and none of them will cause this behavior without -Os.  If
anybody is sufficiently wise regarding GCC to know how this
optimization can be disabled, it would help to make things a good deal
less ugly.

The patch was tested with CVS from last night, and compiled and
functions properly on my uClibc-only xbox, and also compiled (without
using_uclibc enabled) on my glibc-only desktop system.
-- 
Andrew Mahone
andrew DOT mahone AT gmail DOT com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythtv-uclibc.patch
Type: application/octet-stream
Size: 24095 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050305/dd7a97a5/mythtv-uclibc-0001.obj


More information about the mythtv-dev mailing list