[tlbuild] 64 bit on Mac OS X
Peter Breitenlohner
peb at mppmu.mpg.de
Tue May 26 12:33:13 CEST 2009
On Mon, 25 May 2009, Richard Koch wrote:
> Note that builders on other machines are having no trouble with 64 bit
> operation. But it is pretty clear why that is; the "fixed" type is only
> defined on the Mac, and apparently in 64 bit, fixed is the same thing as
> SInt32.
>
> Might you have a fix for this problem?
Hi Dick, Jonathan,
as far as I can see fixed is used only in XeTeXswap.h and sfnt.h. Since that
seems to cause a name conflict, I'd say why not drop the typedef for fixed
and replace it everywhere by le_int32. I would, however, prefer to have
Jonathan's decision on that.
> ------------
>
> The other problem program is xdv2pdf. I suspect that this program is only
> compiled on the Mac, ...
Yes, xdv2pdf requires the Carbon Framework without any non-Mac substitute.
This Mac-only-ness is an aspect of xdv2pdf I rather dislike.
> Compiling xdv2pdf produces a lot of warnings about deprecated cString calls,
Probably on all Mac platforms, not just Mac64. Correct?
> and then the following errors:
>
> ../../../texk/xdv2pdf/xdv2pdf.cpp: In function 'FixedPoint
> getGlyphVOrg(const nativeFont&, UInt16)':
> ../../../texk/xdv2pdf/xdv2pdf.cpp:504: error:
> 'ATSUGlyphGetIdealMetrics' was not declared in this scope
> ../../../texk/xdv2pdf/xdv2pdf.cpp: At global scope:
> ../../../texk/xdv2pdf/xdv2pdf.cpp:623: error: variable or field
> 'readBitmapInfo' declared void
> ../../../texk/xdv2pdf/xdv2pdf.cpp:623: error:
> 'GraphicsImportComponent' was not declared in this scope
> ../../../texk/xdv2pdf/xdv2pdf.cpp:623: error: expected
> primary-expression before '*' token
> ../../../texk/xdv2pdf/xdv2pdf.cpp:623: error: 'bi' was not declared
> in this scope
> In file included from /usr/include/dirent.h:65,
> from
> /Users/koch/texlive2009/Build/source/texk/kpathsea/c-dir.h:30,
> from
> /Users/koch/texlive2009/Build/source/texk/kpathsea/kpathsea.h:7,
> from ../../../texk/xdv2pdf/xdv2pdf.cpp:934:
> /usr/include/sys/dirent.h:89: error: expected declaration before end
> of line
Something has badly gone wrong here. Jonathan ???
> I haven't decided whether to add 64 bit binaries, but even if not, I'm sure
> that some Mac users will get the sources at the svn and try to make 64 bit
> binaries.
If there are fundamental Mac64 problems we could skip building xdv2pdf for
this platform. If at all possible, the TL build should succeed for both
intel64-mac and power64-mac, and if so it would be natural to add the 64 bit
binaries.
Regards
Peter
More information about the tlbuild
mailing list