Re: [webkit-help] JSC: Compiling on iOS

2012-01-25 Thread Rolando Abarca
Hi Brian,
I didn't made that change, and so far I've successfully compiled JSC for
iOS (running) with no problems. What SDK are you compiling againts?

Rolando
___
webkit-help mailing list
webkit-help@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help


Re: [webkit-help] JSC: Compiling on iOS

2012-01-25 Thread Brian Barnes
iOS 5/llvm/clang 3.0, a static library, and the latest source as of 2 
days ago.


It's possible, in my fumbling around, that I made some other change to 
the build settings but I don't know what else would make that happen. 
Anybody that has better knowledge of that code can probably point out 
what or what not might have happened.


Hopefully, the end result of all this is some target -- recreated, 
remade, from somebody else, gets into the archive.


[] Brian

On 1/25/2012 2:34 PM, Rolando Abarca wrote:

Hi Brian,
I didn't made that change, and so far I've successfully compiled JSC for
iOS (running) with no problems. What SDK are you compiling againts?

Rolando


___
webkit-help mailing list
webkit-help@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help


Re: [webkit-help] JSC: Compiling on iOS

2012-01-23 Thread Brian Barnes
My solution is to copy the two run script phases from Derived Sources, put 
them at the front of your new JavaScriptCore-iOS target, it probably builds the 
LUT files without any strange pathing with would be a problem with any other 
pointing.  It also makes JavaScriptCore-iOS build by itself.  Then I removed 
the requirement for Derived Sources.

This could be done for JavaScriptCore target itself, and would make things a 
bit more understandable.

Next problem is this error:

#if PLATFORM(MAC)  COMPILER_SUPPORTS(BLOCKS)
#include objc/objc-runtime.h
#endif

Where are the platform (and everything else) defined for compilation?

[] Brian

On Jan 22, 2012, at 5:51 PM, Ariya Hidayat wrote:

 My first problem is the *.lut.h files.
 What are these, what generates them (they seem to not exist) and what are 
 the possible causes of them not existing in my duplicated build?
 
 These are generated files, check out
 Source/JavaScriptCore/create_hash_table to see the script which
 generate them.
 
 While this does not solve your problem, the easiest workaround is to
 build JSC in some other platforms (Qt, Mac, ...) and the copy over the
 generated files.
 
 
 -- 
 Ariya Hidayat, http://ariya.ofilabs.com

___
webkit-help mailing list
webkit-help@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help


Re: [webkit-help] JSC: Compiling on iOS

2012-01-23 Thread Ariya Hidayat
 #if PLATFORM(MAC)  COMPILER_SUPPORTS(BLOCKS)
 #include objc/objc-runtime.h
 #endif

 Where are the platform (and everything else) defined for compilation?

You should really leverage 'git grep'. A simple:

git grep 'define PLATFORM'

points me to Source/JavaScriptCore/wtf/Platform.h.



-- 
Ariya Hidayat, http://ariya.ofilabs.com
___
webkit-help mailing list
webkit-help@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help


Re: [webkit-help] JSC: Compiling on iOS

2012-01-23 Thread Justin Thomas
On Jan 23, 2012, at 2:49 PM, Brian Barnes gga...@charter.net wrote:

 Next problem is this error:
 
 #if PLATFORM(MAC)  COMPILER_SUPPORTS(BLOCKS)
 #include objc/objc-runtime.h
 #endif
 
 Where are the platform (and everything else) defined for compilation?
 

These should be defined in wtf/config.h and wtf/platform.h

-JT
___
webkit-help mailing list
webkit-help@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help


Re: [webkit-help] JSC: Compiling on iOS

2012-01-22 Thread Ariya Hidayat
 My first problem is the *.lut.h files.
 What are these, what generates them (they seem to not exist) and what are the 
 possible causes of them not existing in my duplicated build?

These are generated files, check out
Source/JavaScriptCore/create_hash_table to see the script which
generate them.

While this does not solve your problem, the easiest workaround is to
build JSC in some other platforms (Qt, Mac, ...) and the copy over the
generated files.


-- 
Ariya Hidayat, http://ariya.ofilabs.com
___
webkit-help mailing list
webkit-help@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help