I do as:

env CFLAGS="-arch i386" ./configure
make

Be careful not to overwrite existing FreeType2 binary
provided by Apple.

Regards,
mpsuzuki


Tom Bishop, Wenlin Institute wrote:
On Oct 25, 2010, at 6:35 PM, Brady Duga wrote:

I think -arch is used even more now (for arm variants). As for building 
freetype for 32 bit on a 64 bit 10.6 machine, just add -m32 to the command 
line. The latest Xcode made 64 the default, but -m32 should still override it.

I'm sorry to be dense, but which command line would that be? Here's how I build 
freetype:

./configure
make
sudo make install

Should I add "-m32" to any or all of those lines?

Thanks!

Tom

--Brady

On Oct 25, 2010, at 6:09 PM, suzuki toshiya <[email protected]> wrote:

Hi,

In the convention of Mac OS X, "-arch i386" or "-arch ppc" were
used to compile 32-bit binaries. These options are added by Apple.
Since Mac OS X 10.6, Apple doesn't support PowerPC systems any longer,
so there is a possibility that Apple removes "-arch" option itself
in future SDK.

If you have any trouble for Mac OS X, please let me know.

Regards,
mpsuzuki

Tom Bishop, Wenlin Institute wrote:
Hi All,
Is there a way to build a 32-bit version of libfreetype on a 64-bit machine (Mac OS 
10.6.4)? I'd like to be able to link it with a program built with the "-m32" 
option for gcc.
Best wishes,
Tom
文林 Wenlin Institute, Inc.        Software for Learning Chinese
E-mail: [email protected]     Web: http://www.wenlin.com
Telephone: 1-877-4-WENLIN (1-877-493-6546)
☯
_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype


文林 Wenlin Institute, Inc.        Software for Learning Chinese
E-mail: [email protected]     Web: http://www.wenlin.com
Telephone: 1-877-4-WENLIN (1-877-493-6546)
☯






_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype


_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to