On Thu, Aug 28, 2014 at 2:38 AM, Matt Kline <[email protected]> wrote: > On Linux, I get an approximately 20 MB executable given the default flags. > Is this about as small as V8 can be expected to get? Besides -Os, are there > other flags I can provide or features I can disable in order to get a > smaller size? V8 is being used to parse PAC scripts in this scenario, so it > is assumed that the JavaScript files will be pretty small and execution > speed isn't critical.
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. Building without a snapshot of the run-time (`snapshot=off`) should further reduce the binary, at the cost of slower start-up times. It probably saves a few 100 kB at best, though. -- -- 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.
