mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 01:50:44 +01:00
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
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
<property name="jre.download.jdk" value="true" />
|
||||
<property name="jre.downloader" value="linux-arm32-vfp-hflt.tar.gz" />
|
||||
<property name="linux.dist" value="linux/processing-${version}-linux-armv6hf.tgz" />
|
||||
<property name="launch4j.variant" value="linux-armv6hf" />
|
||||
</target>
|
||||
<target name="check-linux-arm64" if="linux-arm64">
|
||||
<property name="jre.download.jdk" value="true" />
|
||||
@@ -798,11 +799,13 @@
|
||||
|
||||
<property name="launch4j.dir"
|
||||
value="linux/work/modes/java/application/launch4j" />
|
||||
<!-- this might be already overwritten by check-linux-arm32 -->
|
||||
<property name="launch4j.variant" value="linux" />
|
||||
|
||||
<!-- rename the version we need -->
|
||||
<move file="${launch4j.dir}/bin/windres-linux"
|
||||
<move file="${launch4j.dir}/bin/windres-${launch4j.variant}"
|
||||
tofile="${launch4j.dir}/bin/windres" />
|
||||
<move file="${launch4j.dir}/bin/ld-linux"
|
||||
<move file="${launch4j.dir}/bin/ld-${launch4j.variant}"
|
||||
tofile="${launch4j.dir}/bin/ld" />
|
||||
|
||||
<!-- make executable (ant doesn't preserve) -->
|
||||
|
||||
BIN
java/application/launch4j/bin/ld-linux-armv6hf
Executable file
BIN
java/application/launch4j/bin/ld-linux-armv6hf
Executable file
Binary file not shown.
BIN
java/application/launch4j/bin/windres-linux-armv6hf
Executable file
BIN
java/application/launch4j/bin/windres-linux-armv6hf
Executable file
Binary file not shown.
Reference in New Issue
Block a user