Thread: dcc32 and 32000 characters limit
 |
This question is answered.
Helpful answers available: 2.
Correct answers available: 1.
|
|
Replies:
4
-
Last Post:
Mar 23, 2015 11:46 PM
Last Post By: Grzegorz Chmiel...
|
Threads:
[
Previous
|
Next
]
|
|
Posts:
6
Registered:
12/16/05
|
|
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
|
|
|
Posts:
14
Registered:
6/29/00
|
|
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.
|
|
|
|
Posts:
397
Registered:
10/10/99
|
|
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.
|
|
|
|
Posts:
180
Registered:
10/20/00
|
|
Vincent Parrett wrote:
Have you looked at FinalBuilder?
+1, highly recommended!
--
Uwe Raabe
Embarcadero MVP
|
|
|
|
Posts:
6
Registered:
12/16/05
|
|
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)
|
|
Connect with Us