Article View: borland.public.delphi.commandlinetools
Article #2Re: DCC32 Compiles only Main Form/Unit!
From: digime
Date: Thu, 31 Aug 2006 13:06
Date: Thu, 31 Aug 2006 13:06
34 lines
2132 bytes
2132 bytes
Hmmm.. I have already tried to declare paths of my project units in to dcc32.cfg. The strange thing is that the not compiled units are used by the project and they are located near the .dpr file! (in the same folder) However I solve it!. The problem was that I have executed the batch file from another folder (outside the project folder) without pointing the Current Directory to my project folder. Note, that all my paths are full paths to folders, but that it wasn't enough. Batch file sample: CD "C:\ProjectFolder" "C:\Program Files\Borland\....\Bin\dcc32.exe" -M -W "C:\ProjectFolder\Project1.dpr" It works!, Thank You Any Way. Regards "Dennis Passmore" <dennisp@nospam_dpassmore.com> wrote in message news:sr6df2hhv35mfc26oehs7uq47abefh2a8o@4ax.com... > DCC32.exe uses a config file named dcc32.cfg in the Delphi\bin folder > to locate the library search paths to be used during a build. The IDE > uses entries stored in the registry. If your project is spread across > several folders or even drives then you will need to manually update > the dcc32.cfg and update the "-u" params to tell it where the rest > of your files are located. >
Technical Details
Message-ID:
<44f6ddaa@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<44f6449a$1@newsgroups.borland.com> <sr6df2hhv35mfc26oehs7uq47abefh2a8o@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,383e10a55b59c8e9 X-Google-Attributes: gidff8f1,public X-Google-Language: ENGLISH,ASCII-7-bit From: "digime" <digime@auf_server.com> Newsgroups: borland.public.delphi.commandlinetools References: <44f6449a$1@newsgroups.borland.com> <sr6df2hhv35mfc26oehs7uq47abefh2a8o@4ax.com> Subject: Re: DCC32 Compiles only Main Form/Unit! Date: Thu, 31 Aug 2006 15:06:34 +0200 Lines: 36 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 84.255.246.238 Message-ID: <44f6ddaa@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1157029290 84.255.246.238 (31 Aug 2006 06:01:30 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail