<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Isn't adding "-arch ppc -arch i386" be sufficient?<div><br class="webkit-block-placeholder"></div><div>Fere is how I compiled:<br><div><div>First correct the symbolic links,</div><div>Then (the last one is the change suggested by <span class="Apple-style-span" style="font-family: Arial; ">Frank Stengel and reported on the hawaii.edu webpage)</span></div> <div><br class="webkit-block-placeholder"></div><div>./configure CFLAGS="-O2 -arch ppc -arch i386" LDFLAGS="-arch ppc -arch i386" DEFS="-DHAVE_CONFIG_H -D__unix__"</div><div><br class="webkit-block-placeholder"></div><div>$ file chktex</div><div>chktex: Mach-O universal binary with 2 architectures</div><div>chktex (for architecture ppc): Mach-O executable ppc</div><div>chktex (for architecture i386): Mach-O executable i386</div><div><br class="webkit-block-placeholder"></div><div>It seems to work on the (small) LaTeX file I'm working on these days, running on both my MBP and my PPC Mini.</div><div><br><div><div>Le 11 oct. 07 à 19:43, Brad Miller a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite">These instructions simply show you how to build it the default way, which will just compile it for your architecture. You can test that by running file chktex<br>it will show you lines for both i386 and ppc if it has been compiled to be universal. <br><br>Its doable without a lot of work I think, I was just hoping someone could save me the time of digging through sources to figure out how to build it as a universal binary.<br><br>Brad<br>-- <br>Brad Miller<br>Assistant Professor, Computer Science <br>Luther College <br><br><div><span class="gmail_quote">On 10/11/07, <b class="gmail_sendername">Charilaos Skiadas</b> <<a href="mailto:cskiadas@gmail.com">cskiadas@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> On Oct 11, 2007, at 3:17 AM, Oliver Hagmann wrote:<br><br>><br>> On 11.10.2007, at 04:07, Brad Miller wrote:<br>><br>>> I will add it to my todo list. However, I will need some advice<br>>> on how to modify the Makefile so that it builds as a universal <br>>> binary.<br>><br>> Great Brad!<br>><br>> Don't know, but maybe this helps?<br>> <a href="http://www2.hawaii.edu/~ramonf/ChkTeXonMacOSX/index.html">http://www2.hawaii.edu/~ramonf/ChkTeXonMacOSX/index.html </a><br>><br><br>I just installed it using these instructions on an intel mac. Don't<br>know if that makes it universal or not however. Looks nice, we should<br>integrate it! Probably need to parse its output though, make links etc. <br><br>Does it work with projects?<br><br>> Oliver<br><br>Haris Skiadas<br>Department of Mathematics and Computer Science<br>Hanover College<br><br><br><br><br><br>______________________________________________________________________ <br>For new threads USE THIS: <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>(threading gets destroyed and the universe will collapse if you don't)<br><a href="http://lists.macromates.com/mailman/listinfo/textmate"> http://lists.macromates.com/mailman/listinfo/textmate</a><br></blockquote></div><br><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">______________________________________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">For new threads USE THIS: <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(threading gets destroyed and the universe will collapse if you don't)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate</a></div> </blockquote></div><br></div></div></div></body></html>