[quake3-bugzilla] [Bug 5084] New: [patch] add support for Debian cross compiling

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Sun Jul 17 01:55:08 EDT 2011


https://bugzilla.icculus.org/show_bug.cgi?id=5084

           Summary: [patch] add support for Debian cross compiling
           Product: ioquake3
           Version: SVN HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Misc
        AssignedTo: zakk at icculus.org
        ReportedBy: q3urt.undead at gmail.com
         QAContact: quake3-bugzilla at icculus.org


Created attachment 2840
  --> https://bugzilla.icculus.org/attachment.cgi?id=2840
Add support for more mingw prefixes (r2086)

The cross compile scripts assume you define CC/WINDRES or it is using the
i586-mingw32msvc or amd64-mingw32msvc prefix.  Debian and possibly others do
not use this convention.  I'm not sure if this is a Debian thing or if upstream
updated it since I don't cross compile very often.  Debian testing/unstable use
i686-w64-mingw32 and x86_64-w64-mingw32, respectively.

While you could force Debian users to set the CC/WINDRES, it seems like a
simple check would be better.  Hence this patch.

I'm able to cross compile using these packages (note these do 32bit and 64bit
cross compiling despite the w64 name):

binutils-mingw-w64  2.21.52.20110606-1
gcc-mingw-w64       4.6.0-11
mingw-w64           1.0+20110523-1
mingw-w64-dev       1.0+20110523-1

-- 
Configure bugmail: https://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list