This is the mail archive of the gdb-prs@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]

[Bug build/17077] --with-system-readline uses bundled readline include files


https://sourceware.org/bugzilla/show_bug.cgi?id=17077

--- Comment #8 from dilyan.palauzov at aegee dot org <dilyan.palauzov at aegee dot org> ---
While -iquote is supported in gcc, clang and Intel's C++, HP aC++ does not
support it.  

Another approach would be to use -I- instead, which is supported by HP aC++ and
Oracle's Solaris Studio, but IBM's XL C++ compiler does not support it.  For
the latter is stated explicitly, that gxlc, a utility that accepts GNU C or C++
compiler options and translates them into comparable XL C/C++ options, does not
understand -I- and therefore generates a warning.

To sum up, either the -I- option is applied, until somebody complains that a
compiler is not working, or the bintutils-gdb/readline directory is moved to
binutils-gdb/rl/readline (or alike) and -Irl is comnditionally added to
CPPFLAGS.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]