liutanyu / mcl

Automatically exported from code.google.com/p/mcl
Other
0 stars 0 forks source link

save-application rejects both a fixnum and a list of fixnums as size #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
? (save-application "MCL2" :size `(,(ash 1 26) ,(ash 1 26)))
> Error in process Initial: Invalid :SIZE argument : (67108864 67108864)

? (save-application "MCL2" :size (ash 1 26)
> Error in process Initial: value 67108864 is not of the expected type LIST.

Work-around:

(let* ((handle (#_NewHandle 4)))
  (setf (%hget-unsigned-long handle 0) (ash 1 26))
  (save-application "MCL2" :resources `((,handle "NSIZ" 1))))

Original issue reported on code.google.com by terje.norderhaug on 18 Sep 2009 at 7:37

GoogleCodeExporter commented 8 years ago
The new save-application-size-patch.lisp in the Patches directory of the 
repository fixes the issue.  The work-
around is included in the instructions about how to build a distribution.

Original comment by terje.norderhaug on 5 Oct 2009 at 6:21

GoogleCodeExporter commented 8 years ago
The save-application-size-patch has been integrated in the sources to simplify 
saving the image when building 
the application.

Original comment by terje.norderhaug on 24 Oct 2009 at 1:16