Re: [ft-devel] Minor misc patches to freetype cvs, from custom changes in vtk

2007-03-26 Thread mpsuzuki

Dear Sirs,

Thank you for correcting my misunderstanding.

On Sat, 24 Mar 2007 16:39:43 +0800
Jjgod Jiang [EMAIL PROTECTED] wrote:

2007/3/23, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 Excuse me, please let me alter the phraseology:
 Mac OS X 10.4.x on Intel Mac can execute 64bit Intel Mac binary?

Yes, I can confirm that, Intel Core 2 Duo (now all upgraded MacBook Pro,
MacBook and iMac using) is 64-bit CPU. Xcode Tools support generating
x86_64 binaries since version 2.4.


On Fri, 23 Mar 2007 15:23:37 -0400
Sean McBride [EMAIL PROTECTED] wrote:

On 3/24/07 1:48 AM, [EMAIL PROTECTED] said:
it is possible that ppc64 Carbon is still missing in future.

No.  Apple has already said that 64 bit Carbon will be for both Intel
and PPC.  See:
http://www.apple.com/macosx/leopard/64bit.html


Just I've updated ftconfig.in and ftconfig.h (for
some building system without running configure) as
following:

#if ( defined( __APPLE__ )  !defined( DARWIN_NO_CARBON ) ) || \
( defined( __MWERKS__ )  defined( macintosh ))
  /* no Carbon frameworks for 64bit 10.4.x */
#include AvailabilityMacros.h
#if defined( __LP64__ )  \
( MAC_OS_X_VERSION_MIN_REQUIRED = MAC_OS_X_VERSION_10_4 )
#define DARWIN_NO_CARBON 1
#else
#define FT_MACINTOSH 1
#endif
#endif

However, I'm not sure whether 10.5.x will set default
MAC_OS_X_VERSION_MIN_REQUIRED to 10.5 (system including
Carbon) or 10.4 (Carbon-free system).


Regards,
mpsuzuki


___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel


Re: [ft-devel] Minor misc patches to freetype cvs, from custom changes in vtk

2007-03-26 Thread Sean McBride
On 3/26/07 4:47 PM, [EMAIL PROTECTED] said:

Just I've updated ftconfig.in and ftconfig.h (for
some building system without running configure) as
following:

#if ( defined( __APPLE__ )  !defined( DARWIN_NO_CARBON ) ) || \
 ( defined( __MWERKS__ )  defined( macintosh ))
   /* no Carbon frameworks for 64bit 10.4.x */
#include AvailabilityMacros.h
#if defined( __LP64__ )  \
 ( MAC_OS_X_VERSION_MIN_REQUIRED = MAC_OS_X_VERSION_10_4 )

MAC_OS_X_VERSION_10_4 is not always defined (for example on 10.2
systems), but it is probably always defined if __LP64__ is defined.
Still, this would be safer:

#if defined( __LP64__ )  \
 ( MAC_OS_X_VERSION_MIN_REQUIRED = 1040 )

or

#if defined( __LP64__ )  \
defined( MAC_OS_X_VERSION_10_4 )  \
(MAC_OS_X_VERSION_MIN_REQUIRED = MAC_OS_X_VERSION_10_4) )

#define DARWIN_NO_CARBON 1
#else
#define FT_MACINTOSH 1
#endif
#endif

However, I'm not sure whether 10.5.x will set default
MAC_OS_X_VERSION_MIN_REQUIRED to 10.5 (system including
Carbon) or 10.4 (Carbon-free system).

Alas, I cannot discuss 10.5.  But I'll just say the above checks look
good to me.

--

Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue-research.com
Mac Software Developer  Montréal, Québec, Canada




___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel