Skip to content

Commit 1f2b9a3

Browse files
committed
Enable exporting of Windows applications on ARM
Steps to compile ld & windres: sudo aptitude install mingw-w64 wget https://ftp.gnu.org/gnu/binutils/binutils-2.30.tar.bz2 cd binutils-2.30 ./configure --target=i686-w64-mingw32 make -j4 -l4 sudo make install
1 parent d8a2fd8 commit 1f2b9a3

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

build/build.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
<property name="jre.download.jdk" value="true" />
4646
<property name="jre.downloader" value="linux-arm32-vfp-hflt.tar.gz" />
4747
<property name="linux.dist" value="linux/processing-${version}-linux-armv6hf.tgz" />
48+
<property name="launch4j.variant" value="linux-armv6hf" />
4849
</target>
4950
<target name="check-linux-arm64" if="linux-arm64">
5051
<property name="jre.download.jdk" value="true" />
@@ -798,11 +799,13 @@
798799

799800
<property name="launch4j.dir"
800801
value="linux/work/modes/java/application/launch4j" />
802+
<!-- this might be already overwritten by check-linux-arm32 -->
803+
<property name="launch4j.variant" value="linux" />
801804

802805
<!-- rename the version we need -->
803-
<move file="${launch4j.dir}/bin/windres-linux"
806+
<move file="${launch4j.dir}/bin/windres-${launch4j.variant}"
804807
tofile="${launch4j.dir}/bin/windres" />
805-
<move file="${launch4j.dir}/bin/ld-linux"
808+
<move file="${launch4j.dir}/bin/ld-${launch4j.variant}"
806809
tofile="${launch4j.dir}/bin/ld" />
807810

808811
<!-- make executable (ant doesn't preserve) -->
5.61 MB
Binary file not shown.
4.81 MB
Binary file not shown.

0 commit comments

Comments
 (0)