[v8-users] Re: Problems compiling on Snow Leopard / gcc 4.2.1

2009-07-16 Thread Ivan Posva
Tom, Can you please try with bleeding_edge revision 2489? This should make sure that the gcc flags and the target architecture are consistent. I do not have a Snow Leopard machine to test on currently, but this change should fix the confusion of gcc building for a 64-bit target when we are genera

[v8-users] Re: Problems compiling on Snow Leopard / gcc 4.2.1

2009-07-16 Thread Tom Robinson
Someone mentioned to me that the bleeding_edge branch as i64 support, so I tried compiling that with the arch=x64 flag, but no such luck. Different error though: [3][0] ~/scratch/v8-bleeding $ scons arch=x64 scons: Reading SConscript files ... scons: done reading SConscript files. scons: Buil

[v8-users] Re: Problems compiling on Snow Leopard / gcc 4.2.1

2009-07-16 Thread Stephan Beal
On Thu, Jul 16, 2009 at 3:23 AM, Tom Robinson wrote: > #define __amd64 1 According to the v8 home page, i32 and ARM are supported, but not i64. Then again, the wording is a bit ambiguous: "...runs on Windows XP and Vista, Mac OS X 10.5 (Leopard), and Linux systems that use IA-32 or ARM proces

[v8-users] Re: Problems compiling on Snow Leopard / gcc 4.2.1

2009-07-15 Thread Tom Robinson
That would make sense. Here's the output: #define __DBL_MIN_EXP__ (-1021) #define __FLT_MIN__ 1.17549435e-38F #define __DEC64_DEN__ 0.001E-383DD #define __CHAR_BIT__ 8 #define __WCHAR_MAX__ 2147483647 #define __DBL_DENORM_MIN__ 4.9406564584124654e-324 #define __FLT_EVAL_METHOD__ 0 #de

[v8-users] Re: Problems compiling on Snow Leopard / gcc 4.2.1

2009-07-15 Thread Ivan Posva
Tom, It looks to me as if the Snow Leopard default gcc compiles with 64 bits instead of 32 bits. I cannot verify that statement as I do not have access to a Snow Leopard machine. Can you please run the following command in a terminal and send me the output: "echo | gcc -E -dM -" Thanks, -Ivan