Bug 5041 - Cross make script for mingw64
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Misc
Version: GIT MASTER
Hardware: PC Linux
: P3 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2011-06-15 11:14 EDT by Zack Middleton
Modified: 2011-06-16 18:51:52 EDT
1 user (show)

See Also:


Attachments
Add mingw64 cross make script, clean up mingw cross make script (891 bytes, patch)
2011-06-15 11:14 EDT, Zack Middleton

Description Zack Middleton 2011-06-15 11:14:48 EDT
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.
Comment 1 Thilo Schulz 2011-06-16 17:50:20 EDT
Any reason why you disable the check for arch? I applied your patch, but with ARCH check
Comment 2 Zack Middleton 2011-06-16 18:20:21 EDT
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
Comment 3 Thilo Schulz 2011-06-16 18:51:52 EDT
well it's done now