On Mon, Mar 21, 2016 at 3:47 PM, Corinna Vinschen <[email protected]> wrote: > On Mar 21 13:15, Peter Foley wrote: >> When cross-compiling a toolchan targeting cygwin, building cygwin1.dll >> requires libstdc++v3 to be built. > > Building cygwin1.dll doesn't require libstdc++-v3. The Cygwin DLL is > never linked against it and never will be. Only building the utils dir > requires libstdc++ and that would be fixed by not builing utils as in > your other patch, wouldn't it?
Sorry for being unclear. Building cygwin1.dll requires the *headers* from libstdc++-v3. To run configure-target-libstdc++-v3 (which generates necessary headers and is a prereq for install-target-libstdc++-v3 which installs those headers), libgcc must be able to compile. For libgcc to compile, the cygwin headers must be available. To summarize, configure-target-libstdc++-v3 depends on all-target-libgcc. And all-target-libgcc requires the headers from cygwin to be installed. Hopefully that makes more sense. Thanks, Peter
