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

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Mar 30 12:31:00 GMT 2016

On Mar 23 09:34, Peter Foley wrote:
> When building cygwin in a combined tree with binutils,
> the just-built windres cannot find the just-buit gcc automatically.
> Parse the CC env variable to use the correct compiler, rather then
> falling back to the build-system's gcc which does not define the proper
> preprocessor macros.
> winsup/cygwin/ChangeLog
> mkvers.sh: Manually specify preprocessor based on $CC

Are you sure this works as desired?  In my standard cross build
environment, the only -B option added here is




Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20160330/e465ac05/attachment.sig>

More information about the Cygwin-patches mailing list