I've attached two patches (sorry about that, first time I used git and I got the ChangeLogs wrong after committing :). I've tried to make sure nothing's been introduced that would break pre-10.5 OS X or GNUstep, but I don't have either of those systems to test with. The bulk of the changes deal with deprecated Cocoa methods, LP64 issues (printf specifiers, NSInteger/NSUInteger) and CGFloat being double on 64-bit Cocoa. I've built/tested on 32- and 64-bit OS X 10.6. Erik Charlebois erikcharlebois@gmail.com On 2009-09-07, at 4:26 PM, David Reitter wrote: > Hi Erik, > > On Sep 7, 2009, at 5:08 PM, Erik Charlebois wrote: > >> I've posted the steps/fixes to get a 64-bit NS/Cocoa Emacs 23.1 >> working for Snow Leopard on my blog at http://blog.fac9.com/index.php/2009/08/30/building-a-64-bit-emacs-on-snow-leopard/ >> . I've been using it for a week without problems. > > Thanks, that's great news. > > Regarding your point 5: I did not redefine CGFloat when I tried to > address these things; I'm not sure if it is necessary. You might be > right. > See this file > > http://github.com/davidswelt/aquamacs-emacs/blob/874784331f6e1bcfe319823616067bcf2432c29a/src/nsgui.h > > Would you be willing to post a patch with all of your changes? > > Thanks again > - David >