From 888973ba700ccc057b0d524d97ea4af51a45b651 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Eduard=20Vintil=C4=83?= Date: Sun, 6 Aug 2023 18:31:41 +0300 Subject: [PATCH] README: Update documentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Eduard Vintilă Reviewed-by: Radu Nichita Reviewed-by: Stefan Jumarea Approved-by: Razvan Deaconescu Tested-by: Unikraft CI GitHub-Closes: #7 --- README.md | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index e00cbad..b51db01 100644 --- a/README.md +++ b/README.md @@ -4,26 +4,23 @@ libgo for Unikraft This is a port of libgo for Unikraft as an external library. You will need the following external libraries to make it work: -+ gcc -+ libgo -+ pthread-embedded -+ lwip + compiler-rt -+ libcxx -+ libcxxabi + libunwind -+ libucontext -+ newlib ++ libgo ++ musl ++ lwip Please note that the listed order is important, in particular -gcc before libgo, e.g.: +compiler-rt before libgo and musl, e.g.: ``` -...$(UK_LIBS)/gcc:$(UK_LIBS)/libgo:$(UK_LIBS)/pthread-embedded... +...$(UK_LIBS)/compiler-rt:$(UK_LIBS)/libunwind:$(UK_LIBS)/libgo:$(UK_LIBS)/musl:$(UK_LIBS)/lwip... ``` -Currently, you need to assign at least 512 MB of RAM to the guest. +Currently, you need to use GCC 12 along with gccgo >= 12. +Only the x86 architecture is supported for the moment. +If using QEMU, the `-cpu host` option must be passed as an argument, because the default CPU cannot handle 1GB pages. Please refer to the `README.md` as well as the documentation in the `doc/` subdirectory of the main unikraft repository. -- 2.39.5