Questions tagged [dcc32]

The command-line compiler provided to build Delphi applications.

DCC32.EXE is the Delphi (Object Pascal) command line compiler.

Variant:

The Delphi (Object Pascal) command line compiler for 32-bit Windows is DCC32.exe.
The Delphi cross compiler for 64-bit Windows is DCC64.exe.
The Delphi cross compiler for Mac OS X is DCCOSX.exe.

More info on the official Embarcadero wiki: http://docwiki.embarcadero.com/RADStudio/XE2/en/DCC32.EXE,_the_Delphi_Command_Line_Compiler

34 questions
2
votes
1 answer

Error F2063 Could not compile used unit (of dependent package)

I have written 2 packages: MEComps_DXE5 and AMLComps_DXE5. The latter depends on the former. Both should be multi-platform: Win32, Win64, and (in the future) OSX. When I open the first package MEComps_DXE5, I am able to compile it, build it and…
Frazz
  • 2,995
  • 2
  • 19
  • 33
2
votes
2 answers

Can E2064 be disabled in Delphi XE4?

I have the following sample code in my DUnitX test project that fails to compile. This sample code is scoped identically to code that compiles without errors in a very large VCL forms project. Both projects are using Delphi XE4, yet when I reference…
John Kaster
  • 2,509
  • 1
  • 33
  • 40
2
votes
3 answers

Compile delphi 5 code in Delphi 2009

It is possible to work with a Delphi 5 project in the Delphi 2009 IDE by referencing the Delphi 5 version of dcc32? If so are there any issues to watch out for concerning the way that project settings (search paths, conditional defines etc.) are…
Willbill
  • 4,673
  • 6
  • 24
  • 25
1
vote
3 answers

Command-line for DCC is too long while using MSBuild to compile Delphi project

We use MSBuild to build our Delphi projects. Sometimes the DCC32 commandline gets too long (>32K characters) and fails. This is caused by our Search Path. We have already shorten this path using relative paths, combining sources, etc. This fixed it…
Laurens
  • 325
  • 2
  • 12
1
vote
0 answers

Is there a way to turn compiler switch directives to the current default state (instead of just ON or OFF)?

For Delphi compiler directives, is there a way to turn a switch directive to its "current global default state"? I have read the documentation page at http://docwiki.embarcadero.com/RADStudio/Sydney/en/Delphi_compiler_directives, but it explains…
Matthias B
  • 404
  • 4
  • 11
1
vote
1 answer

Suppress hints in the Delphi command-line compilers (dcc32.exe etc.)

How do I suppress hints when using the Delphi command-line compilers? (I.e. dcc32.exe, dcc64.exe, dcclinux64.exe etc.) I know that {$HINTS OFF} can be used in the source code to turn hints off, but its scope is local and affects only the code in the…
Matthias B
  • 404
  • 4
  • 11
1
vote
1 answer

Inherited Delphi 2007 Project and need to compile it

I've spent quite a bit of time (nearly a full day at this point) trying to figure out how to get an IDE that can compile a Delphi 2007 project. I have only found solutions using the Delphi IDE (From RAD Studio, which has a license fee of…
1
vote
1 answer

Delphi dcc32 and manifest compilation

How to compile a Delphi project using DCC32.EXE with the default manifest file? I've compiled some project and the Task Dialog doesn't appear because of missing the manifest file. When I compile from the IDE everything works fine but when I use the…
1
vote
1 answer

Is it possible to output paths to source files in Delphi debug map?

-GD Delphi compiler switch allows for an output of a detailed debug map. Such file contains e.g. an information about files that were compiled into an application. Line numbers for UnitName(UnitName.pas) segment .text 49 0001:001D27EC 50…
Bartek
  • 169
  • 9
1
vote
4 answers

How do I tell Delphi to use the local project's Security.pas file rather than Winapi.Security.pas in DXS?

Delphi 10 Seattle introduces Winapi.Security.pas. The project (a package) I'm trying to upgrade already has a Security.pas file. Short of removing Winapi from the list of scope names for the project (huge undesirable ripple effect), is there a way…
John Kaster
  • 2,509
  • 1
  • 33
  • 40
0
votes
1 answer

How to compile GUI code using Delphi 7 command line?

I have Delphi 7 as my IDE, which successfully compiles GUI code through the IDE and creates an executable. I want to compile the same code through the command-line using dcc32.exe, which is Delphi 7's compiler. I have a .cfg file created by the IDE…
BND
  • 51
  • 12
0
votes
0 answers

how to make the dataset with the same number of rows

Hello I'm trying to estimate the Dcc model, but I have this problem. Can someone help me to understand how to imply the same row as my variables have a different number of rows. This is my code dcc.fit= dccfit(dcc.garch11.spec,…
0
votes
0 answers

dcc32 output truncates file paths longer then 128 chars

program Project1; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils; begin try a := 1; { TODO -oUser -cConsole Main : Insert code here } except on E: Exception do Writeln(E.ClassName, ': ', E.Message); end; end. dcc32…
Rodrigo Caetano
  • 379
  • 1
  • 13
0
votes
1 answer

Delphi 10.3 compilations using DCC32 have the old Delphi 5 visual style

A few weeks ago, our company migrated from Delphi 5 to Delphi 10.3 Rio. After some problems, we've reached our goal to compile our solutions (many EXEs) with the new IDE. We're using DCC32 to compile our projects every day. Unfortunately, some of…
aaa
  • 13
  • 2
0
votes
0 answers

how to find all units of a delphi project

how to get a list of all needed files for a delphi Project? the files are in different directories, because some are used in different projects and must be transfered to a third party (ESCROW), but only the needed files shall be transferred and no…
user2807653
  • 79
  • 2
  • 7