File tree Expand file tree Collapse file tree 4 files changed +6
-9
lines changed Expand file tree Collapse file tree 4 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,8 @@ Prerequisites:
66
77TLTR:
88``` bash
9- apt-get install build-essential gcc-multilib g++-multilib mingw-w64 xz-utils libxml2-dev clang patch git
9+ apt-get install build-essential gcc-multilib g++-multilib mingw-w64 xz-utils libxml2-dev clang patch git gcc-4.8-arm-linux-gnueabihf g++-4.8-arm-linux-gnueabihf
1010# setup osxcross + add binaries to PATH
11- # wget https://releases.linaro.org/15.06/components/toolchain/gcc-linaro/4.9/gcc-linaro-4.9-2015.06.tar.xz
12- # tar xvf gcc-linaro-4.9-2015.06.tar.xz
13- # add ARM binaries to PATH
1411git clone https://github.com/facchinm/listSerialPortsC --recursive
1512./pack_and_release.sh
1613
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ JAVA_INCLUDE_PATH=/opt/jvm/jdk1.8.0/include/
44
55mkdir -p distrib/linux64
66cd libserialport
7- ./autogen.sh
7+ autoconf
88./configure
99make clean
1010make
@@ -16,6 +16,7 @@ cp liblistSerialsj.so distrib/linux64/
1616
1717mkdir -p distrib/linux32
1818cd libserialport
19+ autoconf
1920CFLAGS=-m32 ./configure
2021make clean
2122make
@@ -27,8 +28,7 @@ cp liblistSerialsj.so distrib/linux32
2728
2829mkdir -p distrib/arm
2930cd libserialport
30- ./autogen.sh
31- ./configure
31+ autoconf
3232make clean
3333make
3434cd ..
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ JAVA_INCLUDE_PATH=/opt/jvm/jdk1.8.0/include/
44
55mkdir -p distrib/osx
66cd libserialport
7- ./autogen.sh
7+ autoconf
88CC=o64-clang ./configure --host=x86_64-apple-darwin13
99make clean
1010make
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ JAVA_INCLUDE_PATH=/opt/jvm/jdk1.8.0/include/
44
55mkdir -p distrib/windows
66cd libserialport
7- ./autogen.sh
7+ autoconf
88./configure --host=i686-w64-mingw32
99make clean
1010make
You can’t perform that action at this time.
0 commit comments