[mythtv-users] Newbie question re installation of Myth

Iain Waugh iain_pub at swiftdsl.com.au
Wed Jun 30 07:56:47 EDT 2004


Medley, Peter wrote:

> I have followed the instructions for getting mythtv installed from the
> documentation from mythtv.org.
> make[2]: Entering directory `/usr/local/src/mythtv-0.15.1/libs/libmyth'
> g++ -c -pipe -O2 -fmessage-length=0 -Wall -fPIC -Wall -W -O3
> -march=pentiumpro -fomit-frame-pointer -D_REENTRANT -fPIC  -D_GNU_SOURCE
[...snip...]
> I'm running SuSE 9.1 with a Atholon 64 3000+ processor.  I'm pretty new
> to this, and I don't really understand what is going on.  But, it does
> seem like to me I'm passing the wrong parameter to the compiler.  Like
> maybe instead of -march=pentiumpro I should pass some other parameter,
> but I don't know what parameter to pass or how to do it. 

Your compile settings are targetting a Pentium Pro processor, not an 
Athlon 64.

Edit the 'settings.pro' file in the mythtv source directory (appears to 
be '/usr/local/src/mythtv-0.15.1/', but I could be wrong).

Change the part that reads '-march=pentiumpro' to '-march=athlon64'.

I got the flag from the GCC manual page here:
 
http://gcc.gnu.org/onlinedocs/gcc-3.4.0/gcc/i386-and-x86-64-Options.html#i386%20and%20x86-64%20Options

Hope this helps.

I have no idea if it will work on an Athlon 64.  Let us know how you get on.

Cheers,

Iain




More information about the mythtv-users mailing list