Thread View: borland.public.delphi.commandlinetools
3 messages
3 total messages
Started by Gordon Cutts
Thu, 09 Nov 2006 20:10
Help with command line compile please (D2005)
Author: Gordon Cutts
Date: Thu, 09 Nov 2006 20:10
Date: Thu, 09 Nov 2006 20:10
26 lines
2355 bytes
2355 bytes
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
Re: Help with command line compile please (D2005)
Author: Mike Williams (TeamB)
Date: Thu, 09 Nov 2006 20:30
Date: Thu, 09 Nov 2006 20:30
47 lines
2982 bytes
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)
Re: Help with command line compile please (D2005)
Author: Gordon Cutts
Date: Thu, 09 Nov 2006 20:49
Date: Thu, 09 Nov 2006 20:49
20 lines
1539 bytes
1539 bytes
Of course! Talk about not seeing the forest for the trees. Thanks Mike, I will give this a try and see what happens. Everytime I run the bat file I prey to see that exe appear. Gordon > > 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)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads