If you want to make a library that uses a generated snapshot you just
compile and link with snapshot.cc instead of snapshot-empty.cc. You can see
this in src/SConscript and in the Visual Studio project file
v8_snapshot.vcproj in tools/visual_studio. Linking with snapshot.cc will
trigger the deserialization of the snapshot when
calling v8::V8::Initialize().
Regards,
Søren

On Mon, Nov 10, 2008 at 8:09 AM, Chaehyun <[EMAIL PROTECTED]> wrote:

>
> The question is too long -_-;
>
> What my question is how I can execute the generated snapshot.cc file.
> Can you give me any hint?
>
> Thanks.
>
> On 11월10일, 오후1시20분, Chaehyun <[EMAIL PROTECTED]> wrote:
> > Hi everyone.
> >
> > Thanks for kind aswers about my prior questions.
> >
> > When I make a snapshot file, the mksnapshot.cc makes snapshot.cc
> > source file. I guess this file includes JavaScript source file and
> > compiled machine code. However, I can't find how to use the
> > snapshot.cc file. Is there any proejct or a source file that can give
> > me a hint about using snapshot.cc file?
> >
> > Thanks.
> >
>

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

Reply via email to