mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
doc/link.md: update mruby-config description.
This commit is contained in:
@@ -527,7 +527,9 @@ convenience. `mruby-config` command prints the configuration used for `libmruby.
|
||||
$ mruby-config --help
|
||||
Usage: mruby-config [switches]
|
||||
switches:
|
||||
--cc print compiler name
|
||||
--cflags print flags passed to compiler
|
||||
--ld print linker name
|
||||
--ldflags print flags passed to linker
|
||||
--ldflags-before-libs print flags passed to linker before linked libraries
|
||||
--libs print linked libraries
|
||||
|
||||
+5
-1
@@ -49,7 +49,10 @@ for example:
|
||||
* `-D` to specify mruby configuration macros
|
||||
|
||||
To retrieve compiler options used to build `mruby`, you can use `mruby-config`
|
||||
command.
|
||||
command with following options:
|
||||
|
||||
* `--cc` compiler name
|
||||
* `--cflags` options passed to compiler
|
||||
|
||||
```
|
||||
$ mruby-config --cflags
|
||||
@@ -63,6 +66,7 @@ compatible to mruby configuration.
|
||||
|
||||
To retrieve linker options, you can use `mruby-config` with following options:
|
||||
|
||||
* `--ld` linker name
|
||||
* `--ldflags` options passed to linker
|
||||
* `--ldflags-before-libs` options passed to linker before linked libraries
|
||||
* `--libs` linked libraries
|
||||
|
||||
Reference in New Issue
Block a user