Article View: borland.public.delphi.commandlinetools
Article #331Re: DCC32 cant find *.dcu files
From: Andy
Date: Mon, 29 Nov 2004 15:22
Date: Mon, 29 Nov 2004 15:22
37 lines
2867 bytes
2867 bytes
When i try to delete the *.dcu file before compile then it will show the error message that i have mentioned. "Fatal: File not found: 'Unit1.dc'" Only if i type the command line under the Test1 folder there without the *.dcu still can compile. The command dcc32 c:\test1\project1.dpr will not work if the *.dcu files is not in the Test1 folder there. "Mike Williams [TeamB]" <mlwilliams@gmail.com> wrote in message news:Xns95B0670B9E584mikewteamb@207.105.83.66... > On 29 Nov 2004, "Andy" <ccyew@gprotechnologies.com> wrote: > > > When i type this command line under dos prompt, it will show the > > message "Fatal: File not found: 'Unit1.dcu'" > > It seems can't compile out the *.dcu file if i specify the path. But > > after i compile the application under delphi 5 program and not under > > dos command line, it will success create the Unit1.dcu file. Then i > > try to type the command line as below : > > > > dcc32 c:\test1\project1.dpr > > > > It will work. I think it is because the Unit1.dcu already exist under > > the Test1 folder there. But i wonder is that anyway to do it instead > > of change to the Test1 folder directory to type the dcc32 command if > > the *.dcu is not there? Thanks for advice. > > I just did a quick test and as I suspected the command line compiler > finds the unit properly when running with the complete path to the > program on the command line. What happens when you delete *.DCU before > attempting the compile? > > -- > -Mike (TeamB) > Newsgroup guidelines: http://www.borland.com/newsgroups/guide.html >
Technical Details
Message-ID:
<41ab3e83$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!feeder1.essentkabel.com!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41aa0fe9$1@newsgroups.borland.com> <Xns95AFCDCAED296mikewteamb@207.105.83.66> <41aa8e97@newsgroups.borland.com> <Xns95AFEEA992BCBmikewteamb@207.105.83.66> <41aac126$1@newsgroups.borland.com> <Xns95B0670B9E584mikewteamb@207.105.83.66>Show Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,eccc10fd04db75d3 X-Google-Attributes: gidff8f1,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Andy" <ccyew@gprotechnologies.com> Newsgroups: borland.public.delphi.commandlinetools References: <41aa0fe9$1@newsgroups.borland.com> <Xns95AFCDCAED296mikewteamb@207.105.83.66> <41aa8e97@newsgroups.borland.com> <Xns95AFEEA992BCBmikewteamb@207.105.83.66> <41aac126$1@newsgroups.borland.com> <Xns95B0670B9E584mikewteamb@207.105.83.66> Subject: Re: DCC32 cant find *.dcu files Date: Mon, 29 Nov 2004 23:22:12 +0800 Lines: 39 Organization: Gpro X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 218.208.76.76 Message-ID: <41ab3e83$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1101741699 218.208.76.76 (29 Nov 2004 07:21:39 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!feeder1.essentkabel.com!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail