On Tue, Nov 10, 2009 at 12:46:06AM +0800, Bean wrote: > > MINGW don't have fnmatch.h, add fnmatch.h to include > MINGW don't define S_IROTH, S_IRGRP and u_char > MINGW don't have lstat, getuid and getgid.
I started making some adjustments to these, and it was basically rewritten. I verified current trunk cross-compiles for mingw32. The only caveat is I had to use --disable-grub-mkfont. Please try it out. > BTW, my mingw version is 3.4.5 from windows host, it'd be nice if > someone can verify the result with newer version. I assume you mean your GCC version (mingw32 is still at 3.13). Note that we don't support building GRUB with GCC < 4.1.3 anymore. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all." _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel