This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [RFA] fix AIX builds


> Setting it via NAT_CLIBS will always cause gdb (for native AIX)
> to be linked against libpthdebug.  That *should* be okay.  (I'm not
> completely certain though.)

I think it should be okay too, because there should be no code using
this library. However, it's a bit of a shame to be linking in this
library unconditionaly...

> Just out of curiosity, did you try changing:
> 
>          CONFIG_LDFLAGS="${CONFIG_LDFLAGS} -lpthdebug"
> 
> to:
> 
>          LIBS="${LIBS} -lpthdebug"
> ?

I like it better too. I'd love to test this change and commit it, but
since I tested this change on our AiX 5.1 machine, a successful build
here will not mean a succesful build on Martin's machine.

Martin, would you mind trying out Kevin's suggestion?

Thanks,
-- 
Joel


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