This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 3/3] Use just-built gcc for windres


On Wed, Mar 30, 2016 at 8:31 AM, Corinna Vinschen
<corinna-cygwin@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]