Has anyone tried building for Windows?
David Malcolm
dmalcolm@redhat.com
Thu Jan 1 00:00:00 GMT 2015
On Tue, 2015-07-28 at 22:43 -0700, Hayden Livingston wrote:
> I've attempted to build on Windows using Cygwin and MingW-64 and I'm
> not really familiar with the build system enough but I can't make any
> forward progress.
Thanks for trying this. As far as I know, you're the first person who's
attempted this.
The last time I did any Windows development was about 13 years ago, so
I'm somewhat rusty on the details.
IIRC, Cygwin and MingW-64 are two different approaches: AIUI, Cygwin is
a compatibility layer that makes Windows look like more like POSIX, and
MingW-64 is a build system for building "natively" for Windows.
> David, do you see any reason why it wouldn't work on Windows?
I believe it ought to be possible to make it work, but I'm enough of a
pessimist to think that it's unlikely to work without needing some bug
fixes, so let's figure out what's needed.
> --enable-host-shared is something nobody apparently tries on Windows.
AFAIK, it's only used by the jit, so it could well need some patches.
> Do you or any other experts have thoughts on how to proceed with a
> Windows build of libgccjit.dll?
Can you post the error messages somewhere please? (along with the
configuration(s) you're using)
Thanks
Dave
More information about the Jit
mailing list