Status: Assigned
Owner: [email protected]
CC: [email protected],  [email protected]
Labels: Type-Bug Priority-Medium OS-Mac

New issue 706 by [email protected]: GYP/Xcode/Chromium build support for x86_64 v8
http://code.google.com/p/v8/issues/detail?id=706

For my next trick, I’m going to make x86_64 v8 buildable on the Mac via GYP/Xcode in a “comfortable” way. ”Comfortable” means that the architecture selection can be done by the user via Xcode settings (or GYP settings in this case), and multiple architectures may be built
simultaneously for “fat” (universal) output.

On the Mac, the build environment will stop setting any V8_TARGET_ARCH_* macros. In the absence of any V8_TARGET_ARCH_* macro being set externally, v8 will choose a target architecture appropriate for the host, in the same way that it currently detects V8_HOST_ARCH_*. All of the _ia32.cc and _x64.cc will be compiled on the Mac. Each of these will have an #ifdef guard to ensure that the files are only built when compiling for the relevant architecture.

In order to support universal builds, the snapshot-and-compile procedure will need to change to support multiple architectures. I’ll accomplish this in a driver script. This is currently a lower
priority, and may lag behind the other work.

There may also be bugs in v8 on x86_64 on the Mac. I’ll correct these as they come up.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to