libstdc++-v3 of gcc 4.1.0 fails during configure on Mac OS X and Cygwin

Niklaus niklaus@gmail.com
Fri Apr 14 07:46:00 GMT 2006


On 4/13/06, Hermann-Simon Lichte <hermann@zitmail.uni-paderborn.de> wrote:
> Hello again,
>
> Please note that gcc 4.0.3 does not reveal this problem. I was able
> to build a 4.0.3 cross-compiler without trouble.
>
> Cheers,
> Hermann
>
> On 13.04.2006, at 08:45, Hermann-Simon Lichte wrote:
>
> > Hello,
> >
> > I wanted to compile gcc 4.1.0 for a powerpc-eabi target using
> > newlib, but libstdc++-v3's configure fails with the following error
> > message:
> >
> > checking for shared libgcc… configure: error: Link tests are not
> > allowed after GCC_NO_EXECUTABLES
> >
> > This error is produced at line # 87576 in configure.
> >
> > This happens both on a Darwin 8.6.0 and a Windows XP Cygwin
> > machine. I have no trouble building 3.x gcc's so in the meantime
> > I'll stick with on of these.
> >
> > Please find attached the bzipped config.log.
> >
> > Any pointers are appreciated.


Do the same thing (you maybe missing out a / or another character).
like go to gcc4-0.3 -v
copy it to a file

do the same thing for gcc4.1.
I think it should work fine.

I just built powerpc-eabi as target. First binutils and then gcc with
newlib. I didn't copy libgloss. But still it worked.Try what i have
done below.




pro@deb:~/powerpc-eabi-env/bin$ ./powerpc-eabi-g++ -v
Using built-in specs.
Target: powerpc-eabi
Configured with: /home/pro/gcc-4.1.0/configure --target=powerpc-eabi
--prefix=/home/pro/powerpc-eabi-env/ --with-newlib
--enable-languages=c,c++ --disable-libssp
Thread model: single
gcc version 4.1.0
pro@deb:~/powerpc-eabi-env/bin$ ./powerpc-eabi-gcc -v
Using built-in specs.
Target: powerpc-eabi
Configured with: /home/pro/gcc-4.1.0/configure --target=powerpc-eabi
--prefix=/home/pro/powerpc-eabi-env/ --with-newlib
--enable-languages=c,c++ --disable-libssp
Thread model: single
gcc version 4.1.0
pro@deb:~/powerpc-eabi-env/bin$


I only got this because  i think i didn't do something properly. The C
compiler is installed correctly. only make install of c++ went wrong.
I would suggest installing them seperately would work fine.

/bin/sh: line 3: cd: powerpc-eabi/libstdc++-v3: No such file or directory
make[1]: *** [install-target-libstdc++-v3] Error 1

> >
> > Cheers,
> > Hermann
> >
> > <config.log.bz2>
> >
>
>



More information about the Gcc-help mailing list