From f1ee37214d872eaa3612ca8a9e03e8c2818421eb Mon Sep 17 00:00:00 2001 From: "Richard T. Carback III" <rick.carback@gmail.com> Date: Tue, 25 Apr 2023 20:10:19 +0000 Subject: [PATCH] Add more detail to the README --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6206adb..b780018 100644 --- a/README.md +++ b/README.md @@ -9,15 +9,25 @@ x86_64). It should run on Windows but may need the library name changed. ``` -make -k +make linux-x64 cd xxdk.NET dotnet run --ndf mainnet-ndf.json --state-dir world --wait 20 | grep ^DM ``` +Usually, you will want to make the library only for your +architecture. The options are: + +* windows-x64 +* windows-arm64 +* linux-x64 +* linux-arm64 +* darwin-x64 +* darwin-arm64 + NOTE: you may need to specify a compiler to the make command, especially when cross compiling. Example for compiling to windows: ``` -CC=x86_64-w64-mingw32-gcc make -k +CC=x86_64-w64-mingw32-gcc make windows-x64 cd xxdk.NET dotnet run --ndf mainnet-ndf.json --state-dir world --wait 20 | grep ^DM ``` -- GitLab