I believe it is because somewhere in the build process, mksnapshot is run.
 However, mksnapshot is compiled for arm and not $HOST.

See (http://n8.io/cross-compiling-nodejs-v0.8/).

-L


On Fri, Jan 11, 2013 at 1:16 AM, Jakob Kummerow <[email protected]>wrote:

> On Fri, Jan 11, 2013 at 1:59 AM, Louis Santillan <[email protected]>wrote:
>
>> How does that affect building on arm (pi, beagle, panda) and/or cross
>> compilation?
>
>
> Everything just works. See
> https://code.google.com/p/v8/wiki/BuildingWithGYP#Cross-compiling .
>
>
>>  Cross compiling for pi on x86 requires building with snapshots off.
>
>
> Why?
>
> It's easy to turn off building with snapshot if required: "make
> arm.release snapshot=off". I see no reason to do that for cross-compile
> builds, however.
>
>
>> There are over 500k pi sold already and node.js and v8 are popular
>> applications run on it.
>>
>> -L
>>
>>
>> On Thursday, January 10, 2013, Jakob Kummerow wrote:
>>
>>>  Yes, building with snapshot=on is the default.
>>>
>>> Disregard the SConstruct file. It is no longer used and about to be
>>> deleted. The SCons based build has been dead for a while now.
>>>
>>>
>>> On Thu, Jan 10, 2013 at 9:11 PM, utkonos <[email protected]> wrote:
>>>
>>>> It seems from the instructions that snapshot=on is the default for
>>>> building v8, and you need to specify snapshot=off now.  However, I see the
>>>> following lines in SConstruct:
>>>>
>>>> 'snapshot': {
>>>> 'values': ['on', 'off', 'nobuild'],
>>>> 'default': 'off',
>>>> 'help': 'build using snapshots for faster start-up'
>>>>
>>>>
>  --
> 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

Reply via email to