all repos — min @ 66b64415eef1d3ffa63d7bc9a1c0c12c3b245044

A small but practical concatenative programming language.

Fixed compilation command examples
Fabio Cevasco h3rald@h3rald.com
Mon, 30 Oct 2017 22:44:23 +0100
commit

66b64415eef1d3ffa63d7bc9a1c0c12c3b245044

parent

b2d4cb85ffdf1d1119fc4293f097750aaeab0d25

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M site/contents/_includes/_learn-extending.mdsite/contents/_includes/_learn-extending.md

@@ -130,12 +130,12 @@

You can compile the following library by running the following command: > %min-terminal% -> [$](class:prompt) nim c --app:lib -d:release --noMain dyntest.nim +> [$](class:prompt) nim c \-\-app:lib -d:release \-\-noMain dyntest.nim If you are using [clang](https://clang.llvm.org/) to compile Nim code, you may need to run the following command instead: > %min-terminal% -> [$](class:prompt) nim c --app:lib -d:release --noMain -l:"-undefined dynamic\_lookup" dyntest.nim +> [$](class:prompt) nim c \-\-app:lib -d:release \-\-noMain -l:\"-undefined dynamic\_lookup\" dyntest.nim Now you should have a `libdyntest.so|dyn|dll` file. To make min load it and link it automatically when it starts, just run: