Gentoo Archives: gentoo-alt

From: Michael Haubenwallner <haubi@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Re: Prefix/Cygwin: zlib, GCC, which version?
Date: Wed, 06 Oct 2010 07:12:10
In Reply to: [gentoo-alt] Re: Prefix/Cygwin: zlib, GCC, which version? by Al
1 On 10/05/10 17:05, Al wrote:
2 >>
3 >> suggests "=gcc-4.2*". Why?
5 IIRC, the reason to stick with gcc-4.2 during bootstrap is that it is the
6 last one not needing extra dependencies (mpfr, gmp) being merged before,
7 to keep bootstrap process as simple as possible.
9 > To note that gcc-4.2.4-r01.2 also doesn't work.
10 >
11 > /home/prefix/gentoo/var/tmp/portage/sys-devel/gcc-4.2.4-r01.2/work/gcc-4.2.4/libiberty/strsignal.c:409:
12 > error: conflicting types for 'strsignal'
13 > /usr/include/string.h:79: error: previous declaration of 'strsignal' was here
15 Seems like a cygwin specific issue, needing a cygwin specific fix in gcc then.
17 > Is that right, that it using /usr/include/string.h from Cygwins glibc?
19 Yes, although gcc may make a copy of system headers to fix known issues
20 here and there, but I doubt this is done before building gcc itself.
22 > Don't we add an own version of glibc on on Prefix?
24 Nope, we use the host provided libc.
26 > Is that the interface to Cygwins POSIX layer?
28 What do you mean by "that"?
29 Cygwin provides a POSIX layer, including some libc,
30 and prefix runs on top of that.
32 HTH,
33 /haubi/
34 --
35 Michael Haubenwallner
36 Gentoo on a different level


Subject Author
Re: [gentoo-alt] Re: Prefix/Cygwin: zlib, GCC, which version? Al <oss.elmar@××××××××××.com>