Browse Source

build_json*.sh scripts for ARM and x86

pull/859/head
Stephen Dickey 2 years ago
parent
commit
f2403a7756
4 changed files with 22 additions and 0 deletions
  1. +5
    -0
      build_json_arm32.sh
  2. +5
    -0
      build_json_arm64.sh
  3. +6
    -0
      build_json_x86-32.sh
  4. +6
    -0
      build_json_x86-64.sh

+ 5
- 0
build_json_arm32.sh View File

@@ -0,0 +1,5 @@
git clean -xfd
# autogen.sh
# ./configure --build x86_64-pc-linux-gnu --host arm-linux-gnueabi LDFLAGS="-static -pthread" --enable-mpers=check
cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_COMPILER=arm-linux-gnueabi-gcc ../json-c
make

+ 5
- 0
build_json_arm64.sh View File

@@ -0,0 +1,5 @@
git clean -xfd
# autogen.sh
# ./configure --build x86_64-pc-linux-gnu --host arm-linux-gnueabi LDFLAGS="-static -pthread" --enable-mpers=check
cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc ../json-c
make

+ 6
- 0
build_json_x86-32.sh View File

@@ -0,0 +1,6 @@
git clean -xfd
autogen.sh
./configure --build x86_64-pc-linux-gnu --host arm-linux-gnueabi LDFLAGS="-static -pthread" --enable-mpers=check

# cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_COMPILER=arm-linux-gnueabi-gcc ../json-c
# make

+ 6
- 0
build_json_x86-64.sh View File

@@ -0,0 +1,6 @@
git clean -xfd
# autogen.sh
# ./configure --build x86_64-pc-linux-gnu --host arm-linux-gnueabi LDFLAGS="-static -pthread" --enable-mpers=check
cmake -DBUILD_SHARED_LIBS=OFF ../json-c
make


Loading…
Cancel
Save