On Tue, Jun 15, 2010 at 11:38 PM, Dan Yamins <[email protected]> wrote:

>
>> step...@ludo:~/src/google/v8/samples$ g++ -fPIC -m64  -I../include
>>  shell.cc -o foo ../libv8_g.a -lpthread
>>
> Aha!  If I compile v8 with the debug mode and get libv8_g, then:
>
>   g++ -fPIC -m64  -Iinclude hello_world.cpp  -o hello_world libv8_g.a
> -lpthread
>
> seems to work.   But using libv8.a does does not.    Is it obvious why this
> should be?
>

Not to me. i only used libv8_g because i only build the lib in debug mode
(because in non-debug mode the various assertions in v8 are very hard to
track down).

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/

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

Reply via email to