Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Quick question concerning mplayer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Dokushin
n00b
n00b


Joined: 16 Aug 2006
Posts: 2

PostPosted: Wed Aug 16, 2006 2:11 am    Post subject: Quick question concerning mplayer Reply with quote

Just another random gentoo newb, lol... had a few rough spots, but so far everything is going great. I do have one question, though.

I've emerged mplayer, and noticed that it claims to be compiled for an "x86" processor. Is this normal when compiled for amd64? I've doublechecked my CFLAGS (march is k8, which should be synonymous with athlon64, right?) and re-emerged, and the same thing is reported. Is this in fact a 64-bit compilation? Wouldn't it be reporting a different target processor? It's not a huge deal, as it works fine, but I'm concerned I may have something set wrong somewhere and built a largely 32-bit system with few of the benefits thereof, lol.
Back to top
View user's profile Send private message
juhah
n00b
n00b


Joined: 03 Oct 2004
Posts: 46

PostPosted: Wed Aug 16, 2006 5:50 am    Post subject: Reply with quote

My MPlayer seems to be ok:
Quote:
MPlayer 1.0pre8-3.4.6 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 47, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Quote:
#file /usr/bin/mplayer
/usr/bin/mplayer: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped

You should have something like this in your make.conf
Quote:
CFLAGS="-march=athlon64 ..."
CHOST="x86_64-pc-linux-gnu"

And yes, gcc man page gives an impression that k8 = opteron = athlon64 = athlon-fx.
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Wed Aug 16, 2006 11:19 am    Post subject: Reply with quote

Output of emerge --info please?
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
Dokushin
n00b
n00b


Joined: 16 Aug 2006
Posts: 2

PostPosted: Wed Aug 16, 2006 4:23 pm    Post subject: Reply with quote

Hey, that 'file' command is really handy, lol. It is, indeed, a 64 bit executable, and thanks for the effort. For future reference, what confused me is:

Quote:
#mplayer
MPlayer 1.0pre8-3.4.6 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3400+ (Family: 15, Model: 12, Stepping: 0)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2


93 audio & 211 video codecs
Usage: mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)
(snip)
...
* * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *


but 'file' reports that it is in fact a 64 bit executable. Good enough for me *grin*. Thanks, all.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum