On Tue, Jun 15, 2010 at 10:35 PM, Dan Yamins <[email protected]> wrote:
> So, is there something inherent in the "getting started" example that is > 32-bit? Do I have to write my app code in a way that is 64-bit aware? > No, you need to compile and link it as 64-bit. Try using the same options which scons uses to build v8. e.g. when i build v8 i see: gcc -o obj/release/dtoa-config.os -c -Werror -Wno-uninitialized -m64 -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -ansi -fPIC -DV8_TARGET_ARCH_X64 -DV8_SHARED -DENABLE_VMSTATE_TRACKING -DENABLE_LOGGING_AND_PROFILING -DENABLE_DEBUGGER_SUPPORT -Isrc src/dtoa-config.c the important bits there, for the sample app, are: -m64 -fPIC 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. -- ----- stephan beal http://wanderinghorse.net/home/stephan/ -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
