From 1cd055a80b270a04ea9b64c8cc55ed5911a7dd67 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Wed, 21 Sep 2016 22:50:23 +0200 Subject: [PATCH] describe link requirements for Go applications --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index b6e799cbd..320fd84a0 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,7 @@ you have to use the compiler as follows ``` x86_64-hermit-gccgo -pthread -Wall -o main main.go ``` +For network support, you have to link the Go application with the flag `-lnetgo`. ## Tips @@ -134,4 +135,5 @@ x86_64-hermit-gccgo -pthread -Wall -o main main.go If KVM is started by our proxy, per default the host architecture will be used as target processor. 2. If KVM is started by our proxy and the environment variable `HERMIT_KVM` is set to `0`, the virtual machine will be not accelerated by KVM. In this case, the configuration flag `--with-mtune=name` should be avoided. + With the environment variable `HERMIT_APP_PORT`, an additional port can be open to establish an TCP/IP connection with your application. 3. By setting the environment variable `HERMIT_VERBOSE` to `1`, the proxy prints at termination the kernel log messages onto the screen.