mirror of
https://github.com/nineties/planckforth
synced 2024-12-26 21:58:42 +01:00
Treatment of "--gen" option
This commit is contained in:
parent
8c0cc0abf8
commit
fc3290c7a8
1 changed files with 11 additions and 0 deletions
11
bootstrap.fs
11
bootstrap.fs
|
@ -1860,3 +1860,14 @@ variable codegen-target
|
|||
;
|
||||
|
||||
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]
|
||||
|
|
Loading…
Reference in a new issue