Gentoo Archives: gentoo-alt

From: Al <oss.elmar@××××××××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Re: Prefix/Cygwin: zlib, GCC, which version?
Date: Wed, 06 Oct 2010 11:33:41
In Reply to: Re: [gentoo-alt] Re: Prefix/Cygwin: zlib, GCC, which version? by Michael Haubenwallner
1 > IIRC, the reason to stick with gcc-4.2 during bootstrap is that it is the
2 > last one not needing extra dependencies (mpfr, gmp) being merged before,
3 > to keep bootstrap process as simple as possible.
5 Thank you Michael. Also 4.2* needs mpfr and gmp on Cygwin, but I can
6 use the Cygwin package for this in the initial circle. So 4.2* is not
7 a must and a can go with a younger version. 4.3* didn't build either.
9 >
10 >> To note that gcc-4.2.4-r01.2 also doesn't work.
11 >>
12 >> /home/prefix/gentoo/var/tmp/portage/sys-devel/gcc-4.2.4-r01.2/work/gcc-4.2.4/libiberty/strsignal.c:409:
13 >> error: conflicting types for 'strsignal'
14 >> /usr/include/string.h:79: error: previous declaration of 'strsignal' was here
15 >
16 > Seems like a cygwin specific issue, needing a cygwin specific fix in gcc then.
17 >
19 So I searched and found that they did something cygwin specific in
20 libc/include/string.h.
24 -const char *_EXFUN(strsignal, (int __signo));
25 +char *_EXFUN(strsignal, (int __signo));
27 However I am surprised that ggc-4.2 breaks from this, while ggc-4.4
28 builds. From this thread I should expect that gcc-4.4 is the breaking
29 one:
33 Bottomline from both answers is to try to go with gcc-4.4 I think and
34 to fokus on the SHAREDLIB issue.
36 >> Is that right, that it using /usr/include/string.h from Cygwins glibc?
37 >
38 > Yes, although gcc may make a copy of system headers to fix known issues
39 > here and there, but I doubt this is done before building gcc itself.
40 >
42 I meanwhile found an old thread on this, that tells nobody managed to
43 emerge glibc on prefix yet.
45 Al
47 --
48 Caution crosser:  Runnig Gentoo/Prefix on Cygwin/Vista.
49 All stupid questions are related to that context.


Subject Author
Re: [gentoo-alt] Re: Prefix/Cygwin: zlib, GCC, which version? Michael Haubenwallner <haubi@g.o>