mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 20:45:06 +02:00
Add new command line options
This commit is contained in:
parent
cc0aefd3f2
commit
ca048d5538
2 changed files with 12 additions and 6 deletions
13
cyclone.scm
13
cyclone.scm
|
@ -421,13 +421,16 @@
|
||||||
((or (member "-h" args)
|
((or (member "-h" args)
|
||||||
(member "--help" args))
|
(member "--help" args))
|
||||||
(display "
|
(display "
|
||||||
-t Show intermediate trace output in generated C files
|
-A directory Append directory to the list of directories that are searched
|
||||||
-d Only generate intermediate C files, do not compile them
|
in order to locate imported libraries.
|
||||||
-h, --help Display usage information
|
-I directory Prepend directory to the list of directories that are searched
|
||||||
-v Display version information
|
in order to locate imported libraries.
|
||||||
-Ox Optimization level, higher means more optimizations will
|
-Ox Optimization level, higher means more optimizations will
|
||||||
be used. Set to 0 to disable optimizations.
|
be used. Set to 0 to disable optimizations.
|
||||||
--autogen Cyclone developer use only, create autogen.out file
|
-d Only generate intermediate C files, do not compile them
|
||||||
|
-t Show intermediate trace output in generated C files
|
||||||
|
-h, --help Display usage information
|
||||||
|
-v Display version information
|
||||||
")
|
")
|
||||||
(newline))
|
(newline))
|
||||||
((member "-v" args)
|
((member "-v" args)
|
||||||
|
|
|
@ -94,8 +94,11 @@ Cyclone will not automatically generate libraries when compiling a program. Each
|
||||||
|
|
||||||
Option | Notes
|
Option | Notes
|
||||||
------ | -----
|
------ | -----
|
||||||
`-t` | Show intermediate trace output in generated C files
|
`-A directory` | Append directory to the list of directories that are searched in order to locate imported libraries.
|
||||||
|
`-I directory` | Prepend directory to the list of directories that are searched in order to locate imported libraries.
|
||||||
|
`-Ox` | Optimization level, higher means more optimizations will be used. Set to 0 to disable optimizations.
|
||||||
`-d` | Only generate intermediate C files, do not compile them. This option will also show the C compiler commands that would have been used to compile the C file.
|
`-d` | Only generate intermediate C files, do not compile them. This option will also show the C compiler commands that would have been used to compile the C file.
|
||||||
|
`-t` | Show intermediate trace output in generated C files
|
||||||
`-h, --help` | Display usage information
|
`-h, --help` | Display usage information
|
||||||
`-v` | Display version information
|
`-v` | Display version information
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue