[HarfBuzz] Cross-compiling HarfBuzz for ios

Behdad Esfahbod behdad at behdad.org
Mon Jul 14 13:46:12 PDT 2014


On 14-07-14 04:27 PM, Anita Hui wrote:
> Hi! 

Hi,


> I'm trying to cross compile HarfBuzz for iOS (ARMv7, ARMv7s, i386), and I was
> wondering if I also needed to compile FreeType, Cairo, and GLib for the
> iOS architectures as well. I am working on an osx machine, and what led me to

No.


> the idea that I may need to cross compile the aforementioned libraries is a
> warning that I receive when I try to build:
> 
> 
>     ​ld: warning: ignoring file /opt/local/lib/libfreetype.dylib, file was
> built for x86_64 which is not the architecture being linked (armv7):
> /opt/local/lib/libfreetype.dylib

configure --without-freetype --without-glib --without-cairo

Or better yet, set PKG_CONFIG_LIBDIR correctly.

behdad


> This warning was followed by a bunch of errors regarding undefined symbols for
> the architecture. I get the above warning for libglib.dylib and libintl.dylib
> as well.
> 
> 
> Ultimately my goal is to create static libraries for HarfBuzz and icu-le-hb.
> 
> 
> Thanks!
> 
> 
> Anita Hui
> anita.hui at youilabs.com
> 
> 
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/harfbuzz
> 

-- 
behdad
http://behdad.org/


More information about the HarfBuzz mailing list