all repos — min @ 66b64415eef1d3ffa63d7bc9a1c0c12c3b245044

A small but practical concatenative programming language.

Fixed compilation command examples
Fabio Cevasco
Mon, 30 Oct 2017 22:44:23 +0100




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

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

@@ -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]( 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 `|dyn|dll` file. To make min load it and link it automatically when it starts, just run: