I see, actually I tried to use some of different platform Macro + compiler 
Macro, and the output are the same with BeyondCompare checking, seems not 
need to try all possible Macros later, thank you. 

On Wednesday, November 4, 2015 at 11:31:35 AM UTC+8, Alon Zakai wrote:
>
> That should not be a problem. emcc targets asm.js, which is a portable 
> 32-bit architecture. It doesn't matter on what OS you build, in other 
> words. If you see a difference due to where you build, then it's an 
> emscripten bug.
>
>
>
> On Tue, Nov 3, 2015 at 7:29 PM, Eden Zhao <[email protected] 
> <javascript:>> wrote:
>
>> I see, will try and update~ thank you~
>>
>> b.t.w. Is it possible this bug is caused by the Macro change on the OS 
>> related types(like the real type of int_16, int_32) before compiling?
>>
>> Best Regards,
>> Eden
>>
>> On Wednesday, November 4, 2015 at 11:22:51 AM UTC+8, Alon Zakai wrote:
>>>
>>> It's possible you're hitting a bug on chrome. What happens when you try 
>>> the same version of chrome on both OSes? And is chrome on windows 32 bit? 
>>> If so worth trying a 64-bit build for further comparisons.
>>>
>>> On Tue, Nov 3, 2015 at 7:18 PM, Eden Zhao <[email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> I've imported a C based-lib for video compressing to js using 
>>>> emscripten on windows. and it runs well with Chrome on Windows, and 
>>>> firefox 
>>>> on both Mac and Windows, but with Chrome on Mac, it give wrong 
>>>> output(using 
>>>> same input and compare the output with windows dll test bench), and I have 
>>>> no idea what should I do to fix this.
>>>>
>>>> no asm nor optimization option is selected when compiling(using 
>>>> default).
>>>> and it act consistent with the codes runs in a worker or not.
>>>>
>>>> detail of chrome on Mac:
>>>> Chrome Version 47.0.2526.27 beta (64-bit)
>>>> OS 10.8.5 64 bits (English version)
>>>>
>>>> detail of chrome on Windows:
>>>> Chrome Version 46.0.2490.80 m
>>>> OS Win7 Ultimate 32 bits (Chinese version)
>>>>
>>>> I'm just grasp the emscripten and still learning, but still feel hard 
>>>> to locate the problem and any comment is welcomed~
>>>>
>>>> Best Regards,
>>>> Eden
>>>>
>>>
>>
>

-- 
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