[MPlayer-users] Trying to compile for different CPU.

Henry Garcia defsyn at gmail.com
Mon Jun 2 23:43:16 CEST 2008


>
>
> What about cmov?
>

That's a pentium pro feature. Shouldn't be a problem on an mmx machine. I
wouldn't think.

>
>
> > It should show the default settings that configure will use. I only use
> > --enable-xxx , if a default setting
> > is set to off.
>
> Remember that I'm cross-compiling so, autodetection is not very usefull
> here, is it? fbdev is not configured by default.
>

Cross-compiling? Shouldn't have to cross compile. Your using the x86
architecture I would hope on both
machines. Just disable all the optimization stuff that doesn't apply to your
target CPU.

>
> >
> >>
> >> --target=pentium --enable-mmx (Is this how I have to ask for a pentium
> >> build?)
> >
>

Don't really know for sure. But that line seems contradictory. The original
pentium machine does not have mmx. So I doubt you could enable mmx on a
classic pentium. Which might be what you are asking your compiler to do.
Can't be done. Bear in mind that the mplayer configure script is not a
regular auto configure script. Enabling
a feature will enable that feature whether or not it is a logical request.

>
> >
> > You probably could leave the above out, also. After you disable all the
> > above CPU settings, the only thing
> > left is mmx. That should be left in automatically by the configure
> script.
>
> AFAIK, i686 optimization is not only about extensions. A 686 optimized
> code can run slower in a 586 architecture.
>
> >
> >
> >>
> >> --disable-dvdnav --disable-dvdread (I had several problems with those
> >> 3...
> >
> >
> > --disable-dvdnav
> >
> > I wouldn't use --disable-dvdread. You need it. Internal dvdread should be
> > detected.
> > I don't know why you want to disable dvdread unless you don't want to use
> > DVD's.
> > Having it enabled, shouldn't pose a problem.
> >
> >
> >> --disable-dvdread-internal         ...although I edited netinet/in.h
> >> file
> >
> >
> > When you start editing header files, you're asking for problems.
> >
>
> This issue is treated here.
> http://www.mjmwired.net/linux/2008/05/11/mplayer-compile-on-redhat-80/
> It is the only way I know to get mplayer to be compiled in my redhat 9 :(
>
> Anyway I don't need DVD read. Just to read video files through NFS.
>
> >>
> >> --disable-vstream                  ...to avoid them (see 1))
> >>
> >> --enable-static (my distro lacked a lot of libs)
> >> --disable-xv --diable-gl     (but all those libs had problems with...
> >> --disable-fontconfig --disable-sdl  ...static linking)
> >>
> >
> > I would leave all the above out of  the configure statement and just
> leave
> > --enable static
>
> If that's what you have to do. You have to do it. Probably because those
sections don't have static libraries?

>
> but as I said in the comments. Those libs (xv,gl,fontconfig,sdl) report
> undefined references when I use --enable-static
>
> >
> >>
> >> --disable-sse --disable-cmov (I don't understand why do I need this as I
> >> claimed for a pentium build, but they was still marked on config.mak)
> >>
> >
> > I would leave those two out, also
>
> You just sugested me at least --disable-sse on your first comment :)


Yeah, your list of  configure  options grows quite long and since I'm  aging
as I'm reading
your list of options, Alzheimer's disease is probably setting in. :-)

>
>
> >
> >>
> >>
> >> Finally it compiled but crashed
> >
> >
> > I wouldn't doubt that. Again, I wouldn't mess with header files. Stick to
> > the
> > options on the configure script, unless you really know what you're
> doing.
> >
>
> Thanks for your comments. I'll try those combinations later. Now, I have
> installed an standalone redhat in the target machine and I'm trying to
> compile from there. The problem it that each re-build in this machine
> takes about one day or so. I'm now trying there with RC1 and
> --enable-static and --enable-vesa (as the script did not detected it).
>

Oh, my soul. RedHat. I'd go with Debian Stable.



>
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>



More information about the MPlayer-users mailing list