2
0
Эх сурвалжийг харах

Documented how to call a compiler by alias using Path on MS-Windows.

David Piuva 9 сар өмнө
parent
commit
4790cd1820

+ 5 - 0
Doc/Generator/Input/Starting.txt

@@ -61,6 +61,11 @@ Title2: Buliding the wizard application on Windows
 Download and install a mingw edition of CodeBlocks from their website. <A href="http://www.codeblocks.org/downloads/26#windows">www.codeblocks.org/downloads</A>
 This is the easiest way to install GNU's C++ compiler g++ on Windows, but CodeBlocks can also be used as a debugger if you create a project with the same source code, backends and compiler flags.
 
+*
+Open sysdm.cpl - Advanced - System variables - Path.
+Append your path to the folder containing g++.exe so that writing g++ in cmd.exe finds g++.exe.
+If you for example installed it at C:\CodeBlocks\MinGW\bin\g++.exe, you add C:\CodeBlocks\MinGW\bin; after the previous ; at the end of Path.
+
 *
 Open CMD.exe, go to the Source\tools\wizard folder and execute build_windows.bat from the same folder.
 This makes sure that the build system can be found using relative paths.

+ 6 - 0
Doc/Starting.html

@@ -97,6 +97,12 @@ Run the build script.
 Download and install a mingw edition of CodeBlocks from their website. <A href="http://www.codeblocks.org/downloads/26#windows">www.codeblocks.org/downloads</A>
 This is the easiest way to install GNU's C++ compiler g++ on Windows, but CodeBlocks can also be used as a debugger if you create a project with the same source code, backends and compiler flags.
 
+</P><P>
+<IMG SRC="Images/SmallDot.png">
+Open sysdm.cpl - Advanced - System variables - Path.
+Append your path to the folder containing g++.exe so that writing g++ in cmd.exe finds g++.exe.
+If you for example installed it at C:\CodeBlocks\MinGW\bin\g++.exe, you add C:\CodeBlocks\MinGW\bin; after the previous ; at the end of Path.
+
 </P><P>
 <IMG SRC="Images/SmallDot.png">
 Open CMD.exe, go to the Source\tools\wizard folder and execute build_windows.bat from the same folder.