On Thu, 2008-05-15 at 14:45 -0300, Leonardo Rochael Almeida wrote:
> Hi,
> 
> I'm evaluating Clutter for an Intel XScale board that is intended to
> be used for Set Top Boxes.
> 
> The CE2110 (a.k.a. Olo Canyon) runs linux but has nothing remotely
> resembling standard linux-supported video hardware. It does have a
> graphics accelerator though, and their (proprietary-drivers-ridden)
> SDK and toolchain exposes an EGL interface (besides DirectFB and a
> proprietary one called GDL), including instructions for downloading
> the standard EGL include files from the Khronos group website for
> development.
> 
> Before I just dive in and try to cross-compile Clutter (and
> eventually, the Clutter+Webkit brower mentioned on the clutter blog),
> any tips for cross-compiling it from an x86 box to an armv5te
> (non-eabi) architecture? Any specific caveats for compiling against
> EGL I should be aware of?

>From the documentation this seems to be based on PowerVR MBX. Your
toolchain might well not have enough to get Clutter compiling in terms
of dependencies. If it wasn't for the fact that you're on OABI i'd be
tempted to go grab the toolchain from Poky:

http://pokylinux.org/releases/pinky-3.1/poky-eabi-glibc-i686-arm-toolchain-pinky-sdk-3.1.tar.bz2

Which should have glib etc. Simply extract this over / (it goes
into /usr/local/poky/...)

Then make sure the shared libaries for the GLES/EGL driver (named
something like GLES_CM.so or so) and EGL.h and the GLES/GL.h are in
paths so that the clutter configure will find them (you can figure this
out, check out the contents of configure.ac) 

It's usually just enough to put into
/usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/lib/ for the libs
and
/usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/include/

In general then you should be able to build with e.g.

./configure --host=arm-poky-linux-gnueabi --with-flavour=eglnative

and then make, etc, etc.

This sort of thing has worked for me in the past and i'd hope you'd be
able to do it with your toolchain but you might need to compile things
like pango and glib yourself.

Regards,

Rob
--
OpenedHand Ltd

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to