8 Dec 2009 17:00
GPC 20060325 + GCC 3.4.6 on AIX 6.1 (was: Re: GPC support for AIX 6?)
Gert Doering <gd <at> medat.de>
2009-12-08 16:00:41 GMT
2009-12-08 16:00:41 GMT
Hi, just to follow up on something from last year... fully quoted to make clear what I'm talking about - and for the sake of the archives. On Wed, Oct 15, 2008 at 11:41:13PM +0200, Waldek Hebisch wrote: > Gert Doering wrote: > > Hi, > > Well, if my understanding is correct, the GCC backend (code generation > > and such) needs to support the platform in question. Otherwise you can't > > build GPC either. > > > > Based on that understanding, I did not try to build a 3.4.x-based gpc on > > APX 6 yet - as gcc-3.4.x itself isn't going to work. > > AFAICS the "AIX 6 support" is the following patch: > > http://gcc.gnu.org/ml/gcc-patches/2008-01/msg01114.html > > This patch fixes a bug in gcc build scripts: before patch build > script would treat AIX 6 like some ancient AIX version which > may have very bad results. The patch effectively means that > AXI 6 will be treated the same as AIX 5. Given that, it is > likely that building compiler on AIX 5 and transferring binary > to AIX 6 will give you perfectly running compiler. If you > want to build on AIX 6 backporting the patch should be relatively > easy. > > Bottom line: trying to build unpatched earlier versions of gcc > is likely to fail. However, changes to gcc needed to work on AIX 6(Continue reading)
On Thu, Jul 06, 2006 at 07:32:31PM +0200, Frank Heckenbach wrote:
> Waldek Hebisch wrote:
>
> > Frank Heckenbach wrote:
> > > Waldek Hebisch wrote:
> > >
> > > > The driver passes options to collect2 via environment (see
> > > > `set_collect_gcc_options' in `gpc.c'). The problem is that the driver
> > > > does not remove options which are invalid for C compiler. In principle
> > > > other languages should have the same problem, I wonder how (if???) they
> > > > handle it.
> > >
> > > Do you know what collect2 has to compile here at all? Perhaps other
> > > languages don't need to, and perhaps we can avoid it as well ...
> > >
> >
> > I do not know more details, all I know is just from quick scan trough
> > collect2 sources. Perhaps we should ask on gcc list?
>
> Can you (Gert) check what it does? Perhaps catch the input file to
> collect2 and send it to us?
>
> Frank
Actually the input file is not overly helpful, as it really only is the
RSS Feed