🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

using dcc32 on a .pas file does not checktimestamp?

#284
From: Mark Elder
Date: Thu, 17 Feb 2005 20:55
23 lines
1804 bytes
Hello,

I have some library files that I am trying to build in an automated 
build process.  These files do not generate and exe but are instead used 
by other projects.  I was trying to avoid using a package and just 
reference the dcu files.  My build process is building the library 
components first and then each project.

When dcc32 is passed a .pas file it seem to always compile that file 
even if the dcu has a timestamp that does not need to be updated.  The 
/M switch does not seem to have any affect on this behavior.

Right now I am creating a dummy pas file that has all the other files 
listed in its uses clause.  It looks like the timestamp is checked for 
any dependencies.  Just not for the file name passed to dcc32.

Is there a different switch I can use to only rebuild if necessary.  Or 
is this a really stupid way to approach this problem and I really should 
be building packages?

Thanks,

Mark
Technical Details
Message-ID: <421504db$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,639350cc3ab9f1b3,start
X-Google-Attributes: gidff8f1,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 17 Feb 2005 13:55:57 -0700
From: Mark Elder <Mark.uaar@midconetwork.com>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.delphi.commandlinetools
Subject: using dcc32 on a .pas file does not checktimestamp?
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.230.62.149
Message-ID: <421504db$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1108673755 24.230.62.149 (17 Feb 2005 12:55:55 -0800)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail