|
|
On Tue, 25 Nov 2008 17:30:32 -0800, Darren New wrote:
> Jim Henderson wrote:
>> Logically it doesn't make sense - since offsets change in a library and
>> so on when compiling code.....
>
> I haven't the slightest idea why that would have anything to do with the
> file-system level of whether you delete the file before you recreate it
> or not?
>
> There's good reasons *not* to do that too, like not messing up
> permissions and symlinks.
>
>> And in my test, no, it didn't use the same inode for different
>> compilations of the same C file.
>
> So you ran
> gcc xyz.c
> ls -i a.out
> gcc xyz.c
> ls -i a.out
> and you got two different inodes for a.out?
Modified the code inbetween. If the compiled code doesn't change, then
the point's moot - you'd be building the same library and there'd be no
difference, so who cares if it gets overwritten or not?
Jim
Post a reply to this message
|
|