From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45485 invoked by alias); 29 Jul 2015 10:53:05 -0000 Mailing-List: contact jit-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Subscribe: Sender: jit-owner@gcc.gnu.org Received: (qmail 45461 invoked by uid 89); 29 Jul 2015 10:53:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.98.7 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: mx1.redhat.com Message-ID: <1438166692.9683.17.camel@surprise> Subject: Re: Has anyone tried building for Windows? From: David Malcolm To: Hayden Livingston Cc: jit@gcc.gnu.org Date: Thu, 01 Jan 2015 00:00:00 -0000 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-SW-Source: 2015-q3/txt/msg00122.txt.bz2 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