This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Agreed.OK, then ... wouldn't it be better to install this header into a versioned directory, say
$(includedir)/gdb-$(GDB_VERSION) or $(includedir)/gdb/$(GDB_VERSION) ?
Otherwise this file will conflict with other gdbs' versions of this file when having different versions of gdb installed in parallel[1] and should this file change in future versions of gdb.The same is true of everything else that goes into the so-called gdb-datadir, I think.
What we should probably do is make the default gdb-datadir versioned. This is in fact what we manually do at AdaCore, by configuring with --with-gdb-datadir.
I so far have been using --with-gdb-datadir=$(datadir)/$(target)-gdb Likely you are right and I should start using a versioned directory.
Agreed. I'll try to use a versioned --includedir and --with-gdb-datadir in my next build spin.But if this is something you'd like to pursue, it'd be better if you did so in a separate thread. I'd like to keep this purely to track the release. And the suggestion above have drawbacks, so it's not a no-brainer.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |