Are you running the compiler in the project folder? Is the command line compiler fully qualified or using your system PATH to find it? If relying on the path, do you have multiple Delphi versions installed? And if so, which version is it that you are picking up?
That article you linked to says that the compiler looks for DCC32.cfg in two locations before finally looking for any PROJECT.CFG in the project folder. Are you sure you do not have a DCC32.CFG that the compiler is picking up and using in preference to your project CFG files? There doesn't appear to be any way to prevent that from happening, other than making sure you don't have a DCC32.cfg file "polluting" your build environment (where you aren't using one - if you are using one then you presumably do so precisely to AVOID having project specific CFG files, but having *both* wouldn't appear to be an option). I've just introduced FinalBuilder in my day job and I have to say that some querks aside it makes automating builds a breeze, with complete control over such things, including demystifying the entire CFG issue by allowing you to configure compiler settings within the build project (if you wish), entirely independently of any environmental configuration files that might be hanging around. -----Original Message----- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of John Bird Sent: Monday, 2 November 2009 12:36 p.m. To: NZ Borland Developers Group - Delphi List Subject: [DUG] Command Line Compiler Like many I have need to recompile a whole suite of programs, and the command line compiler seems ideal for this. However it seems to put the exe files in the same folder as the project files, which means that it is not following the project setups eg for Directories/Conditionals Output folder. I tried comapring the exe files made by the IDE and the command line, eg for one they are the same size but do have some binary differences. What are these other differences? Ideally I want to set up the command line compiler to produce the same as my IDE compiler, but this does not seem obvious. Or turn on or off some well defined things, such as turn on optimisations I found a good article such as http://www.delphi3000.com/articles/article_4585.asp?SK= But I hesitate to use the command line if there are other unknown differences in the exe produced. But I am getting mightily bored with opening one project after another and hitting F9 John _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe