Windows code does generate Windows line endings (\r\n) as opposed to Unix
line endings \n. In nonminified form this can change the output size quite
a bit, but in minified form it's not much of a difference, and of course
one can postprocess to generate Unix file endings. I am not aware of other
current items that would change the code size.

2015-09-18 3:22 GMT+03:00 Bruce Mitchener <[email protected]>:

> I believe it should be the same.
>
>  - Bruce
>
>
> On Fri, Sep 18, 2015 at 6:49 AM, arnab choudhury <[email protected]>
> wrote:
>
>> Hello there
>>
>> I was wondering whether the size of the JS generated by Emscripten is
>> dependent on the platform on which the JS is generated. I guess this is
>> indirectly a question about the size of the LLVM IR that's generated on
>> MacOS vs windows. In other words, if I were to use the same version of
>> emscripten on Windows vs Mac on some test C++ code, could I expect the size
>> of the generated Javascript to be the same?
>>
>> Thanks!
>> -Arnab
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "emscripten-discuss" 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.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" 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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" 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