This seems most effective with current master

git clone --depth 1 git://github.com/v8/v8.git ./v8
cd ./v8 && \
make builddeps && \
make ia32.release i18nsupport=off

And then I link this way
-Wl,--start-group
./v8/out/ia32.release/obj.target/tools/gyp/libv8_base.a
./v8/out/ia32.release/obj.target/tools/gyp/libv8_libbase.a
./v8/out/ia32.release/obj.target/tools/gyp/libv8_snapshot.a
./v8/out/ia32.release/obj.target/tools/gyp/libv8_libplatform.a
myShell.o -Wl,--end-group -lrt -lpthread



On Wed, Oct 1, 2014 at 9:35 PM, Louis Santillan <[email protected]> wrote:
> Try (assuming Linux & 32-bit):
>
>         git clone --depth 1 git://github.com/v8/v8.git ./v8
>         cd ./v8 && \
>         svn export http://gyp.googlecode.com/svn/trunk build/gyp && \
>         svn export
> https://src.chromium.org/chrome/trunk/deps/third_party/icu46/icu.gyp
> && \
>         make ia32.release i18nsupport=off
>
> Replace ia32 with x64 if you're building 64-bit.  Then study shell.cc
> [0] and d8.cc [1].
>
> [0] https://github.com/v8/v8/blob/master/samples/shell.cc
> [1] https://github.com/v8/v8/blob/master/src/d8.cc
>
>
> On Wed, Oct 1, 2014 at 8:30 PM, Max Harris <[email protected]> wrote:
>> What version of v8 do I need to download in order to get the code in the
>> this guide (https://developers.google.com/v8/embed) to work? I don't care
>> about being up-to-date; I just want to get my project off the ground.
>>
>> I have tried versions 3.18.5 and 3.25.30, and neither of those work - there
>> are a lot of API changes, and neither release allows me to successfully
>> compile code from the guide.
>>
>> I have tried to port the code to work with the newer API changes, but I
>> haven't been successful. There is very little documentation or guidance that
>> I can find. What am I doing wrong?
>>
>> Thanks,
>>
>> - Max
>>
>> --
>> --
>> v8-users mailing list
>> [email protected]
>> http://groups.google.com/group/v8-users
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "v8-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to