This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: compile problems with gcc 4.5.0
- From: "Klaus Rudolph" <lts-rudolph at gmx dot de>
- To: tprince at computer dot org, gcc-help at gcc dot gnu dot org
- Date: Wed, 05 May 2010 08:15:12 +0200
- Subject: Re: compile problems with gcc 4.5.0
- References: <20100503094301.258070@gmx.net> <z2t4348dea51005030543k6144f74o7c0d3313ae2c62a1@mail.gmail.com> <20100503141451.249420@gmx.net> <4BDF223D.1050804@aol.com>
> On 5/3/2010 7:14 AM, Klaus Rudolph wrote:
> >
> > checking for the GMP library version 4.1.3 or above... no
> > configure: error: Cannot find GMP version 4.1.3 or higher.
> > GMP is the GNU Multi-Precision library:
> > see http://www.swox.com/gmp/ for more information.
> > When compiling the GMP library, do not forget to enable the C++
> interface:
> > add --enable-cxx to the configuration options.
> > make[2]: *** [configure-stage1-ppl] Fehler 1
> > make[2]: Verlasse Verzeichnis '/home/krud/work/gcc-4.5.0/build_linux'
> > make[1]: *** [stage1-bubble] Fehler 2
> > make[1]: Verlasse Verzeichnis '/home/krud/work/gcc-4.5.0/build_linux'
> > make: *** [all] Fehler 2
> >
> >
> > I also copied gmp-4.3.1 to the gcc path but got the same results.
> >
> > How can I proceed here?
> >
> >
> Can't make out for sure what you did, but (in my experience) the easy
> way is to remove all old versions and install an acceptable gmp either
> from the online updates for your distro or from source, configured with
> --prefix=/usr/ if that's the expectation of your distro.
>
I installed now gmp-libs version 5.0.1 and have the same trouble. I also did ldconfig.
Is there no chance to install gcc 4.5.0 on my system? I have no idea how to fix that problem. I have installed gmp to /usr, I have copied sources to gcc-4.5.0 path and now?
Is there any hack for the configure file? Maybe an additional --with-gmp option to the already inserted gmp sources in the gcc-4.5.0 path?
How can I see which wrong libgmp the build toolchain is checking and got the result that this is wrong.
Is maybe the gmp version 5.0.1 now higher than the required 4.3.1???
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01