freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] how to build freetype on Mac OSX for SDK10.4 + ppc + i386


From: mpsuzuki
Subject: Re: [ft] how to build freetype on Mac OSX for SDK10.4 + ppc + i386
Date: Mon, 4 Aug 2008 02:18:13 +0900

Hi,

Sorry for lack of documentation about universal binary building
in FreeType2, it's my task.

On Sun, 03 Aug 2008 18:02:57 +0200
>I was able to build the freetype static library but it works only when I 
>use my game projekt with the 10.5 SDK settings and only i386 architecture.
>
>I should build a ppc + i386 version static library of the freetype lib 
>with the 10.4u SDK.
>(I was able to build all of my others library with these settings, I use 
>LuaPlus and PTK graphics engine, etc.)

Please try

env CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" \
    LDFLAGS="-arch i386 -arch ppc" \
        ./configure --prefix=xxx

I recommend you to use freetype-2.3.7 (latest official release) 
or CVS HEAD revision, because 2.3.6 and older have insufficient
support for Mac OS X universal binary development. To use older
release, you should include "-isysroot ..." option to LDFLAGS too.

If you want to use legacy TrueType fonts (like suitcase font
and .dfont) and don't mind to include Carbon framework dependency,
please add "--with-old-mac-fonts" option to configure, aslike

env CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" \
    LDFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" \
        ./configure --prefix=xxx --with-old-mac-fonts

Regards,
mpsuzuki




reply via email to

[Prev in Thread] Current Thread [Next in Thread]