-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
177 changed files
with
41,531 additions
and
40 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<link href="../content.css" rel="stylesheet" type="text/css"/> | ||
</head> | ||
<body> | ||
<div class="Heading2"><b>Q:</b> What compilers does Dev-C++ support?</div> | ||
<div class="Text"><b>A:</b> Currently, any port of GCC to Windows is supported. This includes MinGW, MinGW-w64 and TDM-GCC. Clang should work too, but you'll have to port that to Windows yourself or find someone else who did it for you.</div> | ||
<br/> | ||
<div class="Heading2"><b>Q:</b> How do I add a compiler to Dev-C++?</div> | ||
<div class="Text"><b>A:</b> All compiler settings are managed at Tools >> Compiler Options. One can add a set in the following ways: | ||
<ul> | ||
<li>Use "Add compiler set by folder" and point Dev-C++ to the folder where your compiler is installed. Dev-C++ will then attempt to configure it by asking the following program about the compiler folder layout: | ||
<div class="Code">\bin\gcc.exe</div></li> | ||
<li>Use "Add an empty set" and fill out the options yourself.</li> | ||
</ul> | ||
<br/> | ||
<div class="Heading2"><b>Q:</b> I want to compile for 32-bit with my TDM-GCC x64 install. How do I do that?</div> | ||
<div class="Text"><b>A:</b> The simplest way to do that is to select a preconfigured compiler set that will compile for 32bit. Go to Tools >> Compiler Options and check if the list contains any. If it does, select it and click OK. Repeat this step for each project at Project >> Project Options >> Compiler.<br/> | ||
To manually create such a compiler set, you need to do two things: | ||
<ul> | ||
<li>Add '-m32' to the compiler command. Use "Compiler with the following pointer width" at "Settings >> Code Generation" or type it in a custom command at "General >> Add the following commands when calling the compiler".</li> | ||
<li>Use different libraries. Go to Directories >> Libraries and replace the "(..)lib" directories with "(..)lib32".</div> | ||
<br/> | ||
<div class="Heading2"><b>Q:</b> I'm specifically compiling for 32bit or 64bit, but GCC is throwing errors at me!</div> | ||
<div class="Text"><b>A:</b> If it looks like this:</div> | ||
<div class="Code">skipping incompatible (directory)/libmingw32.a when searching for -lmingw32<br/> | ||
skipping incompatible (directory)\libmingw32.a when searching for -lmingw32<br/> | ||
skipping incompatible (directory)/libmoldname.a when searching for -lmoldname<br/> | ||
skipping incompatible (directory)\libmoldname.a when searching for -lmoldname<br/> | ||
...</div> | ||
<div class="Text">... then you need to change the library directory. Go to Tools >> Compiler Options >> (select the current compiler) >> Directories >> Libraries. There, use "(...)lib" folders for 64bit, or (...)lib32 for 32bit".</div> | ||
<br/> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<link href="../content.css" rel="stylesheet" type="text/css"/> | ||
</head> | ||
<body> | ||
<div class="Heading2"><b>Q:</b> Can I disable these annoying mouseover popups?</div> | ||
<div class="Text"><b>A:</b> Sure. You can toggle them in Tools >> Editor Options >> Show Editor Hints.</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<link href="../content.css" rel="stylesheet" type="text/css"/> | ||
</head> | ||
<body> | ||
<div class="Heading2"><b>Q:</b> I'm using the TDM-GCC x64 version and cache creation is taking longer than forever. What can I do?</div> | ||
<div class="Text"><b>A:</b> Yes, it's taking very long, thanks to the huge amount of headers supplied by TDM-GCC x64. Of course, no single programmer will ever use them all. I suggest selecting the custom caching options or navigating to Tools >> Editor Options >> Class Browsing >> Completion. Add the headers <b>you</b> often use. You don't have to add everything manually fortunately. Adding windows.h for example will include the whole massive heap of Microsoft stuff referenced inside that file.</div> | ||
<br/> | ||
<div class="Heading2"><b>Q:</b> Programs created with Dev-C++ show the line "Process exited with return value X". What's going on?</div> | ||
<div class="Text">This piece of text is shown when a console program ran via Dev-C++ exits. The host that runs your console program (ConsolePauser.exe) prints this code. <b>Dev-C++ does NOT add any code to your programs to print this.</b> This feature is quite useful because you can see console output before closing. You can remove it by unticking "Tools >> Environment Options >> General >> Pause console programs after return".</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<link href="../content.css" rel="stylesheet" type="text/css"/> | ||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script> | ||
<script src="../main.js" type="text/javascript"></script> | ||
</head> | ||
<body> | ||
<div class="Heading2"><b>Q:</b> What are the differences between the portable and setup version?</div> | ||
<div class="Text"><b>A:</b> The only difference is that the portable version ships with an executable called "devcppPortable.exe" which tells Dev-C++ to store its configuration files in ".\config\" instead of in %APPDATA%. Dev-C++ will be executed the following way: | ||
<div class="Code">devcpp.exe -c .\config <parameters passed to devcppPortable></div> | ||
<div class="Text">As a result of this, the Dev-C++ folder can be moved around and Dev-C++ will keep working.</div> | ||
<br/> | ||
<div class="Heading2"><b>Q:</b> Q: What are the differences between the 32bit and 64bit version?</div> | ||
<div class="Text"><b>A:</b> The only difference is that the compiler that ships with the 64bit version can create 64bit programs. <b>All versions work on 32bit systems.</b> When using the 64bit version on 32bit systems, please make sure to compile for 32bit, or you won't be able to run your compiled programs. Check out the <div class="Link" onclick="OpenPage('Compiler','FAQ/Compiler.htm')">Compiler</div> section to find out how to do that.</div> | ||
</body> | ||
</html> |
20 changes: 20 additions & 0 deletions
20
Help/Interface/Dialog Windows/Compiler Options/Directories.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Directories Tab</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<link href="../../../content.css" rel="stylesheet" type="text/css"/> | ||
</head> | ||
<body> | ||
<div class="Text">Over here, you can tell Dev-C++ which directories to search for for purposes listed below.</div> | ||
<br/> | ||
<div class="Heading2">Binaries</div> | ||
<div class="Text">These directories are searched in this order when executing the compiler, makefile processor, debugger, resource compiler, DLL wrapper and profiler. <b>At least one entry is required.</b> The filenames of these programs can be found <div class="Link" onclick="OpenPage('Settings','Dialog Windows/Compiler Options/Settings.htm')">here</div>.</div> | ||
<br/> | ||
<div class="Heading2">Libraries</div> | ||
<div class="Text">These directories are passed to the linker to tell it which libraries to use, and to the debugger as a search directory using the dir command. Besides that, the first item in this list is the default directory used when adding lib files to a project. This list may be empty, in wich case default library directories of the current compiler set are used.</div> | ||
<br/> | ||
<div class="Heading2">C(++) Includes</div> | ||
<div class="Text">These directories are passed to the compiler when performing C(++) file compilations. They are also used by the code completion engine to find system include headers. The first item in the list is the default directory when adding header files to a cache. <b>When these lists are empty, code completion will not work, but compiling will.</b></div> | ||
</body> | ||
</html> |
15 changes: 15 additions & 0 deletions
15
Help/Interface/Dialog Windows/Compiler Options/General.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>General Tab</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<link href="../../../content.css" rel="stylesheet" type="text/css"/> | ||
</head> | ||
<body> | ||
<div class="Heading2">Add the following commands when calling the compiler</div> | ||
<div class="Text">Commands specified here are passed to the compiler at the end of the command. In project makefiles, they are appended at the end of CXXFLAGS, but project-specific commands are added after this.</div> | ||
<br/> | ||
<div class="Heading2">Add the following commands when calling the linker</div> | ||
<div class="Text">Commands specified here are passed to the linker at the end of the command. In project makefiles, they are appended at the end of LIBS, but project-specific commands are added after this.</div> | ||
</body> | ||
</html> |
16 changes: 16 additions & 0 deletions
16
Help/Interface/Dialog Windows/Compiler Options/Makefile.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Makefile Tab</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<link href="../../../content.css" rel="stylesheet" type="text/css"/> | ||
</head> | ||
<body> | ||
<div class="Heading1">Makefile generation</div> | ||
<div class="Heading2">Compile delay</div> | ||
<div class="Text">A compile delay can be used when make complains that the makefile is newer than the current system time. This feature is a leftover from ancient Dev-C++ versions. I have not been able to reproduce this bug in versions since 4.9.9.3.</div> | ||
<br/> | ||
<div class="Heading2">Use fast but imperfect dependency generation</div> | ||
<div class="Text">When this option is not selected, Dev-C++ will ask GCC which unmodified files need to be recompiled due to changes in their dependencies by using the -MM command of gcc (or g++ for C++ compilations). When this option is selected, only modified files will be recompiled. <b>This feature is currently broken, so please tick this option.</b></div> | ||
</body> | ||
</html> |
26 changes: 26 additions & 0 deletions
26
Help/Interface/Dialog Windows/Compiler Options/Programs.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Programs Tab</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<link href="../../../content.css" rel="stylesheet" type="text/css"/> | ||
</head> | ||
<body> | ||
<div class="Text">Shown here is a list of filenames that are used by Dev-C++ when performing specific tasks. Each filename should be present in any binary folder specified <div class="Link" onclick="OpenPage('Directories','Dialog Windows/Compiler Options/Directories.htm')">here</div>.</div> | ||
</br> | ||
<div class="Heading2">gcc</div> | ||
<div class="Text">The C compiler, used for auto-configuring compiler set, performing C file compiling and linking (based on file extension) and queries about compiler set properties.</div> | ||
<div class="Heading2">g++</div> | ||
<div class="Text">The C++ compiler, used for performing C++ file compiling and linking (based on file extension).</div> | ||
<div class="Heading2">make</div> | ||
<div class="Text">The makefile processor, used for project compilations.</div> | ||
<div class="Heading2">gdb</div> | ||
<div class="Text">The debugger.</div> | ||
<div class="Heading2">windres</div> | ||
<div class="Text">The resource processor, used to process Windows GUI resource files.</div> | ||
<div class="Heading2">dllwrap</div> | ||
<div class="Text">The DLL wrapper, used to build DLL's</div> | ||
<div class="Heading2">gprof</div> | ||
<div class="Text">The profiler.</div> | ||
</body> | ||
</html> |
43 changes: 43 additions & 0 deletions
43
Help/Interface/Dialog Windows/Compiler Options/Settings.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Settings Tab</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<link href="../../../content.css" rel="stylesheet" type="text/css"/> | ||
</head> | ||
<body> | ||
<div class="Text">Some easy to use settings can be toggled here. When an option is enabled by selecting anything other than "Yes", its command between braces is appended to the compiler and linker command if applicable. These commands are added before the commands in the General tab which means the commands set here can be overriden by the commands in the General tab.</div> | ||
<br/> | ||
<div class="Heading1">Specific Options</div> | ||
<div class="Heading2">General information</div> | ||
<div class="Text">For much more information about these options, please visit <a href="http://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html">GCC's option documentation</a>.</div> | ||
<br/> | ||
<div class="Heading2">C Options</div> | ||
<div class="Text">Shown here are some C related options.</div> | ||
<br/> | ||
<div class="Heading2">Code Generation</div> | ||
<div class="Text">Shown here are some optimization and architecture related options.</div> | ||
<div class="Heading3">-march</div> | ||
<div class="Text">Change this option to 32bit or 64bit to switch between compiling for these targets. When doing so, make sure to set the library directory correctly. The procedure that outlines is explained in the <div class="Link" onclick="OpenPage('Compiler','FAQ/Compiler.htm')">FAQ</div></div> | ||
<br/> | ||
<div class="Heading2">Warnings</div> | ||
<div class="Text">Shown here are some warning and error related options.</div> | ||
<br/> | ||
<div class="Heading2">Profiling</div> | ||
<div class="Text">Shown here are some profiling related options.</div> | ||
<div class="Heading3">-pg</div> | ||
<div class="Text">This flag is required to perform profiling. Default "Profiling" compiler sets enable this option by default.</div> | ||
<br/> | ||
<div class="Heading2">Linker</div> | ||
<div class="Text">Shown here are some linking and debugging related options.</div> | ||
<div class="Heading3">-g3</div> | ||
<div class="Text">This flag is required for breakpoints and debugging to work. Default "Debug" compiler sets enable this option by default.</div> | ||
<br/> | ||
<div class="Heading2">Output</div> | ||
<div class="Text">Shown here are some output related options.</div> | ||
<div class="Heading3">-S</div> | ||
<div class="Text">This flag tells the compiler to output assembler code instead of binary code. Open the output file with a text editor to view the assembler code.</div> | ||
<div class="Heading3">-pipe</div> | ||
<div class="Text">If enabled, don't use the relatively slow hard drive (or solid state drive) when compiling, but perform compilation in memory. Use this option to speed up compilation if you have enough RAM.</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<link href="../../../content.css" rel="stylesheet" type="text/css"/> | ||
</head> | ||
<body> | ||
<div class="Heading1">Compiler Options</div> | ||
<div class="Text">This is Dev-C++'s window that allows you to configure anything compiler related.</div> | ||
<br/> | ||
<div class="Heading2">Compiler set to configure</div> | ||
<div class="Text">This group of options allows you to select which set to change with the tabs below. Changing the current item also changes the compiler set used for non-project compilations.</div> | ||
<br/> | ||
<div class="Heading1">Set management buttons</div> | ||
<div class="Heading2">Find and automatically configure compilers</div> | ||
<div class="Text">This feature will automatically configure compilers located in the default compiler installation directories MinGW32 and MinGW64. Results are identical to what the first time configuration performs.</div> | ||
<br/> | ||
<div class="Heading2">Add a blank compiler set</div> | ||
<div class="Text">Add a new set without configuring anything</div> | ||
<br/> | ||
<div class="Heading2">Add a compiler set by folder</div> | ||
<div class="Text">Add a new set and automatically configure it. For configuring, folder\bin\gcc.exe will be queried for all required information.</div> | ||
<br/> | ||
<div class="Heading2">Rename the selected compiler set</div> | ||
<div class="Text">Renames the current compiler set. This has no effect on compilation.</div> | ||
<br/> | ||
<div class="Heading2">Remove the current compiler set</div> | ||
<div class="Text">Removes the current compiler set. The previous set will be the new current compiler set.</div> | ||
<!--<br/> | ||
<div class="Heading2">Tips</div> | ||
<div class="Text">Only functions that consume more than 0.01 second of CPU time will show up in the analysis.</div>--> | ||
</body> | ||
</html> |
16 changes: 16 additions & 0 deletions
16
Help/Interface/Dialog Windows/Profile Analysis/Call Graph.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<link href="../../../content.css" rel="stylesheet" type="text/css"/> | ||
</head> | ||
<body> | ||
<div class="Heading1">Function List</div> | ||
<div class="Text">Here is where the output of GPROF gets placed. This data is generated by the following command:</div> | ||
<div class="Code">gprof -q "executablename"</div> | ||
<div class="Text">This tells GPROF to examine the generated workingdir\gmon.out file which contains the generated profiling data.</div> | ||
<br/> | ||
<div class="Heading1">Explanation List</div> | ||
<div class="Text">Here the explanation generated by gprof.exe is printed.</div> | ||
</body> | ||
</html> |
16 changes: 16 additions & 0 deletions
16
Help/Interface/Dialog Windows/Profile Analysis/Flat Output.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<link href="../../../content.css" rel="stylesheet" type="text/css"/> | ||
</head> | ||
<body> | ||
<div class="Heading1">Function List</div> | ||
<div class="Text">Here is where the output of GPROF gets placed. This data is generated by the following command:</div> | ||
<div class="Code">gprof -p "executablename"</div> | ||
<div class="Text">This tells GPROF to examine the generated workingdir\gmon.out file which contains the generated profiling data.</div> | ||
<br/> | ||
<div class="Heading1">Explanation List</div> | ||
<div class="Text">Here the explanation generated by gprof.exe is printed.</div> | ||
</body> | ||
</html> |
22 changes: 22 additions & 0 deletions
22
Help/Interface/Dialog Windows/Profile Analysis/Profiling Options.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<link href="../../../content.css" rel="stylesheet" type="text/css"/> | ||
</head> | ||
<body> | ||
<div class="Heading1">Function Hiding</div> | ||
<div class="Heading2">Hide functions not called long enough.</div> | ||
<div class="Text">Unticking this item adds '-z' to GPROF's command line. This will force GPROF to print data about every single function inside the executable.</div> | ||
<br/> | ||
<div class="Heading2">Hide statically linked file-local functions.</div> | ||
<div class="Text">As static functions do not belong to the globals, they are not visible outside the function or file they were defined in. Time spent in them can therefore not be attributed to these globally unknown functions. The actual time spent is added to the function called before it by GPROF. This option will exclude time spent in these functions from the generated data. This option enables the '-s' command.</div> | ||
<br/> | ||
<div class="Heading2">Hide functions called less than x times</div> | ||
<div class="Text">Exactly as the label tells you, function called less than X times will be omited. This options controls the '-m (value)' flag.</div> | ||
<br/> | ||
<div class="Heading1">Custom Commands</div> | ||
<div class="Heading2">Use these commands instead</div> | ||
<div class="Text">If you check this, Dev-C++ will use the commands you enter below instead. These command will be editted to what Dev is currently using if you haven't checked this option.</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<link href="../../../content.css" rel="stylesheet" type="text/css"/> | ||
</head> | ||
<body> | ||
<div class="Heading1">Profile Analysis</div> | ||
<div class="Text">This is Dev-C++'s GUI wrapper around gprof.exe. All data shown here is generated by GPROF.</div> | ||
<br/> | ||
<div class="Heading2">Tips</div> | ||
<div class="Text">Only functions that consume more than 0.01 second of CPU time will show up in the analysis.</div> | ||
</body> | ||
</html> |
Oops, something went wrong.