This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH to support native Windows builds
"Aaron W. LaFramboise" <aaronraolete36@aaronwl.com> writes:
> Mark Mitchell wrote:
>> This patch provides support for building GCC on native Windows (i.e.,
>> MinGW) as opposed to Cygwin.
>
> One concern I have is the Ctrl-C support.
>
> Presently Ctrl-C support is broken on all of GCC under
> MinGW. Specifically, when you send a break from the console, it will
> the toplevel gcc but not any invoked subprocesses. Does it make sense
> to hack it into just collect2 when it doesn't work anywhere else?
The code that's under debate here is not the Ctrl-C support in
collect2. That stuff is the minimum necessary to get GCC to build in
a cross-compile configuration with host=mingw; no one thinks it's
ideal, but we don't know how to do it right.
> While I am not aware of anyone working on improving Ctrl-C, perhaps I
> personally might be interested in fixing this now that its come up.
I'd be very glad if a competent Windows programmer would tackle this,
but please consider it a separate issue from the pexecute changes.
zw