On Sun, May 4, 2008 at 10:38 AM, Taco Hoekwater wrote:
Thomas A. Schmitz wrote:
1. general architecture specification: CFLAGS -arch ppc (for powerpc) CFLAGS -arch ppc64 (for the new 64bit binaries on powerpc) CFLAGS -arch i386 (for intel) I did not check the ppc64 (not needed) and i386 (not having one) options.
2. more specific architecture specification affecting instruction set and scheduling if one wants to tune the generated code to ones processor: CFLAGS -mcpu=G4 (-mcpu=G5 etc. whichever ones machine has)
It would be most natural, I think, if the -arch switch is added standard through the autoconf scripts. Taco could see to that for metapost and luatex, I trust. Can someone mail this experience to the maintainers of pdftex? (I could not ascertain why pdftex compiles without problems).
I might be missing the point, but I would be glad if -arch would not be set automatically if there is some better solution. Now it's really easy to cross-compile metapost, pdfTeX and LuaTeX for ppc on intel. If configure script would set the -arch unconditionally, then I would probably run into problems. But again - I might be misunderstanding the problem. Mojca