[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] building freetype 2.3.11 on Mac OS X 10.6
From: |
Rowan Wookey |
Subject: |
Re: [ft-devel] building freetype 2.3.11 on Mac OS X 10.6 |
Date: |
Thu, 26 Nov 2009 15:04:26 +1300 |
I can confirm this works.
I configured as if building for OS X 10.5 as 32 bit, on OS X 10.6 with the
default compiler setting at 64 bit.
Here is the new output in the configure script
checking whether CFLAGS and LDFLAGS share -arch i386... no, copy to LDFLAGS
checking whether CFLAGS and LDFLAGS share -isysroot
/Developer/SDKs/MacOSX10.5.sdk... no, copy to LDFLAGS
A few notes
1) I had to edit autogen.sh to allow autoconf 2.61 and aclocal 1.10 which are
the versions supplied with OS X 10.6
2) The patch looks like it has been word wrapped on line 47 to have " .*//'`"
(without quotes) just move this up to line 46 preserving the space at the
beginning so line 46 should be:
- isysroot_dir=`echo ${CFLAGS} | tr '\t' ' ' | sed 's/^.*-isysroot *//;s/
.*//'`
3)My CFLAGS were set to CFLAGS="-arch i386 -pipe -Os -isysroot
/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5"
4) file libfreetype.6.dylib outputs : "libfreetype.6.dylib: Mach-O dynamically
linked shared library i386" which is correct.
5) I used the latest development version from git.
Regards
Rowan
On 26 Nov 2009, at 13:26, Sean McBride wrote:
> On 11/18/09 7:00 PM, address@hidden said:
>
>> I'm not sure if there is special
>> requirement to use different "-arch XXX" or "-m32/-m64"
>> options between CFLAGS & LDFLAGS.
>>
>> Sean, could you review the patch? Yet I don't have access
>> to Mac OS X 10.6 machines, so I cannot check if this patch
>> solves the problem you reported.
>
> Sorry for the delayed reply.
>
> I don't know anything about autoconf/automake or even shell script, so
> I'm not too sure. :(
>
> But I do know that -m32 and -m64 are not used on OS X. It's really just
> -arch that controls that.
>
> Thanks,
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng address@hidden
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
>
- Re: [ft-devel] building freetype 2.3.11 on Mac OS X 10.6, (continued)
Re: [ft-devel] building freetype 2.3.11 on Mac OS X 10.6, Rowan Wookey, 2009/11/13