[patch] link headers if possible

Andrew STUBBS andrew.stubbs@st.com
Tue Jan 22 22:42:00 GMT 2008


Neal H. Walfield wrote:
> This apporach would be fine but unless I misunderstand your code, your
> code does not use the same selection criteria for choosing the headers
> to install.  For instance, there is a lock.h in
> libc/include/sys/lock.h and another in libc/sys/linux/sys/lock.h.
> When configuring for GNU/Linux, the latter is installed in
> targ-include, other the more generic one is used.

Quite so, it's merely some code I pulled out of one of my makefiles and 
modified a few variable names. I don't claim it doesn't need adjusting.

Andrew



More information about the Newlib mailing list