This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: libiberty
>> I'm building gdb for MinGW and I was wondering if gdb needs to use
>> it's own libiberty? ?If not, is it possible to link against the
>> libiberty included as part of binutils? ?How would I go about doing so
>> assuming it is possible?
>
> Generally GDB needs to use its own copy. ?Applications using libiberty
> always include their own copy for this reason.
Fair enough, is there a way to add a prefix specifically to gdb's
libiberty (i.e. instead of installing to lib32/libiberty.a install to
lib32/gdb/libiberty.a), or perhaps add a suffix (like libiberty.gdb.a)
so as to not cause a conflict with binutils' libiberty?
Thank you,
Chris
--
Chris Sutcliffe
http://emergedesktop.org