Lisp HUG Maillist Archive

setting compiler options

I tend to compile my systems by writing "@make.lisp" files that contain calls 
to compile-file (defsystem seems to be too much bother).

I want to set the compile options to be maximized for debug (esp. since this 
allows the LWW debugger/backtrace to show the most info).

I'm trying to use eval-when at the top of the @make.lisp files to set the 
compiler options, but this seems to have no effect.  Any suggestions?

thanx
pt

example:

(eval-when (:load-toplevel :compile-toplevel :execute)
  (declaim (optimize (debug 3) (safety 3) (speed 0) (space 0)))
  (proclaim '(optimize (debug 3) (safety 3) (speed 0) (space 0))))

(compile-file (current-pathname "util/file.lisp") :load t)


Updated at: 2020-12-10 09:00 UTC