ProjectOptions
This topic lists project options that are no longer available in C++Builder 2009. Some of these options are still available by using the command line switches.
For ease of reference, the unavailable options are listed according to the related utility: C++ Compiler, Resource Compiler. Pascal Compiler, IDL to C++ Compiler, Linker, Librarian (TLib), and Turbo Assembler.
C++ Compiler: CodeGuard compile support |
Description |
CodeGuard debug level |
None * CodeGuard is off. This is the default. Level 0 (-vG0) Enables CodeGuard level 0. Level 1 (-vG1) Enables CodeGuard level 1. This turns on the -vGd option. Level 2 (-vG2) Enables CodeGuard level 2. This turns on the -vGd and -vGt options. Level 3 (-vG3) Enables CodeGuard level 3. This turns on the -vGd, -vGc , and -vGt options. |
C++ Compiler: Compatibility options |
Description |
Place no restrictions on where member pointers can point (-Vmv) |
When this option is enabled, the compiler places no restrictions on where member pointers can point. Member pointers use the most general (but not always the most efficient) representation. |
C++ Compiler: Other Options |
Description |
Ignore system header files while generating dependency info (-mm) |
Ignores system header files while generating dependency information |
Console application (-tC) |
|
C++ Compiler: Target Setting option |
Description |
Windows application (-tW) |
Target is a Windows application (same as -W) |
Console application (-tWC) |
Target is a console application (same as -WC) |
Dynamic-link library (-tWD) |
Generate a .DLL executable (same as -WD) |
32–bit multi-threaded project (-tWM) |
The compiler creates a multi-threaded .EXE or .DLL. (The command-line option -WM is supported for backward compatibility only; it has the same functionality as -tWM.) This option is not needed if you include a module definition file in your compile and link commands which specifies the type of 32-bit application you intend to build. |
Generate a Unicode application (-tWU) |
Generates a Unicode application |
C++ Compiler: Template option |
Description |
Print out all requested instantiations, using C++ syntax (-Jgi) |
Prints out all requested instantiations using C++ syntax. Only applicable to the command line compiler. |
Resource Compiler: Other options |
Description |
Resource (.RC) to compile |
Lists resource files to compile. Only applicable to the command line resource compiler. |
Resource Compiler: Output Setting options |
Description |
Output (.RES) file (-fo) |
Renames the output .RES file. (By default, BRCC32 creates the output .RES file with the same name as the input .RC file.) Only applicable to the command line resource compiler |
Pascal Compiler: Paths and Defines options |
Description |
Object file search paths (-O) |
Sets the object file search paths to the specified paths. |
Resource file search paths (-R) |
Sets resource file search paths to the specified paths. |
Unit search paths (-U) |
Sets the unit search paths to the specified paths. |
Pascal Compiler: Other options |
Description |
Build all units (-B) |
Builds all units. Only applicable to the command line utility DCC32.exe. |
Find error (-F) |
Finds specified error. Only applicable to the command line utility DCC32.exe. |
Make modified units (-M) |
Makes modified units. Only applicable to the command line utility DCC32.exe. |
Quiet compile (-Q) |
Performs a quiet compile. Only applicable to the command line utility DCC32.exe. |
Export symbols (-$ObjExportAll On) |
Exports symbols. |
Real-type compatibility (-$REALCOMPATIBILITY ON) |
Enables real-type compatibility. |
Pascal Compiler: Linker EXE and DLL Output options |
Description |
Console target (-CC) |
Outputs to console target. Only applicable to the command line utility DCC32.exe. |
GUI target (-CG)* |
Outputs to GUI target. Only applicable to the command line utility DCC32.exe. |
IDL to C++ Compiler |
Description |
General |
The IDL to C++ Compiler is no longer in the product. |
Linker: Linking Options |
Description |
Suppress banner (-q) |
Suppresses the banner. |
Linker: Output Settings options |
Description |
Exe file |
The name you want given to the executable file ( .EXE, or .DLL). If you don't specify an executable file name, ILINK32 derives the name of the executable by appending .EXE or .DLL to the first object file name listed. (The linker assumes or appends an .EXE extensions for executable files if no extension is present. It also assumes or appends a .DLL extension for dynamic link libraries if no extension is present.) |
Map file |
Is the name you want given to the map file. If you don't specify a name, the map file name is given the same as exefile (but with the .MAP extension). (The linker appends a .MAP extensions if no extension is present.) |
Linker: Application Type option |
Description |
32–bit Windows application (-aa) |
Generates a protected-mode executable that runs using the 32-bit Windows API. |
Windows device driver (-ad) |
The application type is set to NATIVE, and the image checksum is calculated and set. |
Console application (-ap) |
Generates a 32-bit protected-mode executable file that runs in console mode. |
Linker: Input Setting option |
Description |
Object files |
The .OBJ files you want linked. Specify the path if the files aren't in the current directory. (The linker appends an .OBJ extensions if no extension is present.) |
Library files |
The library files you want included at link time. Do not use commas to separate the libraries listed. If a file is not in the current directory or the search path then you must include the path in the link statement. (The linker appends a .LIB extension if no extension is present.) The order in which you list the libraries is very important; be sure to use the order defined in this list:
|
Resource files |
A list of .RES files (compiled resource files) to bind to the executable. (The linker appends an .RES extension if no extension is present.) |
Def file |
The module definition file for a Windows executable. If you don't specify a module definition (.DEF) file and you have used the /Twe or /Twd option, the linker creates an application based on default settings. (The linker appends a .DEF extension if no extension is present.) |
Linker: Packages option |
Description |
Package base name (-GB) |
Assigns a base name for the package |
Static package (-GI) |
Generates a static package |
Design time only package (-Gpd) |
Generates a design-time-only package. (If neither /Gpr nor /Gpd is used, the resulting package works at both design time and runtime.) |
Runtime only package (-Gpr) |
Generates a runtime-only package. (If neither /Gpr nor /Gpd is used, the resulting package works at both design time and runtime.) |
Linker: Paths and Defines option |
Description |
Specify object search paths (-j) |
Specifies the directories the linker will search if there is no explicit path given for an object module in the compile/link statement. The Specify Object Search Path uses the following command-line syntax: \j<PathSpec>[;<PathSpec>][..] The linker uses the specified object search path(s) if there is no explicit path given for the object file and the linker cannot find the object file in the current directory. For example, the command ILINK32 /jc:\myobjs;.\objs splash.\common\logo,,,utils logolib directs the linker to first search the current directory for SPLASH.OBJ. If it is not found in he current directory, the linker then searches for the file in the C:\MYOBJS directory, and then in the .\OBJs directory. However, notice that the linker does not use the object search paths to find the file LOGO.OBJ because an explicit path was given for this file |
Linker: PE FiIe options |
Description |
Specify image base address (preserve relocation table) (-b) |
Specifies an image base address for your executable or DLL. The load address of the first object in the application or library is set to the number you specify, if possible, and all successive objects are aligned on 64K linear address boundaries; internal fixups are ignored. However, if the module cannot be loaded using the specified address, the operating system reverts to its default setting and applies internal fixups. |
Linker: Windows Application Type options |
Description |
Windows Dynamic-link Library (-Tpd) |
The linker generates a 32-bit protected-mode Windows .DLL file. |
Windows Executable (-Tpe) |
The linker generates a 32-bit protected-mode Windows .EXE file. |
C++ Builder Package (-Tpp) |
The linker generates a package. This switch is included automatically in package makefiles. |
Librarian: Other options |
Description |
Create extended directory (/E) |
Creates an extended directory. Default = False |
Force imports (-f) |
Force imports by name |
Ignore WEP (-i) |
Ignores WEP |
Remove module extentions (-o) |
Removes module extensions |
No warnings (-w) |
No warnings |
Librarian: Input Setting option |
Description |
Sourcefile name |
Assigns a name to the sourcefile |
Librarian: Output Setting option |
Description |
Library name |
Assigns a name to the library |
Turbo Assembler: Output Setting options |
Description |
Output object filename |
Assigns a filename for the output object file |
Listing file filename |
Assigns a filename for the listing file |
Cross-reference file filename |
Assigns a filename for the cross-reference file |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|