better format in README.md

This commit is contained in:
Ivan Folgueira Bande 2025-09-17 16:24:34 +02:00
parent b03e0dcff4
commit 23d001adb9
No known key found for this signature in database
GPG Key ID: 3C117481F89E24A7

View File

@ -1,11 +1,17 @@
# nim-e2e-reliability
Nim implementation of the e2e reliability protocol
# Building
## Building
## Android
### Windows, Linux or MacOS
Download the latest Android NDK. For example, on Ubuntu Intel:
```code
make libsds
```
### Android
Download the latest Android NDK. For example, on Ubuntu with Intel:
```code
cd ~
@ -24,16 +30,13 @@ export PATH=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH
Then, use one of the following commands, according to the current architecture:
| Architecture | command |
| arm64 | make libsds-android ARCH=arm64 |
| amd64 | make libsds-android ARCH=amd64 |
| x86 | make libsds-android ARCH=x86 |
| ------------ | ------- |
| arm64 | `make libsds-android ARCH=arm64` |
| amd64 | `make libsds-android ARCH=amd64` |
| x86 | `make libsds-android ARCH=x86` |
At the end of the process, the library will be created in build/libsds.so
## Windows, Linux or MacOS
```code
make libsds
```