Raphaël 0 Posted March 21, 2022 Hello, I'm using Delphi 10.2 Version 25.0.29899.2631 and I'm wondering why the commande-line build with dcc64.exe is a lot slower than through the IDE? If I build my bpl, it takes ~ 20-30 seconds with the IDE, and if I copy paste the command-line shown in the messages: it takes about 2m30s. Why is there a such difference? What can I do to make it faster? Thanks for your help! Share this post Link to post
corneliusdavid 214 Posted March 21, 2022 That's not the whole command line; the project file is missing and it looks like an option is cut off. The command-line run by the IDE is likely several lines long as it lists all the library, include, search, resource, and output paths specified in your Delphi environment. Share this post Link to post
Anders Melander 1783 Posted March 21, 2022 I'm guessing the IDE build is using an internal unit cache when it's building. Try comparing an external build through msbuild with an IDE build where the project is configured to use msbuild (Project->Options->Building->Delphi Compiler->Use MSbuild...) Share this post Link to post
Raphaël 0 Posted March 22, 2022 Thanks for your reply! Sorry, I didn't copy the whole line, but I tried again this morning with the "use msbuild": In Delphi: And in the cmd: Strange that there is such a difference, isn't it? Share this post Link to post
Raphaël 0 Posted March 29, 2022 I found out what was the difference... I installed the DDevExtensions that is using fastdcc64.dll in the IDE. Thanks for your help. Share this post Link to post
corneliusdavid 214 Posted March 29, 2022 Interesting. You might try adding the IDE Fix Pack, then: "fastdcc applies the Compiler Speed Pack that is included in IDE Fix Pack to the command line compilers dcc32, dcc64 and dccaarm (XE6 and newer)" Share this post Link to post