[webkit-help] JSC Redistribution and Lite VS version

Brian Barnes ggadwa at charter.net
Mon Jan 23 06:16:28 PST 2012


The DLLs aren't really a big deal, a bit ugly, but window installs are 
usually that way.  It's just that the ic* DLLs (all for unicode) are 
around 15M (!!!) easily the biggest part of my engine.

It'd be nice to have a compiler flag where I could remove the need for 
unicode.  I know there is one for unicode sorting, but without being 
able to compile the code myself I can test how well this changes things, 
which is why right now I'm learning my way through the code so I can 
better understand this and compile everything myself.

Also not sure why pthread is needed, as I'd assume all threading was 
within WebKit itself.

[>] Brian

On 1/23/2012 4:19 AM, Leonardo Carneiro wrote:
> Just a thought here:
>
> If you are only trying to reduce the number of DLLs, but size is not a
> issue, you could also try to statically link the libraries together...
>
>
> On Fri, Jan 20, 2012 at 9:45 PM, Brian Barnes <ggadwa at charter.net
> <mailto:ggadwa at charter.net>> wrote:
>
>     Actually, you have to distribute:
>
>     CFLite
>     icudt40
>     icuin40
>     icuuc40
>     pthreadVC2
>
>     (And possibly a msvc library, but all exes usually need one of
>     those.) This might be from where I got the original library (a
>     maintainer of the wincairo port.)
>
>     I'll give it a shot, I've always had bad luck getting this to work,
>     I'm always held up somewhere by the cygwin stuff, I'll delete
>     everything and re-follow the instructions and see what happens.
>
>     [>] Brian
>
>
>     On 1/20/2012 2:30 PM, Adam Roben wrote:
>
>         On Jan 20, 2012, at 12:18 PM, Brian Barnes wrote:
>
>             On Windows, it's a mess.  I used the wincario port, but I'm
>             having DLL troubles with that for some users.  Trying to
>             create my own stand-along Visual Studio compile doesn't seem
>             possible, there's way to much changes I'd have to make to
>             the code.  If somebody has done something like this, I'd be
>             happy to hear it.  A clean version of JSC that compiled on
>             it's own would be wonderful, but obviously not likely.
>
>
>         I'd suggest trying to get the WinCairo version of JavaScriptCore
>         (which really has nothing to do with Cairo at all; it's just a
>         build of JavaScriptCore that uses CFLite instead of
>         CoreFoundation) building on its own without the rest of WebKit.
>         There's a JavaScriptCore.sln file that you can use for this
>         purpose. The only other DLL you should have to distribute is
>         CFLite.dll.
>
>         -Adam
>
>     _________________________________________________
>     webkit-help mailing list
>     webkit-help at lists.webkit.org <mailto:webkit-help at lists.webkit.org>
>     http://lists.webkit.org/__mailman/listinfo.cgi/webkit-__help
>     <http://lists.webkit.org/mailman/listinfo.cgi/webkit-help>
>
>
>
>
> --
> Leonardo Carneiro


More information about the webkit-help mailing list