Talk:Prefix/Cygwin

Confusing lines in article
What does this line even mean? It defiantly belongs in not the section it was in though.



This discussion seems to be outdated now. Haubi (talk) 07:48, 26 September 2017 (UTC)

cygwin using gcc 6.4.0 is causing problems with the default prefix build of gcc 5.3.0
A friendly warning may be in order for new/recent users - because cygwin-setup (v2.881) now installs gcc-6.4.0 (with the various associated updates in relation to ABI), the bootstrap script from Prefix breaks at stage2. The current Prefix GCC version is currently only gcc-5.3.0, which is incompatible. GCC stage2 build breaks with multiple instances of "warning: invalid suffix on literal; C++11 requires a space between literal and string macro". nautilus42jp 13:28, 25 September 2017 (UTC)

This sounds like https://bugs.gentoo.org/631976, which I've fixed yesterday. Haubi (talk) 07:45, 26 September 2017 (UTC)

cygwin must not have too much dev stuff installed
Sorry for keeping this a bit vague. I have had great difficulties bootstrapping gentoo with cygwin-2.9.0 on windows 10. Well, the first try went well, but then I started from scratch, but wanted to use my own "latest-commit"-build of the cygwin1.dll with gentoo fork patches. So I cloned the newlib-cygwin repo in my home dir and built my own cygwin1.dll.

Unfortunately I couldn't boostrap any more thereafter. The installed dev tools in cygwin interfered so much, that the initial gcc-5.3.0 build just stopped after compilation ended. It simply showed, as a last line: > leaving directory /build/portage/build/sys-devel/gcc-5.3.0/work and then nothing. Forever. I cd'ed into the build directory and issued 'make' myself, and it was clear that gcc was completely built. Portage just froze.

I have no idea what exactly caused this. Maybe bison, cocom, flex, mingw-x86_64-gcc-g++ or mingw64-x86_64-zlib. But when I started again with a clean installation of cygwin, using the following line from CMD, everything worked just fine again.

Here is "the following line", I suggest adding this as a hint for newcomers to "Cygwin-on-steroids" (Aka Gentoo-prefixed ;-) )

> setup-x86_64.exe -P gcc-g++,nano,wget

(Some users may want to select 'vim' over 'nano', though)

Yamakuzure (talk) 15:57, 27 December 2017 (UTC)