Treatment of "--gen" option

This commit is contained in:
Koichi Nakamura 2021-01-05 21:53:40 +09:00
parent 8c0cc0abf8
commit fc3290c7a8

View file

@ -1860,3 +1860,14 @@ variable codegen-target
; ;
read-commandline-args read-commandline-args
codegen-target @ s" i386-linux" str= [if]
\ i386-linux dependent codes will be added here
[else]
codegen-target @ s" no-codegen" str= <> [if]
." Unknown codegen target: " codegen-target @ type cr
abort
[then] [then]