I am not sure why you need a smaller binary. 2.8MB is very good for
how much functionality is now in a modern JS engine.  There are other
options as well, tiny-js [0], 42tiny-js [1], Espruino [2] and more if
you look hard enough.  What size are you looking to get to or what's
your use case?  There's also utilities like UPX [3].

[0] https://code.google.com/p/tiny-js/
[1] https://code.google.com/p/42tiny-js/
[2] http://www.espruino.com/
[3] http://upx.sourceforge.net/


On Thu, Aug 28, 2014 at 10:30 AM, Matt Kline <[email protected]> wrote:
> Thank you! By disabling i18n and stripping it, I was able to get the build
> down to 2.8 MB. This is excellent.
>
> Now, how would I pull a similar stunt on Windows? As mentioned previously, I
> was able to reduce v8_base.lib to about 38 MB by setting "Debug Information
> Format" to "None" and optimization flags to "Minimum Size" (/O1) and "Favor
> small code" (/Os), but that's still massive, and that's just one of the
> files.
>
>
>> It sounds like the binary isn't stripped and that V8 is linked against
>> ICU.  Run `strip path/to/d8` to strip debug symbols.  `make
>> i18nsupport=off` builds without ICU.
>
> --
> --
> v8-users mailing list
> [email protected]
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
v8-users mailing list
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to