Re: Sun compiler & Solaris x86
H}kan Hjort <[email protected]>
| Newsgroups | gmane.comp.video.ogle.user |
|---|---|
| Message-ID | <[email protected]> |
Wed Dec 17 2003, Jake Goerzen wrote: > > On Tue, 16 Dec 2003, Darrel Hankerson wrote: > > > > If I build it with ./configure --without-libmlib I get this: > > > > This puzzles me. medialib is a SPARC-only enhancement, correct? > > Actually, medialib is available for both SPARC and x86, but I'm not sure > how the x86 version works. On SPARC V9 medialib uses the VIS > instructions. I wonder how medialib works on x86? > > An interesting update: I installed medialib on a Solaris 9 x86 machine, > compiled ogle with gcc 2.95.3 configured w/ --disable-mmx which works but > is slow (<2 frames per sec) and the color conversion is messed up. > Sorry for taking so long to answer. medialib for x86 seems to just be plain C code, not using MMX. So Ogle (should) use MMX whenever it's compiled on x86. The MMX code however uses 'asm' statements which is a GCC extension. That's the reason if fails when you try to compile it using Forte. So your stuck with GCC for now, unless you are willing to put some effort into compiling all the files that use GCC extesions with gcc and then do the rest with Forte. I wouldn't recomend it however. The biggest speen up you can get is to use XFree86 so that the Xvideo extension is available. -- Håkan Hjort