Re: Unable to link C++ application with libstdc++ when newlib is used (gcc 13 and perhaps also 12)

Sebastian Huber <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On 17/09/2022 19:45, Torbjorn SVENSSON wrote:
> I suppose the origin of the problem is the definition of the getentropy 
> function in the newlib provided unistd.h, but what is the appropriate 
> fix for it?
> - Create a stub function that just returns -1 and sets errno=ENOSYS?

This should be fine.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: [email protected]
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.