Getting Started: Difference between revisions

m
[unchecked revision][unchecked revision]
(→‎Windows: Added Windows Subsystem for Linux as an option)
m (→‎Windows: Typos)
Line 58:
In order to get the tools necessary, you should install the [[Cygwin]] environment. [[MinGW]] or [[DJGPP]] are alternatives, but Cygwin is strongly suggested as it is the most complete and compatible environment.
 
Microsoft has recently (as of writing) released the Windows Subsystem for Linux as an optional feature for Windows 10. It is basically a real Ubuntu command line distribution running on top of Windows WITHOUT the use of a VM. The latest GCC and BinitilsBinutils (6.1.0 and 2.27 as of writing) compile and work correctly in this environment. Using the bash shell you can access your Windows hard disks through /mnt/<drive letter>. The advantage of this solution is that you can work with whichever Windows or Linux tools that you require, without having to find out if they work in Cygwin. Many of the needed tools can be installed using "apt-get".
 
For all of the above, it is strongly suggested to build a cross-compiler, not only because the default compilers target different [[Executable Formats|executable format]]s, but because it's generally a good idea. Check the [[GCC Cross-Compiler]] page for details and instructions.
Anonymous user