Ditto on AIX 5.2 / PASE
Wrote: /QOpenSys/openpkg/RPM/PKG/gcc-3.4.4-2.4.0.src.rpm
Wrote: /QOpenSys/openpkg/RPM/PKG/gcc-3.4.4-2.4.0.powerpc-aix5.2-openpkg.rpm
Thanks Ralf
2005/7/25, Doug Summers <[EMAIL PROTECTED]>:
> Ralf S. Engelschall wrote:
> > On Fri, Jul 22, 2005, Ralf S. Engelschall wrote:
> >
> >
> >>On Fri, Jul 22, 2005, Doug Summers wrote:
> >>
> >>
> >>>[...]
> >>>I was also able to get GCC to build, by using --define="with_binutils
> >>>no" and removing the RPM version of binutils. The mv command is failing
> >>>because of the parent directory being deleted a couple of commands
> >>>before. I really think it's the order of the libraries that's causing
> >>>the problem, but I don't know where to look. I'm wondering if taking out
> >>>the rm -rf command in the cleanup section would cause any problems.
> >>
> >>I'll try to investigate on this issue...
> >
> >
> > Does the following change fix your problem?
> >
> > Index: gcc.spec
> > ===================================================================
> > RCS file: /v/openpkg/cvs/openpkg-src/gcc/gcc.spec,v
> > retrieving revision 1.110
> > diff -u -d -u -d -u -d -r1.110 gcc.spec
> > --- gcc.spec 7 Jul 2005 08:28:02 -0000 1.110
> > +++ gcc.spec 22 Jul 2005 20:20:55 -0000
> > @@ -246,11 +246,15 @@
> > # cleanup installation tree
> > mv $RPM_BUILD_ROOT%{l_prefix}/lib/lib*.a \
> > $RPM_BUILD_ROOT%{l_prefix}/lib/gcc%{V_comp}/${triple}/[0-9]*/
> > + dirs=""
> > for multilib in `$RPM_BUILD_ROOT%{l_prefix}/bin/gcc
> > --print-multi-lib`; do
> > subdir=`echo "$multilib" | sed -e 's/;.*$//'`
> > [ ".$subdir" = .. ] && continue
> > mv $RPM_BUILD_ROOT%{l_prefix}/lib/$subdir/lib*.a \
> >
> > $RPM_BUILD_ROOT%{l_prefix}/lib/gcc%{V_comp}/${triple}/[0-9]*/$subdir/
> > + dirs="$dirs $subdir"
> > + done
> > + for subdir in $dirs; do
> > rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/$subdir
> > done
> > mv $RPM_BUILD_ROOT%{l_prefix}/${triple}/include/* \
> >
> > Ralf S. Engelschall
> > [EMAIL PROTECTED]
> > www.engelschall.com
> >
>
> Got a clean compile on AIX 5.1. I'm trying to compile perl now (needed
> to add --define="l_cc gcc"; it didn't like OpenPKG's cc compiler).
>
> Doug
> ______________________________________________________________________
> The OpenPKG Project www.openpkg.org
> User Communication List [email protected]
>
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [email protected]