From: Wolfgang Denk Date: Sat, 04 Apr 2009 00:36:35 +0200 Subject: [U-Boot] [PATCH 12/15] Add support for building native win32 tools In-Reply-To: <3c6c8b0c8a5a0dacbd19c414465b312cb0256a7d.1236207433.git.ptyser@xes-inc.com> References: <774d4e517995c43614a1b3870814d6e5829ab6c3.1236207433.git.ptyser@xes-inc.com> <2e1eea15f282ac75853cd510fa4301e3f0763e75.1236207433.git.ptyser@xes-inc.com> <22a383f60a66b6c9baa54dcc1766b3ebde62c873.1236207433.git.ptyser@xes-inc.com> <1939e61f7ae1d5fd4133207ca9935bdfde54d448.1236207433.git.ptyser@xes-inc.com> <843a50a7133b20d731e1fb154c749c6d8e701b3a.1236207433.git.ptyser@xes-inc.com> <7b401d04ef4d44513d04fe514d5919b59527ca85.1236207433.git.ptyser@xes-inc.com> <14dd76717b4b634d3860b9d7759726e52a9d455d.1236207433.git.ptyser@xes-inc.com> <2b3b8ecc973665b7f706c787318cef12d035ae57.1236207433.git.ptyser@xes-inc.com> <0bca9a93be63621ee791be20c6bd1c33495af517.1236207433.git.ptyser@xes-inc.com> <3c6c8b0c8a5a0dacbd19c414465b312cb0256a7d.12362 07433.git.ptyser@xes-inc.com> Message-ID: <20090403223635.15A0483797DC@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Peter Tyser, In message <3c6c8b0c8a5a0dacbd19c414465b312cb0256a7d.1236207433.git.ptyser@xes-inc.com> you wrote: > Add support for compiling the host tools in the tools directory using > the MinGW toolchain. This produces executables which can be used on > standard Windows computers without requiring cygwin. > > One must specify the MinGW compiler and strip utilities as if they > were the host toolchain in order to build win32 executables, eg: > > make HOSTCC=i586-mingw32msvc-gcc HOSTSTRIP=i586-mingw32msvc-strip tools > > Signed-off-by: Peter Tyser > --- > README | 10 ++++++ > include/image.h | 2 + > include/libfdt_env.h | 12 +++++++ > include/linux/types.h | 5 ++- > tools/Makefile | 15 +++++++-- > tools/mingw_support.c | 79 +++++++++++++++++++++++++++++++++++++++++++++++++ > tools/mingw_support.h | 48 +++++++++++++++++++++++++++++ > tools/mkimage.c | 4 ++ > tools/mkimage.h | 5 +++ > tools/ubsha1.c | 6 +++- > 10 files changed, 181 insertions(+), 5 deletions(-) > create mode 100644 tools/mingw_support.c > create mode 100644 tools/mingw_support.h Not applied. My understanding was that you would reposed a modified version. Please verify. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The connection between the language in which we think/program and the problems and solutions we can imagine is very close. For this reason restricting language features with the intent of eliminating pro- grammer errors is at best dangerous. - Bjarne Stroustrup in "The C++ Programming Language"