* libstdc++-v3 of gcc 4.1.0 fails during configure on Mac OS X and Cygwin
@ 2006-04-13 6:45 Hermann-Simon Lichte
2006-04-13 9:11 ` Niklaus
2006-04-13 16:39 ` Hermann-Simon Lichte
0 siblings, 2 replies; 5+ messages in thread
From: Hermann-Simon Lichte @ 2006-04-13 6:45 UTC (permalink / raw)
To: gcc-help
[-- Attachment #1: Type: text/plain, Size: 579 bytes --]
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.
Cheers,
Hermann
[-- Attachment #2: config.log.bz2 --]
[-- Type: application/octet-stream, Size: 9049 bytes --]
[-- Attachment #3: Type: text/plain, Size: 1 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: libstdc++-v3 of gcc 4.1.0 fails during configure on Mac OS X and Cygwin
2006-04-13 6:45 libstdc++-v3 of gcc 4.1.0 fails during configure on Mac OS X and Cygwin Hermann-Simon Lichte
@ 2006-04-13 9:11 ` Niklaus
2006-04-13 9:39 ` Hermann-Simon Lichte
2006-04-13 16:39 ` Hermann-Simon Lichte
1 sibling, 1 reply; 5+ messages in thread
From: Niklaus @ 2006-04-13 9:11 UTC (permalink / raw)
To: Hermann-Simon Lichte; +Cc: gcc-help
On 4/13/06, Hermann-Simon Lichte <hermann@zitmail.uni-paderborn.de> 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
I am not sure why this occurs but it can be more of a configure error
than a gcc error.
Moreover trying buiding with same options but end a directory like
--prefix=/a/ instead of --prefix=/a .
Can tell me how you are building the stuff. Like the steps and
commands you used.
>
> 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.
>
> Cheers,
> Hermann
>
>
>
>
>
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: libstdc++-v3 of gcc 4.1.0 fails during configure on Mac OS X and Cygwin
2006-04-13 9:11 ` Niklaus
@ 2006-04-13 9:39 ` Hermann-Simon Lichte
0 siblings, 0 replies; 5+ messages in thread
From: Hermann-Simon Lichte @ 2006-04-13 9:39 UTC (permalink / raw)
To: Niklaus; +Cc: gcc-help
> I am not sure why this occurs but it can be more of a configure error
> than a gcc error.
>
> Moreover trying buiding with same options but end a directory like
> --prefix=/a/ instead of --prefix=/a .
>
> Can tell me how you are building the stuff. Like the steps and
> commands you used.
I copied the libgloss and the newlib directory of the latest newlib
release (1.14) into the gcc source tree and configured with the
following parameters:
--target=powerpc-eabi --prefix=/usr/local/gcc-powerpc-eabi --with-
local-prefix=/usr/local/gcc-powerpc-eabi --enable-languages=c,c++ --
with-newlib
Thanks for your help.
Cheers,
Hermann
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: libstdc++-v3 of gcc 4.1.0 fails during configure on Mac OS X and Cygwin
2006-04-13 6:45 libstdc++-v3 of gcc 4.1.0 fails during configure on Mac OS X and Cygwin Hermann-Simon Lichte
2006-04-13 9:11 ` Niklaus
@ 2006-04-13 16:39 ` Hermann-Simon Lichte
2006-04-14 7:46 ` Niklaus
1 sibling, 1 reply; 5+ messages in thread
From: Hermann-Simon Lichte @ 2006-04-13 16:39 UTC (permalink / raw)
To: gcc-help
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.
>
> Cheers,
> Hermann
>
> <config.log.bz2>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: libstdc++-v3 of gcc 4.1.0 fails during configure on Mac OS X and Cygwin
2006-04-13 16:39 ` Hermann-Simon Lichte
@ 2006-04-14 7:46 ` Niklaus
0 siblings, 0 replies; 5+ messages in thread
From: Niklaus @ 2006-04-14 7:46 UTC (permalink / raw)
To: Hermann-Simon Lichte; +Cc: gcc-help
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>
> >
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-04-14 7:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-13 6:45 libstdc++-v3 of gcc 4.1.0 fails during configure on Mac OS X and Cygwin Hermann-Simon Lichte
2006-04-13 9:11 ` Niklaus
2006-04-13 9:39 ` Hermann-Simon Lichte
2006-04-13 16:39 ` Hermann-Simon Lichte
2006-04-14 7:46 ` Niklaus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).