delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2020/04/13/05:40:54

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Subject: Re: Missing functions in DJGPP libc (and/or) libm
To: djgpp-workers AT delorie DOT com
References: <xnh7xoo4va DOT fsf AT envy DOT delorie DOT com>
<4aed4e35-34a2-56ba-582a-c9c6ccae6699 AT iki DOT fi>
From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp-workers AT delorie DOT com]" <djgpp-workers AT delorie DOT com>
Message-ID: <e3e2c4ee-5e9c-47f9-98aa-a67a45bd67e7@iki.fi>
Date: Mon, 13 Apr 2020 12:38:25 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.6.0
MIME-Version: 1.0
In-Reply-To: <4aed4e35-34a2-56ba-582a-c9c6ccae6699@iki.fi>
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 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.


Andris




- Raw text -


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