Installation on Windows
To install GCC on Windows, you need to install MinGW
. To install MinGW, go to the MinGW
homepage, www.mingw.org, and follow the link to the MinGW download page
. Download the
latest version of the MinGW installation program, which should be named MinGW-
.exe
.
While installing MinGW, at a minimum, you must install gcc-core, gcc-g++, binutils, and the
MinGW runtime, but you may wish to install more
.
Add the bin subdirectory of your MinGW installation to your PATH environment variable, so
that you can specify these tools on the command line by their simple names
.
After the installation is complete, you will be able to run gcc, g++, ar, ranlib, dlltool, and
several other GNU tools from the Windows command line.
0 Comments