This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: DYNAMIC_REENT revisited


Anders Lindgren wrote:
As far as I understand, when making my own target I need to be put any _REENT_SMALL, __DYNAMIC_REENT__ etc defines into <sys/config.h> to be able to use the resulting C library afterwards without always specifying -D... on the command line. Question is, do I still need to put those in ${newlib_cflags} in my configure.host when building newlib? Won't they be picked up from <sys/config.h> by the sources anyway?


If you set those flags in <sys/config.h>, you do not need to add them in newlib_cflags.


-- Jeff J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]