On Tue, Sep 6, 2011 at 16:31, mykes <[email protected]> wrote:

> I have been building v8 on my OSX Lion laptop without issue.  I did an
> SVN update yesterday and saw the Makefile and GYP based build system
> is now in trunk.  Congrats on the move forward!
>
> Anyhow, I ran into what I consider serious issues with the GYP build
> system using OSX.  I thought I'd share these here.
>
> 1) There's no documentation on how to use the build/gyp system to
> create Makefile-x64 on OSX.
>

Yeah, it's on my to-do list to write some documentation.


> 2) Using build/gyp created an XCode project only.  So I fired up XCode
> and loaded in the project.  The only options I could see in XCode for
> building V8 are ia32 versions - no X64.


Also known. Our GYP based build doesn't do 64bit builds on Mac. Not sure
when someone will get around to adding such support; the V8 team's
priorities are largely based on what Chromium needs...

We happily accept patches ;-)


>  The project did build, which
> is great.
> 3) I found a WWW page/link to a thread in one of the chromium Google
> groups that had instructions for building chromium from the command
> line under OSX.  I tried those for V8, and it looked like the build
> was proceeding nicely until the end, when it spewed far more
> compilation errors than my console's scrollback buffer handles.  I
> think it was trying to link with ia32 libraries, even though I was
> building using "make x64.release" ...
>

I assume you're talking about GYP_GENERATORS=make. That's precisely what the
V8 documentation would say if it had been written yet. And as I wrote above,
64bit builds are not supported by the GYP build currently.


> SCONS still works, so I was able to build an x64 libv8.a.
>

Yes, SCons will continue to work until we officially deprecate it. Before
that happens, we need to be satisfied with the capabilities of the GYP based
build. Not sure if 64bit builds on Mac count as a blocker for that.

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

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

Reply via email to