🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.commandlinetools
Article #30

Re: Help with command line compile please (D2005)

#30
From: Mike Williams (TeamB)
Date: Thu, 09 Nov 2006 20:30
47 lines
2982 bytes
Gordon Cutts wrote:

> Hi everyone,
> I really need some help here please.  I have taken the command line
> compile options from the IDE in D2005 (i.e. Tools | Options |Show
> Command Line).  I noticed that the format of it wasn't correct so I
> have been toying with the format a bit, however I can't get it to
> work.  No matter what happens I get an F2039 Could not  create output
> file error.  I have a feeling it has something to do incorrent
> syntax.  I hope you can help.  I have been looking at this for over 3
> days now and my eyes are killing me.  I have included all paths for
> the flags U, O and R in the dcc32.cfg file.
> 
> Thanks for any help you can offer.
> 
> Gordon
> 
> This is the bat file I have for the build:
> 
> "c:\Program Files\Borland\BDS\3.0\Bin\dcc32.exe"
> "c:\Teledriver2005\SourceNJT\General\admGeneral\admGeneral.dpr"  -$A8
> -$B- -$C-  -$D- -$E- -$F- -$G+ -$H+ -$I+ -$J- -$K- -$L- -$M- -$N+
> -$O+ -$P+ -$Q- -$R-  -$S- -$T- -$U- -$V+ -$W- -$X+ -$Y- -$Z1 -B -H+
> -W $M16384,1048576 $K4194304 -CG
> -EC:\Teledriver2005\SourceNJT\General\admGeneral\ -DNETSEC
> OutPutDir="c:\Teledriver2005\NJTBinary\"
> -N"c:\Teledriver2005\NJTUnits\admGeneral\" PkgDllDir="C:\Documents
> and Settings\gcutts\Borland Studio Projects\Bpl"
> PkgDcpDir="C:\Documents and Settings\gcutts\Borland Studio
> Projects\Bpl"
> -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=
> BDE;  -C0 -W-SYMBOL_PLATFORM -W-UNIT_PLATFORM -W-UNSAFE_TYPE
> -W-UNSAFE_CODE -W-UNSAFE_CAST

Chances are you don't need the vast majority of the options that the
IDE claims to be using. I suggest that you start out simple and go from
there.

From a command prompt, change to the source directory and try:

  dcc32 admGeneral.dpr

What happens?  If it can't find some units add the appropriate paths as
needed to the dcc32.cfg file and try again.

-- 
-Mike (TeamB)
Technical Details
Message-ID: <xn0etind0000000g@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45538b17@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,2b693283e11ce19c
X-Google-Attributes: gidff8f1,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mike Williams (TeamB)" <mlwi!!iams@gmail!.com>
Subject: Re: Help with command line compile please (D2005)
Newsgroups: borland.public.delphi.commandlinetools
Reply-To: "Mike Williams (TeamB)" <mlwi!!iams@gmai!.com>
References:  <45538b17@newsgroups.borland.com>
Organization: APS, Inc.
Date: Thu, 9 Nov 2006 15:30:08 -0500
User-Agent: XanaNews/1.18.1.3
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobrp]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
Message-ID: <xn0etind0000000g@newsgroups.borland.com>
X-Ref: newsgroups.borland.com ~XNS:000000FF
NNTP-Posting-Host: 66.107.65.98
X-Trace: newsgroups.borland.com 1163104193 66.107.65.98 (9 Nov 2006 12:29:53 -0700)
Lines: 47
X-Authenticated-User: mwilliams
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail