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:
gohai
2018-04-24 14:22:49 -07:00
parent df696cb722
commit e68d8feb75
3 changed files with 5 additions and 2 deletions

View File

@@ -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) -->

Binary file not shown.

Binary file not shown.