[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FW: [Gm2] Undefined Symbols on Mac OS X/Intel
From: |
Gaius Mulley |
Subject: |
Re: FW: [Gm2] Undefined Symbols on Mac OS X/Intel |
Date: |
Wed, 04 Feb 2009 14:07:07 +0000 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Hi,
just to say I've now checked in a new implementation based on snprintf
for both dtoa and ldtoa,
regards,
Gaius
Gaius Mulley <address@hidden> writes:
> "Cox, James V" <address@hidden> writes:
>
>> Hi Gaius:
>>
>> I don?t know what the differences are in the repository since last Friday or
>> the differences in our machines, but I built a Mac OS X/Intel without a
>> problem.
>>
>> Take care, Jim
>
> Hi,
>
> yes I reimplemented dtoa with ecvt_r and fcvt_r. Also ldtoa with
> qecvt_r and qfcvt_r. I'll alter this to use snprintf instead.. the
> good news is that RealConv and friends are nearly finished.
>
> regards,
> Gaius
>
>
>
>>
>> ------ Forwarded Message
>> From: Michael Lambert <address@hidden>
>> Date: Mon, 2 Feb 2009 20:54:06 -0700
>> To: GM2 <address@hidden>
>> Conversation: [Gm2] Undefined Symbols on Mac OS X/Intel
>> Subject: [Gm2] Undefined Symbols on Mac OS X/Intel
>>
>> Hi Gaius,
>>
>> I tried building the latest CVS updates on OS X /Intel. I get some
>> undefined symbols:
>>
>> Undefined symbols:
>> "_ecvt_r", referenced from:
>> _dtoa_dtoa in libgm2.a(dtoa.o)
>> "_fcvt_r", referenced from:
>> _dtoa_dtoa in libgm2.a(dtoa.o)
>> "_qecvt_r", referenced from:
>> _ldtoa_ldtoa in libgm2.a(ldtoa.o)
>> "_qfcvt_r", referenced from:
>> _ldtoa_ldtoa in libgm2.a(ldtoa.o)
>>
>> The man page for ecvt/fcvt says:
>>
>> "These functions are provided for compatibility with legacy code. New
>> code should use the snprintf(3) function for improved safety and
>> portability."
>>
>> The qecvt and qfcvt functions are missing completely as are *_r.
>>
>> Regards,
>>
>> Michael
>>
>>
>>
>>
>> _______________________________________________
>> gm2 mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/gm2
>>
>>
>>
>> ------ End of Forwarded Message
>
>
> _______________________________________________
> gm2 mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gm2