[cairo] Cairo cross compile

Maarten Bosmans mkbosmans at gmail.com
Sat Sep 11 04:59:06 PDT 2010


2010/9/11 Giriprasad Deviprasad <g_pr21 at yahoo.in>
>
> Hi,
>
>  Thanks for the quick mail.

It's better if you include the cairo list also in your reply (e.g. use
reply all).

>   I am invoking configure as :
> ./configure --prefix=/opt/asdlab/cairo/  --host=arm -build=i686-linux CC=arm-none-linux-gnueabi-gcc RANLIB=arm-none-linux-gnueabi-ranlib LD=arm-none-linux-gnueabi-ld STRIP=arm-none-linux-gnueabi-strip --enable-ps=no --enable-pdf=no --enable-win32-font=no --enable-win32=no --enable-quartz-font=no --enable-quartz=no --enable-xlib-xrender=no --enable-xlib=no --cache-file=arm-linux.cache
>
> The package config path is :
> export PKG_CONFIG=/opt/asdlab/pixman/lib/pkgconfig/:/opt/asdlab/freetype/lib/pkgconfig/:/opt/asdlab/fontconfig/lib/pkgconfig/:/usr/bin/pkg-config

You should be using PKG_CONFIG_PATH.
To check whether you have set it up correctly, you can call pkg-config
manually. Something like
  pkg-config --libs freetype2
should give meaningful results.

> Since I am compiling on a test machine, I am using a different path for the respective dir tree for the compiled modules. Production system will be as you mentioned.

It's just that it makes your pkg-config search path a bit longer than necessary.

> Regards,
> D.Giriprasad

Maarten


More information about the cairo mailing list