Re: problem compiling mplayer for athlon
--- Lorincz Andras <andras.lorincz@gmail.com> wrote:
> I've managed to comile mplayer with the following
> command:
>
> DEB_BUILD_OPTIONS="--enable-gui --enable-menu"
> fakeroot debian/rules binary
>
> it works, nothing wrong. Than I thought that it wold
> be better if I
> would compile it in the following manner:
>
> CFLAGS="-march=athlon -mcpu=athlon"
> DEB_BUILD_OPTIONS="--enable-gui
> --enable-menu" fakeroot debian/rules binary
>
>
> Does anybody know what is wrong?
>
I never make a debian package like you are doing
because I never intend to install it.
1.
Recommend you get the latest code from CVS first
always.
2.
if you run ./configure and read the output you will
see
Note: If you alter theses files (for instance CFLAGS)
MPlayer may no longer compile
*** DO NOT REPORT BUGS if you tweak these files ***
just do
./configure --enable-gui --enable-menu
make
you will see it uses the -marc and -mcpu CFLAGS you
were trying to set by default.
example from compile
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include
-fno-PIC -O4 -march=athlon-xp -mcpu=athlon-xp -pipe
...
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Reply to: