Re: Creating lock file for compilers that don't support -c -o

From:

Albert Chin

Subject:

Re: Creating lock file for compilers that don't support -c -o

Date:

Tue, 26 Aug 2003 11:32:04 -0500

User-agent:

Mutt/1.4i

On Tue, Aug 26, 2003 at 10:56:47AM -0500, Bob Friesenhahn wrote:
> On Tue, 26 Aug 2003, Robert Collins wrote:
>
> > On Tue, 2003-08-26 at 12:58, Albert Chin wrote:
> >
> >
> > > Why not use $srcfile and "$srcfile.lock" as the lock file? So, rather
> > > than:
> >
> > They may be on different fs's.
>
> Right. It is possible for libtool, the source files, and the object
> files, to reside on three different file systems.
So it looks like we have no alternative but to create a small program
at runtime that creates a file with O_CREAT|O_EXCL?
--
albert chin (address@hidden)