Closed Bug 396200 Opened 17 years ago Closed 17 years ago

XP build system fixes: arbitrary zlib and windows-debug warnings

Categories

(Tamarin Graveyard :: Build Config, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: benjamin, Assigned: benjamin)

Details

Attachments

(1 file, 1 obsolete file)

This patches fixes two independent issues:

1) Allow the build system to include and link against an arbitrary zlib. This will help the Mozilla build to use our in-tree zlib: it will also help builders on windows who download a zlib off the interweb, because there isn't a builtin zlib on Windows.

2) Fixes Windows linkage rules so that you can link against the static CRT or the dynamic CRT, and so that avmshell.exe has the proper suffix. It also disables compiler warning C4291: http://msdn2.microsoft.com/en-us/library/cxdxz3x6(VS.80).aspx This warning only appears in debug builds which have exceptions enabled.
Attachment #280919 - Flags: review?(treilly)
This patch subsumes the first: in addition to the zlib/windows fixes, it fixes a windows dependency-generation error and allows one to optionally build MMGC as a shared library.

I have this as a stack of patches, so I can provide them separate if that would be easier to review.
Attachment #280919 - Attachment is obsolete: true
Attachment #281849 - Flags: review?
Attachment #280919 - Flags: review?(treilly)
Attachment #281849 - Flags: review? → review?(treilly)
Comment on attachment 281849 [details] [diff] [review]
Allow building MMgc as a sharedlib, rev. 2

Looks fine, wish the public API set was smaller, stupid C++ !
Attachment #281849 - Flags: review?(treilly) → review+
Pushed to tamarin-central, changeset 167/08322d1de212
Assignee: nobody → benjamin
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: