set-config.scm 492 B

12345678910111213141516171819
  1. (define compile-mode 'c) ;; s source, c compile, (i is currently buggy)
  2. (define set-config:system-type
  3. ;; (let* ((p (open-input-process (list path: "bin/system-type")))
  4. ;; (out (read-line p)))
  5. ;; (if (zero? (process-status p))
  6. ;; out
  7. ;; (error "subprocess gave error")))
  8. "normal")
  9. (define compile-options
  10. (if (string=? set-config:system-type "RPI")
  11. '(
  12. options: (keep-c))
  13. '(
  14. options: (debug keep-c)
  15. cc-options: "-g")))