Created attachment 2782[details]
Add mingw64 cross make script, clean up mingw cross make script
Patch adds a script for cross make using mingw64. It works on Ubuntu 10.10 I don't know if all distributions use the same binary names.
Patches removed unneeded/non-working code from cross-make-mingw.sh.
Running "cross-make-mingw.sh ARCH=what" passes "ARCH=what" to make which sets ARCH to "what". ARCH override still works after removing check if ARCH is set.
The only loss is allowing "export ARCH=what" before calling the script afaik.
Background; The check was added because I did not know sh does not set vars like make does (from the command line) and because of I did not know ARCH would get passed to make and set correctly from command line.
https://bugzilla.icculus.org/show_bug.cgi?id=4780
Created attachment 2782 [details] Add mingw64 cross make script, clean up mingw cross make script Patch adds a script for cross make using mingw64. It works on Ubuntu 10.10 I don't know if all distributions use the same binary names. Patches removed unneeded/non-working code from cross-make-mingw.sh.