Get working ror libnix and clib2

This commit is contained in:
Cameron Armstrong
2023-12-28 07:53:32 +08:00
committed by Cameron Armstrong (Nightfox)
parent 4feebc1cd6
commit f928e7c0fa
3 changed files with 39 additions and 23 deletions

View File

@@ -288,12 +288,14 @@ docker run --rm \
-e USER=$( id -u ) -e GROUP=$( id -g ) \
-it sacredbanana/amiga-compiler:m68k-amigaos bash
cd json-c-build
cmake ..
cmake -DM68K_CRT=newlib ..
make
```
libjson-c.a will get created in the json-c-build directory.
You can change newlib to nix20, nix13 or clib2 if you would like to build the library suited for libnix or clib2 instead. Newlib is default.
To build for PowerPC Amiga:
```