Isn't adding "-arch ppc -arch i386" be sufficient?
Fere is how I compiled: First correct the symbolic links, Then (the last one is the change suggested by Frank Stengel and reported on the hawaii.edu webpage)
./configure CFLAGS="-O2 -arch ppc -arch i386" LDFLAGS="-arch ppc - arch i386" DEFS="-DHAVE_CONFIG_H -D__unix__"
$ file chktex chktex: Mach-O universal binary with 2 architectures chktex (for architecture ppc): Mach-O executable ppc chktex (for architecture i386): Mach-O executable i386
It seems to work on the (small) LaTeX file I'm working on these days, running on both my MBP and my PPC Mini.
Le 11 oct. 07 à 19:43, Brad Miller a écrit :
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 it will show you lines for both i386 and ppc if it has been compiled to be universal.
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.
Brad
Brad Miller Assistant Professor, Computer Science Luther College
On 10/11/07, Charilaos Skiadas cskiadas@gmail.com wrote: On Oct 11, 2007, at 3:17 AM, Oliver Hagmann wrote:
On 11.10.2007, at 04:07, Brad Miller wrote:
I will add it to my todo list. However, I will need some advice on how to modify the Makefile so that it builds as a universal binary.
Great Brad!
Don't know, but maybe this helps? http://www2.hawaii.edu/~ramonf/ChkTeXonMacOSX/index.html
I just installed it using these instructions on an intel mac. Don't know if that makes it universal or not however. Looks nice, we should integrate it! Probably need to parse its output though, make links etc.
Does it work with projects?
Oliver
Haris Skiadas Department of Mathematics and Computer Science Hanover College
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate