Lines Matching +full:mingw +full:- +full:w64
6 Most versions of Windows cannot boot from a GPT disk on BIOS-based
12 GPT fdisk on a BIOS-mode boot disk, or perhaps even on a data disk, you may
13 find recovery to be very difficult! Pre-installed Windows 8 and later
15 self-installed Windows 8 systems sometimes use BIOS mode. This caveat does
23 the software. I originally wrote GPT fdisk on Linux, and some Linux- and
24 Unix-centric language remains in the documentation.
27 -----------------
31 text-mode program file as well as the sgdisk program that's available
34 Beginning with version 0.8.10, I'm distributing both 32-bit and 64-bit
35 binaries, which include the strings "32" or "64" in their names. The 32-bit
36 binaries work fine on most versions of Windows, but some 64-bit
37 installations of Windows 8 lack 32-bit support libraries and so may need
38 the 64-bit binaries.
53 do this, locate the Command Prompt program icon, right-click it, and select
54 "Run as Administrator." If you use a non-Administrator Command Prompt, you
66 harder-to-remember name:
70 This command is equivalent to the earlier one -- it edits the partition
74 If you pass the "-l" option to gdisk64.exe in addition to the disk
76 then exits. (Alternatively, you can pass "-p" to sgdisk64.exe.) This use
81 BIOS-based computers. Newer computers typically use an Extensible Firmware
82 Interface (EFI) and boot from GPT disks. It's safer to edit non-boot disks,
89 The Windows binaries I've compiled do not support Unicode UTF-16LE GPT
99 ----------------------------------
104 - MinGW (https://www.mingw-w64.org/), using either a Linux-hosted
105 cross-compiler or under Windows using the original MinGW or MSYS2
109 - Microsoft Visual C++ 2008 Express
110 (http://www.microsoft.com/express/Windows/) -- This compiler requires a
111 third-party stdint.h file (I used the one from
115 diskio-unix.cc, sgdisk.cc, and whichever program file you intend to NOT
118 - Microsoft Visual C++ 2010 Express -- This compiler works much like the
119 2008 version, although I didn't need to add a third-party stdint.h file.
128 The following instructions focus on use of MinGW to compile GPT fdisk for
131 My primary development environment is Ubuntu Linux, using the MinGW
132 cross-compiler. This system can compile the gdisk and fixparts binaries with
133 no need for additional libraries; after installing MinGW (via the
134 g++-mingw-w64 package in Ubuntu, or the equivalent in another distribution),
135 you can type "TARGET=win32 make" to compile 32-bit binaries, and
136 "TARGET=win64 make" to compile 64-bit binaries. This will attempt to build
140 64-bit gdisk binary alone.
143 package (https://www.msys2.org). This package provides MinGW and a package
146 cgdisk, type "pacman -S mingw-w64-x86_64-popt mingw-w64-x86_64-gettext
147 mingw-w64-x86_64-ncurses" if you want to compile 64-bit binaries; change
148 'x86_64' to 'i686' for 32-bit packages. This command will install the popt
151 should be able to compile all four Linux programs -- gdisk, cgdisk, sgdisk,
153 programs for the host architecture (x86-64 or i686); to compile for the
163 ------------ ---------------
164 /mingw64/include/popt.h /usr/x86_64-w64-mingw32/include/
165 /mingw64/lib/libpopt.a /usr/x86_64-w64-mingw32/lib/
166 /mingw64/lib/libintl.a /usr/x86_64-w64-mingw32/lib/
167 /mingw64/lib/libiconv.a /usr/x86_64-w64-mingw32/lib/
169 For 32-bit binaries, change /mingw64 to /mingw32 on the Windows source and
170 x86_64-w64-mingw32 to i686-w64-mingw32 on the Linux destination.
176 ------------ ---------------
177 /mingw64/include/ncursesw/curses.h /usr/x86_64-w64-mingw32/include/ncursesw/
178 /mingw64/include/ncursesw/ncurses.h /usr/x86_64-w64-mingw32/include/ncursesw/
179 /mingw64/include/ncursesw/ncurses_dll.h /usr/x86_64-w64-mingw32/include/ncursesw/
180 /mingw64/include/ncursesw/unctrl.h /usr/x86_64-w64-mingw32/include/ncursesw/
181 /mingw64/lib/libncurses.a /usr/x86_64-w64-mingw32/lib/
185 ncurses version installed in Windows is too new to work with the MinGW
189 The Makefile is configured to create statically-linked binaries so as to