1
0
Fork 0

Working on windows version

This commit is contained in:
retropikzel 2025-12-24 13:28:51 +02:00
parent 6bd7891db4
commit 54c5b43182
2 changed files with 5 additions and 5 deletions

View File

@ -194,7 +194,7 @@
(apply (cdr (assoc 'command (cdr (assoc scheme data))))
(list
(cond
((symbol=? compilation-target 'windows) "; & @echo off &")
((symbol=? compilation-target 'windows) "@echo off &")
(else "exec"))
(cond
((symbol=? compilation-target 'windows) "\"%~f0\"")
@ -259,7 +259,9 @@
((symbol=? compilation-target 'windows)
(for-each
display
`(,scheme-command ,scheme-program))
`(,scheme-command
#\newline
,scheme-program))
#;(for-each
display
`(";dir; start /WAIT " ,scheme-command " && exit"

View File

@ -273,9 +273,7 @@
compilation-target)
(apply string-append
`(,exec-cmd
,(if (symbol=? compilation-target 'windows)
" gosh.exe "
" gosh ")
" gosh "
,(util-getenv "COMPILE_R7RS_GAUCHE")
" -r7 "
,@(map (lambda (item)