Show: Delphi C++
Display Preferences

DCCOSX.EXE, the Delphi Cross Compiler for OS X

From RAD Studio
Jump to: navigation, search

Go Up to Command-Line Utilities Index


DCCOSX.EXE is the cross-compiler version of DCC32.EXE, the Delphi (Object Pascal) command line compiler.

Contents

Compiler Output

File Extension Description

none

Cross compiled executable file for the Mac

.dcu

Delphi cross compiled unit file

No list file will be delivered

Listing file

.o

Object file (.obj for Windows)

Options Not Supported by DCCOSX.EXE

The DCCOSX.EXE cross-compiler does not support the PE header options (for Windows) that DCC32.EXE supports.

The PE header options (specified in the Project > Options > Delphi Compiler > Linking dialog box) include, among others, the following options:

  • peflags:<flags>
  • peoptflags:<flags
  • peosversion:<major>.<minor>

Another DCC32 command line option not supported by DCCOSX is:

-K<addr> = Set image base addr

The Delphi compiler now ignores the {$STRINGCHECKS} directive, so the following is no longer in the command line help:

 --string-checks:{on|off} 

Displaying the Help

To display the help for the command-line compiler, run the compiler with the -h switch:

dccosx -h

See Also

Personal tools
In other languages