Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: dcc32 and 32000 characters limit


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 4 - Last Post: Mar 23, 2015 11:46 PM Last Post By: Grzegorz Chmiel... Threads: [ Previous | Next ]
Grzegorz Chmiel...

Posts: 6
Registered: 12/16/05
dcc32 and 32000 characters limit  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 12, 2015 7:15 AM
Hello,
We use Delphi XE6 and we need to compile projects from command line using dcc32.exe but there is a limit of 32000 characters when doing it and we've got problems with big projects which have many directories in search path (All configurations -> All platforms). The same problem applies to "Use MSBuild externally to compile" option when set to True. The problem is also described here:
http://qc.embarcadero.com/wc/qcmain.aspx?d=124271
When building inside IDE everything is fine but we don't want to run the IDE because it takes much more time and we use multiple threads for a daily build.
Is there any way to solve this problem? Thank you very much in advance.

Best regards,
Jaroslaw Malek
Thomas Grusche

Posts: 14
Registered: 6/29/00
Re: dcc32 and 32000 characters limit  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 12, 2015 8:58 AM   in response to: Grzegorz Chmiel... in response to: Grzegorz Chmiel...
Jarosław Małek wrote:
Hello,
We use Delphi XE6 and we need to compile projects from command line using dcc32.exe but there is a limit of 32000 characters when doing it and we've got problems with big projects which have many directories in search path (All configurations -> All platforms). The same problem applies to "Use MSBuild externally to compile" option when set to True. The problem is also described here:
http://qc.embarcadero.com/wc/qcmain.aspx?d=124271
When building inside IDE everything is fine but we don't want to run the IDE because it takes much more time and we use multiple threads for a daily build.
Is there any way to solve this problem? Thank you very much in advance.

Best regards,
Jaroslaw Malek

Hi Jaroslaw,

maybe something like this [https://www.finalbuilder.com/resources/blogs/postid/722/how-to-fix-your-system-path-after-installing-delphi] helps you.

Another option can be to split your code in static libraries whose directories stay in the search path. Then put all left references to your direct projects source files in the used project file. If you references files in the project file you need no search path for this files. But you have to reference it file by file.

This should help you to avoid path monsters.

Regards,
Thomas.
Vincent Parrett

Posts: 397
Registered: 10/10/99
Re: dcc32 and 32000 characters limit  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 15, 2015 8:07 PM   in response to: Grzegorz Chmiel... in response to: Grzegorz Chmiel...
On 13/03/2015 1:15 AM, Jarosław Małek wrote:
Hello,
We use Delphi XE6 and we need to compile projects from command line using dcc32.exe but there is a limit of 32000 characters when doing it and we've got problems with big projects which have many directories in search path (All configurations -> All platforms). The same problem applies to "Use MSBuild externally to compile" option when set to True. The problem is also described here:
http://qc.embarcadero.com/wc/qcmain.aspx?d=124271
When building inside IDE everything is fine but we don't want to run the IDE because it takes much more time and we use multiple threads for a daily build.
Is there any way to solve this problem? Thank you very much in advance.

Have you looked at FinalBuilder?

--
Regards

Vincent Parrett

VSoft Technologies Pty Ltd
https://www.finalbuilder.com
Blog: https://www.finalbuilder.com/resources/blogs
Automate your Software builds with FinalBuilder.
Uwe Raabe

Posts: 180
Registered: 10/20/00
Re: dcc32 and 32000 characters limit  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 20, 2015 2:28 AM   in response to: Vincent Parrett in response to: Vincent Parrett
Vincent Parrett wrote:

Have you looked at FinalBuilder?

+1, highly recommended!

--
Uwe Raabe
Embarcadero MVP
Grzegorz Chmiel...

Posts: 6
Registered: 12/16/05
Re: dcc32 and 32000 characters limit  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 23, 2015 11:46 PM   in response to: Vincent Parrett in response to: Vincent Parrett
Vincent Parrett wrote:
On 13/03/2015 1:15 AM, Jarosław Małek wrote:
Hello,
We use Delphi XE6 and we need to compile projects from command line using dcc32.exe but there is a limit of 32000 characters when doing it and we've got problems with big projects which have many directories in search path (All configurations -> All platforms). The same problem applies to "Use MSBuild externally to compile" option when set to True. The problem is also described here:
http://qc.embarcadero.com/wc/qcmain.aspx?d=124271
When building inside IDE everything is fine but we don't want to run the IDE because it takes much more time and we use multiple threads for a daily build.
Is there any way to solve this problem? Thank you very much in advance.

Have you looked at FinalBuilder?

I'll check it. Thanks.

Best regards,
Jaroslaw
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02