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

Torbjorn SVENSSON <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On 2022-09-19 17:28, Sebastian Huber wrote:
> 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.
> 

What library should contain this? libnosys.a?
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.