Thread View: borland.public.delphi.commandlinetools
6 messages
6 total messages
Started by digime
Wed, 26 Apr 2006 11:29
Compiling projects via command line
Author: digime
Date: Wed, 26 Apr 2006 11:29
Date: Wed, 26 Apr 2006 11:29
9 lines
1028 bytes
1028 bytes
Hi, Where can I find command line parameters for D6? I want to compile my projects from BAT file without starting Delphi. Is possible with D6? Thanx for any help.
Re: Compiling projects via command line
Author: Dennis Passmore
Date: Wed, 26 Apr 2006 14:21
Date: Wed, 26 Apr 2006 14:21
11 lines
1359 bytes
1359 bytes
I have built quite a few projects over the years using "DCC32.exe" instead of Delphi32.exe without any problems at all. About the only thing you might have to do is update the bin\Dcc32.cfg file by adding the correct "-U" settings to your default library paths. Dennis Passmore Ultimate Software, Inc "If you cannot conceive the idea you will never achieve the desired results"
Re: Compiling projects via command line
Author: digime
Date: Wed, 26 Apr 2006 16:33
Date: Wed, 26 Apr 2006 16:33
29 lines
1757 bytes
1757 bytes
Thanx for answer, dcc32.cfg has already that path defined with -u I found inside cfg the below lines: -aWinTypes=Windows;WinProcs=Windows;DbiProcs=BDE;DbiTypes=BDE;DbiErrs=BDE -u"D:\Program Files\Borland\Delphi6\lib" Maybe I must add paths of all units from Library here? "Dennis Passmore" <dennis_passmore@nospam_yahoo.com> wrote in message news:590v421c84g7jn7m4p8bhjrerk7jspu5vk@4ax.com... > I have built quite a few projects over the years using "DCC32.exe" instead of Delphi32.exe without > any problems at all. About the only thing you might have to do is update the bin\Dcc32.cfg file by > adding the correct "-U" settings to your default library paths. > > > Dennis Passmore > Ultimate Software, Inc > > > "If you cannot conceive the idea you > will never achieve the desired results"
Re: Compiling projects via command line
Author: digime
Date: Wed, 26 Apr 2006 17:06
Date: Wed, 26 Apr 2006 17:06
27 lines
1888 bytes
1888 bytes
Done! it works, very thanx! for some units an error occour regards directives like: XXXX.inc not found! then I copy that .inc where is missing, defineing a path is not enough. Maybe because those third party components that ask for XXXX.inc are little buged... Another Q: Is possible to compile just project instead of build all units? I can not find out the compiler directive about..... "Dennis Passmore" <dennis_passmore@nospam_yahoo.com> wrote in message news:590v421c84g7jn7m4p8bhjrerk7jspu5vk@4ax.com... > I have built quite a few projects over the years using "DCC32.exe" instead of Delphi32.exe without > any problems at all. About the only thing you might have to do is update the bin\Dcc32.cfg file by > adding the correct "-U" settings to your default library paths. > > > Dennis Passmore > Ultimate Software, Inc > > > "If you cannot conceive the idea you > will never achieve the desired results"
Re: Compiling projects via command line
Author: David Cornelius
Date: Thu, 27 Apr 2006 03:42
Date: Thu, 27 Apr 2006 03:42
13 lines
1535 bytes
1535 bytes
digime wrote: > Another Q: Is possible to compile just project instead of build all units? > I can not find out the compiler directive about..... I think you want -M and be sure to leave off -B. Typing dcc32 /? from the command line gives *most* of the options. It's missing a couple that are important for building packages (for example, -LE and -LN), but has most everything else, I think. -- David Cornelius http://corneliusconcepts.com
Re: Compiling projects via command line
Author: digime
Date: Sun, 07 May 2006 15:21
Date: Sun, 07 May 2006 15:21
22 lines
1854 bytes
1854 bytes
Thanx it works fine I think that dcc32 listen to project option settings to build or compile. If you add other swatches in batch then the project options are overrided.. "David Cornelius" <dc@corneliusconcepts.com> wrote in message news:44503DA4.8000706@corneliusconcepts.com... > digime wrote: > > Another Q: Is possible to compile just project instead of build all units? > > I can not find out the compiler directive about..... > > I think you want -M and be sure to leave off -B. > > Typing dcc32 /? from the command line gives *most* of the options. > It's missing a couple that are important for building packages > (for example, -LE and -LN), but has most everything else, I think. > > -- > David Cornelius > http://corneliusconcepts.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads