Are there any other resources on how to setup and configure DCC32.exe?
Also, how to pass conditional variables, additional search paths, etc.
Gordon Turner
> It seems like the compiler does not know about the Library Paths
> that load with Delphi (I'm using D7 right now)
Because they don't exist. You have to specify the paths on the command line
via the -I, -R, and -U parameters.
> Are there any other resources on how to setup and configure DCC32.exe?
Have you tried simply running it without any parameters specified? It will
tell you what parameters are available for you to use.
> Also, how to pass conditional variables
The -D parameter.
> additional search paths, etc.
See above.
Gambit
There are a couple missing from the list and are important:
-LE"d:\borland\delphi7\Projects\Bpl"
-LN"d:\borland\delphi7\Projects\Bpl"
I believe the first one is for the package *.bpl files and the other is
for the *.dcp files. Here they point to my default folder for compiled
package files.
Jim
--
www.mustangpeak.net
If:
a) it is not too late / infeasible to choose another tool
b) your time costs money
consider using an automated build tool that 'knows' about all of the Delphi settings and options and presents them in a familiar way. I (strictly as a very satisfied customer) highly recommend VSoft's FinalBuilder:
--
Chris Burrows
CFB Software
http://www.cfbsoftware.com/cp
Try to look for YourProjectName.cfg and for dcc32.cfg. The latter is
IIRC the name for the default settings, while YourProjectName.cfg
contains settings for YourProjectName.dpr. These .cfg files are
generated by the IDE, AFAIK.
DCC32, when run without any parameters, will display a long help text
giving the meanings of its command line parameters.
--
Rudy Velthuis [TeamB] http://www.teamb.com
"Never mistake motion for action."
-- Ernest Hemingway (1899-1961)