Begin main content

Cvs Emacs on cygwin

I decided it was time to update the emacs in my cygwin installation. Remembering the days it took me last time I hoped that some of the cygwin issues had been ironed out.

Thankfully some of them have. The bootstrapping process now works flawlessly under cygwin (last time I had to bootstrap the lisp files on a solaris box and then transfer the results to windows for the build process).

It also seems substantially faster (although I may have compiled a full debug version for my previous install - can't quite remember).

Unfortunately the memory allocation problem I blogged about at the time is still there. For posterity, here is the work-around patch for version 1.405 of alloc.c:

Index: alloc.c
===================================================================
RCS file: /sources/emacs/emacs/src/alloc.c,v
retrieving revision 1.405
diff -c -r1.405 alloc.c
*** alloc.c     13 Nov 2006 08:20:28 -0000      1.405
--- alloc.c     15 Dec 2006 04:05:41 -0000
***************
*** 5838,5845 ****
--- 5838,5851 ----
      case Lisp_Int:
        break;
  
+         /*
+               This is bogus, but there seem to be corrupt
+               objects placed on the stack under cygwin.
+               I assume this will lead to a phat memory leak!
+ 
      default:
        abort ();
+         */
      }
  
  #undef CHECK_LIVE

11:09 PM, 14 Dec 2006 by Mark Aufflick Permalink | Comments (0)

XML

Blog Categories

software (41)
..cocoa (23)
  ..heads up 'tunes (5)
..ruby (6)
..lisp (4)
..perl (4)
..openacs (1)
mac (21)
embedded (2)
..microprocessor (2)
  ..avr (1)
electronics (3)
design (1)
photography (26)
..black and white (6)
..A day in Sydney (18)
..The Daily Shoot (6)
food (2)
Book Review (2)

Notifications

Icon of envelope Request notifications

Syndication Feed

XML

Recent Comments

  1. Mark Aufflick: Re: the go/Inbox go/Sent buttons
  2. Unregistered Visitor: How do make a button to jump to folder
  3. Unregistered Visitor: Note I've updated the gist
  4. Unregistered Visitor: umbrello is now an available port on macPorts
  5. Unregistered Visitor: Updated version on Github
  6. Unregistered Visitor: Modification request.
  7. Unregistered Visitor: Accents and labels with spaces
  8. Unregistered Visitor: Mel Kaye - additional info
  9. Unregistered Visitor: mmh
  10. Mark Aufflick: Thank you