> the important bits there, for the sample app, are:
>
> -m64 -fPIC
>
yeah -- that makes sense. But compiling
g++ -fPIC -m64 -Iinclude hello_world.cpp -o hello_world libv8.a
-lpthread
has the exact same problem. I tried a few other combinations of things
using the build options shown by scons ... but all failed the same way.
> To be clear: i'm completely guessing here based on limited experience with
> 64-bit platforms (i just got one two weeks ago), but i'm fairly certain that
> the problem you're seeing is just one of passing the correct options when
> compiling the sample.
>
Hm, wha you're saying sounds logical, but given the failure of the obvious
(including the -m64 flag etc), how would I even go about figuring out what
to do right? When people compile 64-bit v8 apps, what is the usual set of
flags they use?
Also, doesn't the error:
ld warning: in libv8.a, file is not of required architecture
suggests that something was not _compiled_ right to start with?
>
> --
> ----- 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