Re: [PATCH] Also install data-directory into the build directory as computed by relocate_gdb_directory

Khoo Yit Phang
2012-10-06T20:32:33Z

Hi,

On Oct 6, 2012, at 4:28 PM, Eli Zaretskii wrote:

>> On Oct 6, 2012, at 4:06 PM, Eli Zaretskii wrote:
>>
>>>> But we have to make assumptions about other applications that are not under our control, that they do not use the same files, which I think is an assumption that we should avoid if possible (who knows what's out there).
>>>
>>> How many other packages will have a file called doc/gdb.info or
>>> doc/gdbint.info in their build tree? How many of them will have
>>> something called i386-cygwin-tdep.o or mi/mi-cmds.o? I could find
>>> many more files whose probability to be in a non-GDB tree is exactly
>>> zero.
>>>
>>> I think the problem you are afraid of doesn't exist.
>>
>> I'm simply offering alternative solutions that work regardless of whether the problem exists or not, and in some cases, is much simpler to implement. Isn't that a good thing?
>
> I don't consider those alternatives simpler from the user POV, sorry.

I've outlined all the trade-offs that I can think of for various solutions; can you explain what I'm missing?

Yit
October 6, 2012