updated README
This commit is contained in:
parent
9569739605
commit
bd0ed87f70
14
README.md
14
README.md
@ -59,24 +59,28 @@ Usage of ./gocc:
|
||||
By default, `gocc` compiles the module in the current working directory.
|
||||
You can provide a custom module path after all other arguments.
|
||||
|
||||
For example: `gocc -t 4 -ignoreconfig path/to/go/module`
|
||||
Example: `gocc -t 4 -ignoreconfig path/to/go/module`
|
||||
|
||||
#### Choosing Operating systems
|
||||
|
||||
You can decide, for which operating systems `gocc` should compile for via `-os`.
|
||||
Provide the operating systems as a comma-separated list.
|
||||
|
||||
For example: `gocc -os "windows,linux"`
|
||||
Example: `gocc -os "windows,linux"`
|
||||
|
||||
For a list of supported operating systems, run `go tool dist list`
|
||||
For a list of supported operating systems, run `go tool dist list`.
|
||||
|
||||
Providing no `-os` flag will compile for all available systems (without config file)
|
||||
|
||||
#### Choosing architectures
|
||||
|
||||
Analogous to operating systems, you can provide architectures via `-arch`.
|
||||
|
||||
For example: `gocc -arch "amd64,386"`
|
||||
Example: `gocc -arch "amd64,386"`
|
||||
|
||||
For a list of supported architectures, run `go tool dist list`
|
||||
For a list of supported architectures, run `go tool dist list`.
|
||||
|
||||
Providing no `-arch` flag will compile for all available architectures (without config file)
|
||||
|
||||
#### Output path
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user