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?