[syslinux] Compile syslinux64.exe on ubuntu

Tomas M tomas at slax.org
Tue Aug 28 03:51:40 PDT 2012


Hello,
I wanted to recompile syslinux64.exe (windows 64bit binary) on ubuntu.
The default ./find-mingw64.sh script failed to locate mingw64 on
ubuntu, even after

   root at htpc:~# apt-get install gcc-mingw-w64

So I had to patch the script to let it find mingw64 on ubuntu as well.
Patch is below, please apply to syslinux sources:


--- syslinux-4.05/win64/find-mingw64.sh.orig 2012-08-28 12:49:17.023627307 +0200
+++ syslinux-4.05/win64/find-mingw64.sh 2012-08-28 12:49:04.167627212 +0200
@@ -20,6 +20,7 @@
     amd64-mingw64msvc- \
     amd64-mingw32- \
     amd64-mingw32msvc- \
+    x86_64-w64-mingw32- \
     ; do
     if "${prefix}${cc}" -v > /dev/null 2>&1; then
     echo "$prefix"


Thanks

Tomas M
slax.org



More information about the Syslinux mailing list