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

2017-03-05 Thread Rodolph Perfetta
You can't disable the JIT, it is required for V8 to run.

On Sun, 5 Mar 2017 at 08:46 Lukas Kollmer  wrote:

> Thanks!
>
> Is iOS not supported because v8 would not compile for iOS or because it
> wouldn't be allowed by Apple?
> I've seen some screenshots of v8 running on iOS 4 or 5 so running on iOS
> should be possible in theory.
>
> Shouldn't it be possible to compile v8 with the JIT disabled? LuaJIT runs
> fine on iOS, with the JIT component disabled.
>
> (I don't plan to submit this to the App Store, btw)
>
> On 4 March 2017 at 22:12, Jakob Kummerow  wrote:
>
> See cross-compiling instructions at
> https://github.com/v8/v8/wiki/Cross-compiling%20for%20ARM
>
> iOS is not supported because Apple doesn't allow non-system apps to
> JIT-compile code, and V8 relies on JIT compilation.
>
> On Sat, Mar 4, 2017 at 5:39 PM, Lukas Kollmer 
> wrote:
>
> I'm trying to run v8 on iOS (arm64).
>
> When I build for arm using `make arm64`, no libv8_base.a file is generated
> and all generated object files (*.o) are actually for x86. How can I cross
> compile v8 for arm64?
>
>
> --
> --
> v8-users mailing list
> v8-users@googlegroups.com
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to v8-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> --
> v8-users mailing list
> v8-users@googlegroups.com
> http://groups.google.com/group/v8-users
> ---
>
> You received this message because you are subscribed to a topic in the
> Google Groups "v8-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/v8-users/eI4s-mRPClc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> v8-users+unsubscr...@googlegroups.com.
>
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
> Lukas Kollmer
> lukas.koll...@gmail.com
>
> --
> --
> v8-users mailing list
> v8-users@googlegroups.com
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to v8-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2017-03-05 Thread Lukas Kollmer
Thanks!

Is iOS not supported because v8 would not compile for iOS or because it
wouldn't be allowed by Apple?
I've seen some screenshots of v8 running on iOS 4 or 5 so running on iOS
should be possible in theory.

Shouldn't it be possible to compile v8 with the JIT disabled? LuaJIT runs
fine on iOS, with the JIT component disabled.

(I don't plan to submit this to the App Store, btw)

On 4 March 2017 at 22:12, Jakob Kummerow  wrote:

> See cross-compiling instructions at https://github.com/v8/v8/
> wiki/Cross-compiling%20for%20ARM
>
> iOS is not supported because Apple doesn't allow non-system apps to
> JIT-compile code, and V8 relies on JIT compilation.
>
> On Sat, Mar 4, 2017 at 5:39 PM, Lukas Kollmer 
> wrote:
>
>> I'm trying to run v8 on iOS (arm64).
>>
>> When I build for arm using `make arm64`, no libv8_base.a file is
>> generated and all generated object files (*.o) are actually for x86. How
>> can I cross compile v8 for arm64?
>>
>>
>> --
>> --
>> v8-users mailing list
>> v8-users@googlegroups.com
>> http://groups.google.com/group/v8-users
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "v8-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to v8-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> --
> v8-users mailing list
> v8-users@googlegroups.com
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "v8-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/v8-users/eI4s-mRPClc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> v8-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Lukas Kollmer
lukas.koll...@gmail.com

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2017-03-04 Thread Jakob Kummerow
See cross-compiling instructions at
https://github.com/v8/v8/wiki/Cross-compiling%20for%20ARM

iOS is not supported because Apple doesn't allow non-system apps to
JIT-compile code, and V8 relies on JIT compilation.

On Sat, Mar 4, 2017 at 5:39 PM, Lukas Kollmer 
wrote:

> I'm trying to run v8 on iOS (arm64).
>
> When I build for arm using `make arm64`, no libv8_base.a file is generated
> and all generated object files (*.o) are actually for x86. How can I cross
> compile v8 for arm64?
>
>
> --
> --
> v8-users mailing list
> v8-users@googlegroups.com
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to v8-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[v8-users] Cross-compile for arm64 (iOS)

2017-03-04 Thread Lukas Kollmer
I'm trying to run v8 on iOS (arm64).

When I build for arm using `make arm64`, no libv8_base.a file is generated 
and all generated object files (*.o) are actually for x86. How can I cross 
compile v8 for arm64?


-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.