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] |
> Why does ../libdecnumber/gstdint.h exist? Is it because you're > configuring in the source directory, and if so can we just tell people > not to do that? Yes, I like doing my builds in-tree. I tried changing my habits to building out-of-tree, but having source files and generated files in different trees is sometimes a pain, so I ended up reverting to my old habits. If this is going to cause too much trouble, then I'll try to change my habits again. (Note: If this is the case, then we need to adjust the README file, which still mentions both options). > Another option would be to add a check for _GL_STDINT_H to > libdecnumber; I suspect they would not mind. In the same category, here is the temporary change I installed in our tree. I called it a horrible hack, but maybe that was an overstatement... > > What occured to me while thinking about all this is that the > > root of the problem is that we have two incompatible files that > > should be identical in practice. Since we are always building > > libdecnumber, can we use libdecnumber's gstdint.h and ditch > > gnulib's stdint.h? > > This could be a problem if we pulled in gnulib modules that > include <stdint.h> from a replacement header. We already use > it in the building of gnulib (str-two-way.h). And I am also wondering about building gdbserver without configuring GDB - that might be a problem too. I can rework a little the comment, but what do you think of the idea? I think it's similar to your suggestion, except that the knowledge is kept on the "client" side rather than the library side. Thanks, -- Joel
Attachment:
stdint.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |