public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* How To Disable Building getreent.c
@ 2017-10-06 11:47 Joel Sherrill
  0 siblings, 0 replies; only message in thread
From: Joel Sherrill @ 2017-10-06 11:47 UTC (permalink / raw)
  To: newlib

Hi

RTEMS is now providing its own version of __getreent() and
in some situations we are getting link errors because one
is in RTEMS and another is in the newlib libc.a.

The method in libc/getreent.c isn't wrapped by a conditional.
I assume adding something to configure.host and using that
to disable the contents of libc/getreent.c is the right
approach. Would GETREENT_PROVIDED be OK for the conditional?

There is already MALLOC_PROVIDED so this would at least
be consistent with one other host feature macro.

Thanks.

--joel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-10-05 13:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-06 11:47 How To Disable Building getreent.c Joel Sherrill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).