Re: [v8-users] Cross compile for RaspberryPi (arm64)

2016-06-20 Thread Rodolph Perfetta
So I looked around quickly and it looks like Raspberry only officially support 32-bit arm even on the Pi 3. If you need 64-bit there seems to be some 64-bit kernels in the wild and a default linux toolchain may work with it. Cheers, Rodolph. On 20 June 2016 at 12:42:25, Aurélien

Re: [v8-users] Cross compile for RaspberryPi (arm64)

2016-06-20 Thread Aurélien . . . .
Hi Rodolph, Yes it is for a Raspberry Pi 3. The Raspberry official toolchains are arm-bcm2708-linux-gnueabi, arm-bcm2708hardfp-linux-gnueabi, arm-rpi-4.9.3-linux-gnueabihf, gcc-linaro-arm-linux-gnueabihf-raspbian-x64 and gcc-linaro-arm-linux-gnueabihf-raspbian.

Re: [v8-users] Cross compile for RaspberryPi (arm64)

2016-06-20 Thread Rodolph Perfetta
Hi Kin, Unlike Intel the arm64 and arm32 toolchains are two different toolchains. The one you are using is for 32-bit arm only hence only arm32 is defined. The 64-bit version will be named something like gcc-linaro-aarch64-… You are probably aware of it but only the Raspberry Pi 3 can run arm64

Re: [v8-users] Cross compile for RaspberryPi (arm64)

2016-06-20 Thread Jochen Eisinger
I suspect you have to pass -Dclang=0 to gyp_v8 Your compiler should define __ARCH64EL__ if you pass -m64 best jochen On Fri, Jun 17, 2016, 2:10 PM kin wrote: > Hi, > > I'm trying to cross compile the v8 engine. My host is an Ubuntu 14.04 x64, > the target is arm64 and the