This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch] Allow compilation by IBM's xlc compiler
On Fri, Apr 01, 2005 at 03:03:35PM -0800, Paul Gilliam wrote:
> On Friday 01 April 2005 14:45, Daniel Jacobowitz wrote:
> > On Fri, Apr 01, 2005 at 02:40:16PM -0800, Paul Gilliam wrote:
> > >
> > >
> >
> > Several of your mails have been empty - not useful.
>
> Please don't exagerate: it's only 40% 8-)
They were still coming in when I wrote that :-)
> > Also, they could all do with a little explanation.
>
> I thought the subject was enough, but if you want more detail, I can do that.
> Basicly we're just trying to get the testsuite to run with the IBM xlc compiler.
> For the most part, it's just renameing the flags: -qmkshrobj for -shared,
> -qpic for -fpic and that kind of thing. In one case, xlc was puting out a warning
> that gcc doesn't and that had be turned off.
Explanations with the patch, please. No exceptions. I want to be able
to look back in the archives and understand why a patch was needed.
> > The patches for -shared are not great. I posted a testcase (several
> > months ago, for a patch which is still pending) which moved the
> > PIC/shared tests to lib/gdb.exp. One of us should dust off that patch
> > if you need to add cases to every one of them.
> >
>
> Could you give me a URL to your testsuite patch? I have 6 or so of these so If
> you have a better way, I'd love to use it.
http://sources.redhat.com/ml/gdb-patches/2004-11/msg00538.html
The testcase should wait until the patch it's testing is reviewed, but
you can use the lib/gdb.exp bits.
--
Daniel Jacobowitz
CodeSourcery, LLC