<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr">
<div id="OWAFontStyleDivID" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<style type="text/css" style="">
<!--
p
        {margin-top:0px;
        margin-bottom:0px}
-->
</style>
<div id="OWAFontStyleDivID" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<style type="text/css" style="">
<!--
p
        {margin-top:0px;
        margin-bottom:0px}
-->
</style>
<div id="OWAFontStyleDivID" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi! </p>
<p><br>
</p>
<p>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 the idea that I may need to
 cross compile the aforementioned libraries is a warning that I receive when I try to build:<br>
</p>
<p><br>
</p>
<p class="p1">    ​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<br>
</p>
<p class="p1"><br>
</p>
<p class="p1">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.<br>
</p>
<p><br>
Ultimately my goal is to create static libraries for HarfBuzz and icu-le-hb.<br>
</p>
<div>
<p><br>
</p>
<p>Thanks!<br>
</p>
<p><br>
</p>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
Anita Hui
<div>
<div><font size="2">anita.hui@youilabs.com</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>