On Tue, Dec 04, 2007 at 02:12:38PM -0800, Rick Mann wrote: > binutils-2.17 is fine. So, I downloaded that and tried again, and got > MUCH farther, but still ran into some errors: > > gcc -g -O2 -c -o flat_bl.o ../../combined/gprof/flat_bl.m > ../../combined/gprof/flat_bl.m:2: error: syntax error before ‘%’ token > make[4]: *** [flat_bl.o] Error 1 > make[3]: *** [all-recursive] Error 1 > make[2]: *** [all] Error 2 > make[1]: *** [all-gprof] Error 2 > make: *** [all] Error 2 > > I'm not sure what a .m file is. For Mac OS X, .m is an Objective-C > file. However, this file does not look like Objective-C to me. Not > sure what it's supposed to be. There is a .c file with the same name > in the same dir. > > My tools' versions (Mac OS X's Xcode 3.0): Hmm, notice that gprof/Makefile.am says: ---- # This empty rule is a hack against gmake patched by Apple. %.o:%.m .m.c: awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \ FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \ FILE=$*.m $(srcdir)/$*.m ---- It looks like the hack doesn't work. If you don't need gprof, deleting combined/gprof is probably the easiest way around that problem. -- Rask Ingemann Lambertsen Danish law requires addresses in e-mail to be logged and stored for a year