Closed Bug 362264 Opened 18 years ago Closed 18 years ago

Cross-platform Tamarin build system

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: benjamin, Assigned: benjamin)

Details

Attachments

(1 file)

We'd like to move away from the project files for MSVC/XCode (and linux makefiles) to a common build system. This is very first-draft and needs lots of work before it is ready, but I'd like to go ahead and land the first-cut files now. They build mmgc, avmplus, and the avm shell on mac-intel. The next steps include:

* a "cross" compile to mac-ppc
* universal binaries
* windows MSVC support
* linux support (I'm going to wait until the Linux code from Adobe lands before working on this)
This build system has the following requirements:

python 2.3+ (installed on mac by default)
GNU make 3.81+ (must be installed on mac! use darwinports "port install gmake")
Assignee: nobody → benjamin
Status: NEW → ASSIGNED
Attachment #246965 - Flags: review?(stejohns)
Comment on attachment 246965 [details] [diff] [review]
First-cut build system, rev. 1

Looks like a nice start, but mostly rubber-stamped approval for now. We should circle back later to ensure all compiler settings are suitable (or configurable); Tamarin currently builds with a very aggressive set of warnings and we'd like to keep it that way :-)
Attachment #246965 - Flags: review?(stejohns) → review+
I'm using -Wall and disabling the following, so I think I reproduced what you wanted:

-Wno-reorder -Wno-switch -Wno-invalid-offsetof

We should probably fix the -Wno-reorder issues, but I was going to do that in a separate patch.
There is already another bug for "enable more warnings in Tamarin" (360829), which I am working on as snippets of time permit.
Fixed on trunk. I'll file followup bugs about adding MSVC support and the other bits.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Transfer Bug from Core->Tamarin to Tamarin Product.
Component: Tamarin → Virtual Machine
Product: Core → Tamarin
Version: Trunk → unspecified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: