ProjectOptionsLinker
Use this page to set linker options for your application.
Build Configuration options |
Description |
Build Configuration |
Displays the current named build configuration associated with the options on this page. There are two default build configurations: Debug and Release. To create additional build configurations, enter a name in this field and click Save As.... To delete the named build configuration displayed in this field, click Delete. |
Save As... |
Saves the current configuration to a build configuration with the name specified in the Build Configuration field. |
Delete |
Deletes the configuration specified in the Build Configuration field.. |
Map file items |
Description |
Off |
The linker does not produce a map file. |
Segments |
Causes the linker to produce a map file that includes a list of segments, the program start address, and any warning or error messages produced during the link. |
Publics |
Causes the linker to produce a map file that includes a list of segments, the program start address, any warning or error messages produced during the link, and a list of alphabetically sorted public symbols. |
Detailed |
Causes the linker to produce a map file that includes a list of segments, the program start address, any warning or error messages produced during the link, a list of alphabetically sorted public symbols, and an additional detailed segment map. The detailed segment map includes the segment address, length in bytes, segment name, group, and module information. |
Linker output items |
Description |
Generate DCUs |
Creates the standard Delphi .dcu format files |
Generate C object files |
Creates a C object file for linking with a C program (no name mangling). |
Generate C++ object files |
Creates a C++ object file for linking with C++ (uses C++ name mangling). |
Include namespaces |
Include C++ namespace information in the OBJ and HPP files generated. |
Export all symbols |
Include symbol information in the OBJ and HPP files generated. |
Generate header files |
Include header file information in the OBJ and HPP files generated. |
Generate all C++ Builder files |
Select this to include all namespace, symbol, and header file information in the package. This option applies only to packages. It is recommended that you check this item rather than the items under Generate C++ object files. |
EXE and DLL options items |
Description |
Generate console application |
Causes the linker to set a flag in the application’s .exe file indicating a console mode application. |
Generate .PDB debug info file (.NET) Include TD32 debug info (Win32) |
Causes the compiler to generate debugging information and place it in a program database file the next time you run the application. |
Include remote debug symbols |
Check this if you are using remote debugging. |
Generate .DRCIL file |
Creates a .drcil file containing string resources, which can be compiled into a resource file. |
Memory sizes items |
Description |
Min stack size |
Indicates the initial committed size of the stack (only applicable to executable projects; disabled for DLLs). Memory-size settings can also be specified in your source code with the $M compiler directive. |
Max stack size |
Indicates the total reserved size of the stack (only applicable to executable projects; disabled for DLLs). Memory-size settings can also be specified in your source code with the $M compiler directive. |
Image base |
Specifies the preferred load address of the compiled image. This value is typically only changed when compiling DLLs. |
Description item |
Description |
EXE Description |
This field can contain a string of up to 255 characters. The string is linked to $D and included in the executable file. It is most often used to insert copyright information into the application. Copyright information can also be included as part of the VersionInfo file. Note that this option is only applicable to DLLs and application executables but not for packages. |
COM items |
Description |
Auto Register Type Library |
Available only for projects with a type library. Adds an entry for the type library to your system's Windows registry. |
Generate Import Assembly |
Available only for projects with a type library. After the project is built, tlbimp.exe is executed to generate an interop assembly. |
General item |
Description |
Default |
Saves the current settings as the default for each new project. |
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|