cross compiling (targeting) mingw32 on linux

VERIFIED FIXED

Status

VERIFIED FIXED
13 years ago
a year ago

People

(Reporter: basic, Assigned: basic)

Tracking

({verified1.8.1.5})

Trunk
x86
Linux
verified1.8.1.5

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Assignee)

Description

13 years ago
here's my attempt at getting cross compiling moz targeting mingw32 on linux. Will post my patches here.
(Assignee)

Comment 2

13 years ago

Comment 3

13 years ago
Comment on attachment 206176 [details] [diff] [review]
force use of wchar_t on mingw32 when cross compiling

You'll need to add -fshort-wchar to CXXFLAGS as well as set the define.

There are some syntax issues that should be cleaned up:
* Put quotes around $target_os
* End that section of the case statement with ;;

FWIW, I've always just added "-fshort-wchar --DHAVE_CPP_2BYTE_WCHAR_T=1" to CXXFLAGS in my .mozconfig-x-mingw and the tree built without a problem.  I'm not sure if we really need to maintain this special case.
Attachment #206176 - Flags: review-

Updated

13 years ago
Attachment #206177 - Flags: review+
This looks like it was fixed on trunk 2006-02-18 23:43...
Status: NEW → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → FIXED

Comment 5

13 years ago
FYI, only the filenames patch was checked in.  No consensus was ever reached about the configure.in changes.
Ah, then perhaps we should reopen this?
Probably need this on branch too, since bug 279521 landed there....
Blocks: 279521
Flags: blocking1.8.1?
This isn't really a blocker, but the lowercase filenames patch looks pretty low risk, so we'd be likely to approve it.
Flags: blocking1.8.1?
Whiteboard: [checkin needed (1.8 branch)]
Assignee: nobody → basic

Updated

12 years ago
Attachment #206177 - Flags: approval1.8.1.5?
Comment on attachment 206177 [details] [diff] [review]
use lowercase filenames

approved for 1.8.1.5, a=dveditz for release-drivers
Attachment #206177 - Flags: approval1.8.1.5? → approval1.8.1.5+
toolkit/library/Makefile.in 1.16.2.9
(the xpcom/base/nsUUIDGenerator.cpp hunk landed before it was backported to 1.8)
Keywords: fixed1.8.1.5
Whiteboard: [checkin needed (1.8 branch)]

Comment 11

12 years ago
v.fixed on 1.8 branch and trunk by code inspection.
Status: RESOLVED → VERIFIED
Keywords: fixed1.8.1.5 → verified1.8.1.5

Updated

a year ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.