>> The test compiles and runs without warning as is. I think that might >> mean it works correctly?
Hmm. This is really strange. I checked that v8.h includes stdint.h so all types should be defined. Now try executing: g++ -m32 -E include/v8.h | grep uint64_t g++ -m32 -E include/v8.h | grep stdint For example I am getting: ~/src/v8$ g++ -m32 -E include/v8.h | grep uint64_t typedef unsigned long int __uint64_t; typedef unsigned long int uint64_t; ~/src/v8$ g++ -m32 -E include/v8.h | grep stdint # 1 "/usr/include/stdint.h" 1 3 4 # 27 "/usr/include/stdint.h" 3 4 # 28 "/usr/include/stdint.h" 2 3 4 # 29 "/usr/include/stdint.h" 2 3 4 # 37 "/usr/include/stdint.h" 3 4 # 66 "/usr/include/stdint.h" 3 4 # 91 "/usr/include/stdint.h" 3 4 # 104 "/usr/include/stdint.h" 3 4 # 120 "/usr/include/stdint.h" 3 4 # 135 "/usr/include/stdint.h" 3 4 -- Vyacheslav Egorov On Tue, Jul 6, 2010 at 11:42 PM, pikpik <[email protected]> wrote: > Hi, > > On Jul 6, 1:17 pm, Vyacheslav Egorov <[email protected]> wrote: > > Hi, > > > > Strange. > > > > >> From testing, other 64-bit code does work: > > > > Are you building 32-bit or 64-bit version of V8? > > I believe I'm building for 32-bit V8. > > My MINIX' "machine type" is i686 and the processor family is i386, > additionally SCons detects the environment to be "ia32." (I'm a little > confused about the i686/i386, but that might be because I'm running in > a virtual machine on an 64-bit AMD processor.) > > > If you are building 32-bit version of V8 please try > > > > $ gcc -o test test.c -Wall -m32 > > > > to check that gcc on MINIX provides 64-bit integers even when compiling > > 32-bit code. > > The test compiles and runs without warning as is. I think that might > mean it works correctly? > > Thank you, > pikpik > > -- > 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
