XXX COMPILE-SYSTEM is completely wrong; it needs to be eliminated in
favour of a principled way to identify macro dependencies, like in
Scheme48 and Racket.
(lambda (file)
(let ((env (file-environment file))
(deps (file-dependencies file))
- (type (if compile-file:sf-only? "bin" #f)))
+ (type
+ (if (or compile-file:sf-only? compiler:cross-compiling?)
+ "bin"
+ #f)))
(compile-file file deps env)
(load (pathname-new-type file type) env)))
(append-map package/files (pmodel/packages pmodel)))