Closed Bug 208738 Opened 23 years ago Closed 17 years ago

Build mozilla with cygwin native GCC

Categories

(Firefox Build System :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: ts, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030607 Mozilla Firebird/0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030607 Mozilla Firebird/0.6 It would be a good idea if we could build Mozilla directly using The Cygwin native GCC, not using MingW. Reproducible: Always Steps to Reproduce:
Currently being blocked with In file included from c:/MozillaBuild/mozilla/dbm/src/db.c:54: c:/MozillaBuild/mozilla/dbm/include/mcom_db.h:87:23: sys/cdefs.h: No such file or directory
> It would be a good idea if we could build Mozilla directly using The Cygwin > native GCC, not using MingW. You should elaborate on what that means. Do you mean building using cygwin gcc (which used to work) or building against the cygwin runtime environment instead of the default win32 runtime environment? I don't see the point in running against the cygwin runtime environment. IIRC, you cannot access the win32 API from the cygwin environment so you'd have to build an X11 version of mozilla on win32. What's the point?
cls: he means that he should be able to use the included compilers in cygwin, and not have to install mingw.
Assignee: mozbugs-build → dmose
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → ASSIGNED
quick fix, until the actual problem with cygwin not finding the header is resolved: In dbm/include/mcom_db.h on line 87 replace <sys/cdefs.h> with </usr/include/sys/cdefs.h>
dmose: "not have to install mingw"? Would that be the cygwin mingw-addon packages or the standalone mingw packages? Unless this bug is about building against the cygwin runtime, mingw, in one form or another, is required. Hrm, HAVE_SYS_CDEFS_H should never be defined for the msvcrt runtime builds so I guess this *is* about building against the cygwin runtime.
The problem with mingw not finding the header is that mingw doesn't _have_ that header. I'm sort of hoping we solve this (and the related sys/byteorder.h problem) by ripping mcom_db.h out by the roots, but that's just me.
Product: Browser → Seamonkey
Assigning bugs that I'm not actively working on back to nobody; use SearchForThis as a search term if you want to delete all related bugmail at once.
Assignee: dmose → nobody
Status: ASSIGNED → NEW
Product: SeaMonkey → Core
QA Contact: granrosebugs → build-config
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → INCOMPLETE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.