Path: utzoo!utgpu!water!watmath!clyde!bellcore!faline!thumper!ulysses!andante!princeton!njin!rutgers!ucsd!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!enea!kth!draken!chalmers!myab!lars From: lars@myab.se (Lars Pensj|) Newsgroups: comp.emacs Subject: Re: Portability problem with gnu-emacs Message-ID: <442@myab.se> Date: 19 Sep 88 12:00:50 GMT References: <441@myab.se> <29698@bbn.COM> Reply-To: lars@myab.UUCP (Lars Pensj|) Organization: Myab Gothenburg, Sweden Lines: 28 In article <29698@bbn.COM> jr@bbn.com (John Robinson) writes: >In article <441@myab.se>, lars@myab (Lars Pensj|) writes an excellent idea: >>... >>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, >>... >>}; >... > Also, signed chars >(they appear in your example) may be a problem. I do not think signed versus unsigned chars will be a problem. If you have a machine with only unsigned chars, a compiled program (temacs) will also only write unsigned numbers on the file 'code.c'. Automatically portable ! I put the negative number on purpose in the example, to trigger a discussion, because I am still not sure about the problem with the sign of characters. --- lars@myab.se -- Lars Pensj| {decvax,philabs}!mcvax!enea!chalmers!myab!lars