[Vm-dev] Portability problems: compiler flags

Levente Uzonyi leves at elte.hu
Tue Jan 25 12:50:57 UTC 2011


On Tue, 25 Jan 2011, Aleksej Saushev wrote:

>
> Igor Stasenko <siguctua at gmail.com> writes:
>
>> On 25 January 2011 03:26, Aleksej Saushev <asau at inbox.ru> wrote:
>>>
>>>  Hello!
>>>
>>> Squeak uses highly unportable flag "-mno-fused-madd".
>>> It isn't present in many systems, even those using GCC,
>>> since many systems use older compilers.
>>>
>>> Also, why do you build fdlibm? It is old stuff that works not so well,
>>> we have better libm. Is there a way to use our libm?
>>>
>> I asked  same question few weeks ago.
>> Check mailing list archive for discussion.
>> In short: differrent libm implementations work differently and some
>> have bad support of IEEE standard.
>
> Then it's better to detect those "bad" implementations and not to build
> bad replacement for good ones.

See Andreas' answer. If libm can be ported to all platforms and it gives 
bit identical results on all platforms, then it's fine, otherwise it's 
not. The same applies to any possible replacement library.


Levente

>
>
> -- 
> HE CE3OH...
>


More information about the Vm-dev mailing list