diff options
Diffstat (limited to 'doc/guides/link.md')
| -rw-r--r-- | doc/guides/link.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/guides/link.md b/doc/guides/link.md index 1826dde59..4bef8414c 100644 --- a/doc/guides/link.md +++ b/doc/guides/link.md @@ -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 |
