On 8/12/2014 12:33 PM, Arnaud Charlet wrote: >> This didn't get any comments earlier. Is it OK to comment? > This one is a bit tricky so requires more thoughts. On which targets did > you test it? native CentOS and sparc-rtems4.11. I don't have access to much else except *-rtems* which is basically the same thing with different backend gcc issues.
The build needs a way to see the RTEMS network .h files since they are not installed with the libc files. libc/gcc .h files are part of the normal GNU toolset. The others are part of the BSP install. >> Somewhere along the way, the Ada run-time Makefile's quit >> honoring CFLAGS_FOR_TARGET. This just adds it back. >> >> 2014-08-12 Joel Sherrill <joel.sherr...@oarcorp.com> >> >> * Makefile.in: Add CFLAGS_FOR_TARGET to GNATLIBCFLAGS_FOR_C. > I guess this is OK on principle, but if someone reports an issue with this > patch, we might need to revert it. It was in the rts Makefile back when it was under gcc. I suspect it disappeared when this all moved to libada. Could check the history if we need to. > Arno -- Joel Sherrill, Ph.D. Director of Research & Development joel.sherr...@oarcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985