Working on windows version
This commit is contained in:
parent
6bd7891db4
commit
54c5b43182
|
|
@ -194,7 +194,7 @@
|
||||||
(apply (cdr (assoc 'command (cdr (assoc scheme data))))
|
(apply (cdr (assoc 'command (cdr (assoc scheme data))))
|
||||||
(list
|
(list
|
||||||
(cond
|
(cond
|
||||||
((symbol=? compilation-target 'windows) "; & @echo off &")
|
((symbol=? compilation-target 'windows) "@echo off &")
|
||||||
(else "exec"))
|
(else "exec"))
|
||||||
(cond
|
(cond
|
||||||
((symbol=? compilation-target 'windows) "\"%~f0\"")
|
((symbol=? compilation-target 'windows) "\"%~f0\"")
|
||||||
|
|
@ -259,7 +259,9 @@
|
||||||
((symbol=? compilation-target 'windows)
|
((symbol=? compilation-target 'windows)
|
||||||
(for-each
|
(for-each
|
||||||
display
|
display
|
||||||
`(,scheme-command ,scheme-program))
|
`(,scheme-command
|
||||||
|
#\newline
|
||||||
|
,scheme-program))
|
||||||
#;(for-each
|
#;(for-each
|
||||||
display
|
display
|
||||||
`(";dir; start /WAIT " ,scheme-command " && exit"
|
`(";dir; start /WAIT " ,scheme-command " && exit"
|
||||||
|
|
|
||||||
|
|
@ -273,9 +273,7 @@
|
||||||
compilation-target)
|
compilation-target)
|
||||||
(apply string-append
|
(apply string-append
|
||||||
`(,exec-cmd
|
`(,exec-cmd
|
||||||
,(if (symbol=? compilation-target 'windows)
|
" gosh "
|
||||||
" gosh.exe "
|
|
||||||
" gosh ")
|
|
||||||
,(util-getenv "COMPILE_R7RS_GAUCHE")
|
,(util-getenv "COMPILE_R7RS_GAUCHE")
|
||||||
" -r7 "
|
" -r7 "
|
||||||
,@(map (lambda (item)
|
,@(map (lambda (item)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue