mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +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)
|
||||
(member "--help" args))
|
||||
(display "
|
||||
-t Show intermediate trace output in generated C files
|
||||
-d Only generate intermediate C files, do not compile them
|
||||
-h, --help Display usage information
|
||||
-v Display version information
|
||||
-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.
|
||||
--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))
|
||||
((member "-v" args)
|
||||
|
|
|
@ -94,8 +94,11 @@ Cyclone will not automatically generate libraries when compiling a program. Each
|
|||
|
||||
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.
|
||||
`-t` | Show intermediate trace output in generated C files
|
||||
`-h, --help` | Display usage information
|
||||
`-v` | Display version information
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue