On Fri, Jan 11, 2013 at 10:34 AM, Neha <[email protected]> wrote:

>
> *Solution for compiling v8 on Linux*:
>
> gcc version used : 4.1.2. Also tried with gcc 4.2.3.
>
> The code did not compile with the existing version of python(2.4)
>
> Download python 2.7.3. Configure and Build the same.
> use *python 2.7.3* and *make 3.81* by setting path on linux.
>

Python 2.6.x is fine too.


> *GYP* should be at the root level of v8. (Same level as the build folder)
>

What? GYP should be checked out into <v8>/build/gyp, which is where "make
dependencies" puts it.

build v8 with command-> make native strictaliasing=off
>
>
> On Friday, January 11, 2013 12:19:04 PM UTC+5:30, Neha wrote:
>
>> ok, Thanks Rodolph and Stephan!
>>
>> On Thursday, January 10, 2013 5:39:40 PM UTC+5:30, Stephan Beal wrote:
>>
>>> On Thu, Jan 10, 2013 at 5:44 AM, Neha <[email protected]> wrote:
>>>
>>>> I tried strictaliasing=off option along with make native. This worked.
>>>> The code got compiled with this option.
>>>> What are the implications of using this option when i want to further
>>>> use V8 with my application?
>>>>
>>>
>>> If you mean as a "normal client", just using the v8 public API, this
>>> option doesn't affect the client code or how the client code needs to be
>>> compiled, it only affects how gcc compiles v8.
>>>
>>> --
>>> ----- stephan beal
>>> http://wanderinghorse.net/**home/stephan/<http://wanderinghorse.net/home/stephan/>
>>> http://gplus.to/sgbeal
>>>
>>  --
> 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