Hi,

There are three issue related to msys/mingw environment.

1, no nanosleep in mingw, although, the windows API Sleep support millisecond.

2, Use stat on device like //./PHYSICALDRIVE0 would fail. It should
use utility function grub_util_get_disk_size in read_device_map.

3, The ln command in msys can't handle symbol link properly, which
causes AC_CONFIG_LINKS to fail. This patch add new test
grub_CHECK_LINK_DIR, which is used to decide whether to call
AC_CONFIG_LINKS or copy directory itself.

2009-03-14  Bean  <bean12...@gmail.com>

        * util/hostdisk.c (read_device_map): Use grub_util_get_disk_size to
        instead of stat in mingw environment.

        * util/misc.c (grub_millisleep): New function in environment.

        * aclocal.m4 (grub_CHECK_LINK_DIR): New function.

        * configure.ac: Use grub_CHECK_LINK_DIR to determine whether to use
        AC_CONFIG_LINKS.

-- 
Bean

Attachment: mingw.diff
Description: Binary data

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to