all repos — min @ 4b7229a9e3986c97dfebc4425443e6603200664c

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

4b7229a9e3986c97dfebc4425443e6603200664c

parent

3a0530559016543a1dbd3ea531d0127b267fa195

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: