>
>
> 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?





> step...@ludo:~/src/google/v8/samples$ ./foo
> V8 version 2.2.10
> >
>
> (using the latest trunk, about half an hour old.)
>
> so i'm assuming it's a Mac-specific problem.
>
> --
> ----- stephan beal
> http://wanderinghorse.net/home/stephan/
>
> --
> 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