delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2020/04/13/14:21:07

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
X-Authority-Analysis: v=2.3 cv=ecemg4MH c=1 sm=1 tr=0
a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17
a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=Mj1Xp5F7AAAA:8
a=b4LDLZbEAAAA:8 a=CCpqsmhAAAAA:8 a=fjDFcf429ns8VtWUCqQA:9 a=QEXdDO2ut3YA:10
a=ihfjKnFrczMA:10 a=OCttjWrK5_uSHO_3Hkg-:22 a=20T61YgZp4ItGotXEy2O:22
a=ul9cdbp4aOFLsgKbc677:22
Subject: Re: Missing functions in DJGPP libc (and/or) libm
References: <xnh7xoo4va DOT fsf AT envy DOT delorie DOT com>
<4aed4e35-34a2-56ba-582a-c9c6ccae6699 AT iki DOT fi>
<e3e2c4ee-5e9c-47f9-98aa-a67a45bd67e7 AT iki DOT fi>
To: djgpp-workers <DJGPP-workers AT Delorie DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Autocrypt: addr=Brian DOT Inglis AT SystematicSw DOT ab DOT ca; prefer-encrypt=mutual;
keydata=
mDMEXopx8xYJKwYBBAHaRw8BAQdAnCK0qv/xwUCCZQoA9BHRYpstERrspfT0NkUWQVuoePa0
LkJyaWFuIEluZ2xpcyA8QnJpYW4uSW5nbGlzQFN5c3RlbWF0aWNTdy5hYi5jYT6IlgQTFggA
PhYhBMM5/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsDBQkJZgGABQsJCAcCBhUKCQgLAgQW
AgMBAh4BAheAAAoJEB62lxu92I8Y0ioBAI8xrggNxziAVmr+Xm6nnyjoujMqWcq3oEhlYGAO
WacZAQDFtdDx2koSVSoOmfaOyRTbIWSf9/Cjai29060fsmdsDLg4BF6KcfMSCisGAQQBl1UB
BQEBB0Awv8kHI2PaEgViDqzbnoe8B9KMHoBZLS92HdC7ZPh8HQMBCAeIfgQYFggAJhYhBMM5
/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsMBQkJZgGAAAoJEB62lxu92I8YZwUBAJw/74rF
IyaSsGI7ewCdCy88Lce/kdwX7zGwid+f8NZ3AQC/ezTFFi5obXnyMxZJN464nPXiggtT9gN5
RSyTY8X+AQ==
Organization: Systematic Software
Message-ID: <128ba9e6-0dc8-4617-00ee-216732fa0ff3@SystematicSw.ab.ca>
Date: Mon, 13 Apr 2020 12:18:13 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.7.0
MIME-Version: 1.0
In-Reply-To: <e3e2c4ee-5e9c-47f9-98aa-a67a45bd67e7@iki.fi>
X-CMAE-Envelope: MS4wfJRQ0ye9QDxYRZUdMr1ytrATrk1c8sKUO+gjJCnpoVCWls5w74Nd0K5eNGSdxnszWoD0ZQqbHh7DfggGpj36rjT9Rm4rVHZN8tNsgbIVL4KhxyYBBCnr
qufysabqEle2kVbmte5yVFJI2vKm6gj0CIaLsy52bw62yxvZKte1vUJ+ropXlIT6Mv7xuL3xJKwFzw==
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 2020-04-13 03:38, Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via
djgpp-workers AT delorie DOT com] wrote:
> On 4/13/20 7:25 AM, Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via
> djgpp-workers AT delorie DOT com] wrote:
>> On 4/12/20 10:56 PM, DJ Delorie wrote:
>>> Looks like C99 support is required now, and our library is C89(ish).
>>>
>>> If someone wants to put in the effort:
>>> http://www.open-std.org/jtc1/sc22/WG14/www/docs/n1256.pdf
>>>
>>> Else we might have to accept that some parts of djgpp have reached
>>> end-of-life :-(
>>
>> How it is handled in CygWin. It seems to have newlib which do not have these
>> functions (at least I did not easily find them browsing GIT repon tree).
>>
>> It is unlikely that CygWin will not support Fortran for gcc-10
>>
> At least Mingw does not seem to be affected. I'm able tro build current GCC
> master branch for Mingw as cross-compiler from Linux (Arch Linux, took some time
> to get MAKEPKG file ready especially if each build lasts some time even on Ryzen
> 9 3950X)
> 
> At least fma(|fl) stuff we could borrow from Mingw libm (license notice on the
> top of file seems to allow that)
> 
> The problem with missing libm functions will however be a problem for Newlib
> targets. Checked one embedded target I have to deal at work at Finnish
> Meteorological institute it also do not have these functions. Of course no
> native compiler there. I also have not build cross-compiler for it myself.

Ported to Cygwin from Mingw64:

	https://sourceware.org/legacy-ml/cygwin-cvs/2016-q1/msg00198.html

https://sourceware.org/git/?p=newlib-cygwin.git;a=tree;f=winsup/cygwin/math

but newlib supports long double functions only for LDBL_EQ_DBL ports:

https://sourceware.org/git/?p=newlib-cygwin.git;a=tree;f=newlib/libm/common

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019