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

2007-03-23 Thread Sean McBride
On 3/23/07 7:04 AM, [EMAIL PROTECTED] said:

I see. Yet I've not checked 10.4.9, can it run 64bit Intel
Mac executables? I think Mac OS X upto 10.4.8 cannot execute
64bit Intel Mac executables.
In the other word, the case we have to exclude is building
64bit Intel Mac binary ON 10.4.9, not building 64bit Intel
Mac binary FOR 10.4.9 ?

64 bit support is the same for both Intel and PPC.  64 bit support is
the same from 10.4.0 to 10.4.9.  64 bit support is the same wether you
are 'building on' or 'building for'.

On 10.4.x (on either PPC or Intel) you _can_ create 64 bit executables.
But they can _only_ link against System.framework and
Accelerate.framework.  A 64 bit executable cannot link against
Carbon.framework, because Carbon.framework is only 32 bit.  So, freetype
can be built as 64 bit if ftmac.c is excluded.  ftmac.c cannot be built
as 64 bit because it uses Carbon.framework.

On 10.5 this restriction is gone, but other changes will be needed for
10.5, so I don't think we should worry yet.

--

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


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

2007-03-23 Thread mpsuzuki

Dear Sir,

Sean McBride wrote:

On 3/23/07 7:04 AM, [EMAIL PROTECTED] said:



I see. Yet I've not checked 10.4.9, can it run 64bit Intel
Mac executables? I think Mac OS X upto 10.4.8 cannot execute
64bit Intel Mac executables.
In the other word, the case we have to exclude is building
64bit Intel Mac binary ON 10.4.9, not building 64bit Intel
Mac binary FOR 10.4.9 ?



64 bit support is the same for both Intel and PPC.  64 bit support is
the same from 10.4.0 to 10.4.9.  64 bit support is the same wether you
are 'building on' or 'building for'.


Excuse me, please let me alter the phraseology:
Mac OS X 10.4.x on Intel Mac can execute 64bit Intel Mac binary?

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-23 Thread mpsuzuki

Dear Sir,

Sean McBride wrote:

On 3/24/07 12:02 AM, [EMAIL PROTECTED] said:



I see. Yet I've not checked 10.4.9, can it run 64bit Intel
Mac executables? I think Mac OS X upto 10.4.8 cannot execute
64bit Intel Mac executables.
In the other word, the case we have to exclude is building
64bit Intel Mac binary ON 10.4.9, not building 64bit Intel
Mac binary FOR 10.4.9 ?



64 bit support is the same for both Intel and PPC.  64 bit support is
the same from 10.4.0 to 10.4.9.  64 bit support is the same wether you
are 'building on' or 'building for'.


Excuse me, please let me alter the phraseology:
Mac OS X 10.4.x on Intel Mac can execute 64bit Intel Mac binary?



Yes.  (Of course, it must be a 64-bit CPU, not all Intel Macs have 64
bit CPUs.  The Mac Pro is 64 bit, the Mac Mini is 32 bit.)

Maybe this will be helpful: http://www.apple.com/jp/macosx/features/64bit/



Thank you, yet I don't have access to Mac Pro.

64bit-x86 Carbon will be provided in future, and
it is possible that ppc64 Carbon is still missing in future.
Thus, unified conditional __LP64__ for current status may be
disunified in future, aslike

#if defined( __ppc64__ ) || \
  ( defined( __x86_64__ )  MAC_OS_X_VERSION_MIN_REQUIRED  1050 )

I will rewrite the conditional without unification by __LP64__.
Please wait a few days (now I'm in duty-trip without Macintosh).

However, I remember configure checks Carbon framework availability,
so I wish building FreeType2 on 64bit Intel Mac 10.4.x won't cause
such problem. You had problem?

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-23 Thread Sean McBride
On 3/24/07 1:48 AM, [EMAIL PROTECTED] said:

64bit-x86 Carbon will be provided in future

Yes.

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

Thus, unified conditional __LP64__ for current status may be
disunified in future, aslike

#if defined( __ppc64__ ) || \
   ( defined( __x86_64__ )  MAC_OS_X_VERSION_MIN_REQUIRED  1050 )

I will rewrite the conditional without unification by __LP64__.
Please wait a few days (now I'm in duty-trip without Macintosh).

However, I remember configure checks Carbon framework availability,
so I wish building FreeType2 on 64bit Intel Mac 10.4.x won't cause
such problem. You had problem?

VTK does not use freetype's configure system, instead VTK uses CMake.  I
did not try to build freetype as x86_64 on 10.4.

--

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