Get working ror libnix and clib2

This commit is contained in:
Cameron Armstrong authored and Cameron Armstrong (Nightfox) committed 2024-12-24 10:09:50 +08:00
1 parent 4feebc1cd6
commit f928e7c0fa
3 files changed
+39 -23

No files matched your search

+3 -1
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:
```