Article View: borland.public.delphi.commandlinetools
Article #363Re: DCC32 and compiling runtime packages...
From: Michael Winter
Date: Sat, 11 Sep 2004 19:24
Date: Sat, 11 Sep 2004 19:24
40 lines
2338 bytes
2338 bytes
Ryan Mills schrieb:
> I'm having a helluva time trying to get dcc32 to compile a runtime package.
>
> I'm using D7 (ent) version of dcc32 and the runtime package I'm trying to
> compile builds just fine in the IDE. But when I try to use dcc32 I get the
> error message "unable to locate the package RTL".
>
> Now I know that the d7 package source reads RTL, instead of RTL70, and
> that ide massages that to be RTL70 when it's doing the compile but how do I
> get dcc32 to do the same? With out modifying the dpk file prior to using
> dcc32!!
Here is how my (private) tool builds the command line for a .dpr file:
"%3:s\dcc32.exe" -Q -B -W -H -E"%7:s" -U"%4:s;%5:s" -R"%5:s" "%1:s%2:s"
and for a .dpk file:
"%3:s\dcc32.exe" -Q -B -W -H -N"%5:s" -LE"%6:s" -LN"%5:s" -U"%4:s;%5:s" -R"%5:s" "%1:s%2:s"
The meaning of N in the %N:s numbers above is
{
0: Current directory name
1: File name to compile without directory or extension
2: File extension incl dot
3: Build tools directory
4: Borland library directory (.dcu, .dcp, .dfm, and .res files)
5: Unit destination directory (target for package .dcu, .dcp and .res
files)
6: Package destination directory (target for .bpl files)
7: Binary destination directory (target for .exe and .dll files)
8: Windows command processor (cmd.exe incl. path)
}
(There are some more lookups in this list since it's used to build other
command lines, too.)
-Michael
Technical Details
Message-ID:
<yjph5e6s1gtm$.dlg@news.michawinter.de>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<obi3k0d3iqdor7ns2cb6pauc699c8kvdfv@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,13cf8c66b8411c69 X-Google-Attributes: gidff8f1,public X-Google-Language: ENGLISH,ASCII-7-bit From: Michael Winter <delphi.net@gmx.net> Subject: Re: DCC32 and compiling runtime packages... Newsgroups: borland.public.delphi.commandlinetools User-Agent: 40tude_Dialog/2.0.10.1de Hamster/2.0.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit References: <obi3k0d3iqdor7ns2cb6pauc699c8kvdfv@4ax.com> Date: Sat, 11 Sep 2004 21:24:53 +0200 Message-ID: <yjph5e6s1gtm$.dlg@news.michawinter.de> NNTP-Posting-Host: 212.144.214.71 X-Trace: newsgroups.borland.com 1094934826 212.144.214.71 (11 Sep 2004 13:33:46 -0700) Lines: 40 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail