Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!amdcad!ames!mailrus!cornell!rochester!bbn!jr@bbn.com From: jr@bbn.com (John Robinson) Newsgroups: comp.emacs Subject: Re: Portability problem with gnu-emacs Message-ID: <29698@bbn.COM> Date: 15 Sep 88 15:55:20 GMT References: <441@myab.se> Sender: news@bbn.COM Reply-To: jr@bbn.com (John Robinson) Organization: BBN Systems and Technologies Corporation, Cambridge MA Lines: 19 In-reply-to: lars@myab.se (Lars Pensj|) In article <441@myab.se>, lars@myab (Lars Pensj|) writes an excellent idea: >This proposal has probably been mentioned before, but I have not seen it. >... >Let temacs write the compiled lisp code into a file 'code.c' in the following >format: > >char lisp_code[] = { >23, 45, 76, 93, -34, 45, >... >}; >... etc. >Some compilers even have a flag to put data in text area, which is >just what is wanted now. But the problem may be that not all compilers support this. Of course if GCC does, we should all adopt it instantly! Also, signed chars (they appear in your example) may be a problem. But I merely quibble; it's a great idea. Needs elisp symbol-table hooking but not much more. --