[U-Boot-Users] [PATCH] cygwin build fixes

Yuli Barcohen yuli at arabellasw.com
Sun Jul 25 11:31:26 CEST 2004


>>>>> Lars Munch writes:

    Lars> The attached patch fixes cygwin builds. inttypes.h has been
    Lars> included in cygwin for quite some time now, so we do not need
    Lars> all the __WIN32__ ifdef's.

First of all, Cygwin is a Linux-like environment and not WIN32 so there
is no need to #define __WIN32__ in the Makefile. #ifdefs can be needed
for other environments (mingw? Visual C?). The problem is in the order
of header files because U-Boot host tools have to mix target and host
headers and in some cases (including Cygwin) wrong files are
#included. My patch from Jul 19th fixes this problem.

-- 
========================================================================
 Yuli Barcohen       | Phone +972-9-765-1788 |  Software Project Leader
 yuli at arabellasw.com | Fax   +972-9-765-7494 | Arabella Software, Israel
========================================================================





More information about the U-Boot mailing list