Anonymous user
Preparing GCC Build: Difference between revisions
→Windows Users
[unchecked revision] | [unchecked revision] |
Line 108:
=== Windows Users ===
Windows users need to set up a Unix-like enviroment such as [[MinGW]] or [[Cygwin]]. It may well be worth looking into systems such as Linux and see if they fit your needs, as you commonly use a lot of Unix-like tools in operating systems development and this is much easier from a Unix-like operating system. '''If you have just installed the basic [[Cygwin]] package, you have to run the setup.exe again and install the following packages:''' GCC, G++, Make, Flex, Bison, Diffutils, libintl-devel, libgmp-devel, libmpfr-devel, libmpc-devel,
MinGW + MSYS is an option, and as it addresses the native Windows API instead of a POSIX emulation layer, results in a slightly faster toolchain. Some software packages will not build properly under MSYS as they were not designed for use with Windows. As far as this tutorial is concerned, everything that applies to Cygwin also applies to MSYS unless otherwise specified. Make sure you install the C and C++ compilers, and the MSYS Basic System.
The "Windows Subsystem for Linux (Beta)", released with the Windows 10 Anniversary update is also an option for using a cross compiler. (Tested 08/08/2016 with GCC 6.1.0 and
'''Cygwin note:''' Cygwin includes your Windows <tt>%PATH%</tt> in its bash <tt>$PATH.</tt> If you were using DJGPP before, this could result in confusion as e.g. calling <tt>
'''MinGW note:''' Some MinGW-specific information on building a cross-toolchain can be found on the [http://www.mingw.org/wiki/HostedCrossCompilerHOWTO hosted cross-compiler how-to page] on the MinGW homepage.
|