On Wed, Mar 30, 2016 at 8:31 AM, Corinna Vinschen <corinna-cyg...@cygwin.com> wrote: > Are you sure this works as desired? In my standard cross build > environment, the only -B option added here is > > --preprocessor-arg=-B/build/cygwin/x86_64/vanilla/x86_64-pc-cygwin/newlib/
The only case in which -B is needed at all is for an in-tree build. That is, gcc and winsup are in the same source tree, so CC is set to something like ./gcc/xgcc. In that case, the -B is necessary so that gcc knows where to find the cc1 binary. If gcc and winsup are built from separate source trees, it isn't an issue. Thanks, Peter