From mboxrd@z Thu Jan 1 00:00:00 1970 From: Date: Fri, 23 Jan 2009 10:48:37 -0000 Subject: No subject Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de /INCLUDE directory to be the first in list to search for header files while preprocessing and -isystem flag asks the compiler to consider the cross compiler's as the system directory or search for system headers. Now I went make to common.h file which is throwing the error given above and observed that config.h is defined in angle brackets:=20 i.e. #include So what I feel is happening here is that the compiler only searches its own include directory for headers since the files are in < > brackets. When I copy all the files in the uboot /include directory to the compiler's include the build process starts while fails at some point since some autogenerated header files are created in the u-boot/include by default and needs to be moved to the compiler's include each time proceed. =20 I could go about changing the #include to #include "config.h" but this is going to be very tedious and time consuming as the entire u-boot code needs to be changed for this. I tried various combinations of gcc flags for the variable CPPFLAGS, all failed for reasons which I was able to trace back.=20 Has this condition been observed before and is there any work around for it? Also, please correct me if my understanding is wrong. I am at crucial point in my project would be delighted to have support at the earliest.=20 Regards, Shyama =20