From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25183 invoked by alias); 4 Jan 2012 23:03:45 -0000 Received: (qmail 25172 invoked by uid 22791); 4 Jan 2012 23:03:44 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,TW_BF X-Spam-Check-By: sourceware.org Received: from mail-vx0-f169.google.com (HELO mail-vx0-f169.google.com) (209.85.220.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 04 Jan 2012 23:03:31 +0000 Received: by vcge1 with SMTP id e1so15524039vcg.0 for ; Wed, 04 Jan 2012 15:03:31 -0800 (PST) Received: by 10.220.149.68 with SMTP id s4mr33873978vcv.43.1325718211161; Wed, 04 Jan 2012 15:03:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.112.42 with HTTP; Wed, 4 Jan 2012 15:03:10 -0800 (PST) In-Reply-To: <5FD07A30-7023-4D32-A38C-3741C88BC0F5@users.sf.net> References: <5FD07A30-7023-4D32-A38C-3741C88BC0F5@users.sf.net> From: Nathan Rajlich Date: Wed, 04 Jan 2012 23:03:00 -0000 Message-ID: Subject: Re: How to compile on Windows? To: libffi-discuss Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact libffi-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libffi-discuss-owner@sourceware.org X-SW-Source: 2012/txt/msg00002.txt.bz2 Thanks for the quick replies guys. I am trying to use the MSVC compiler. I do have the Git Bash installed though, which is how I was able to execute the configure script. Executing 'dmake' after getting a download of it displays: dmake.exe: Error -- /bin/sh: No such file or directory Any ideas? On Wed, Jan 4, 2012 at 2:58 PM, Timothy Wall wrote: > Are you trying to compile with MSVC or gcc/mingw? > > Regardless of compiler, I doubt you'll be able to get "nmake" to work on configure-generated makefiles; you'll need either cygwin or MSYS-based make. > > On Jan 4, 2012, at 5:09 PM, Nathan Rajlich wrote: > >> Hello all, >> >> I am attempting to compile libffi on windows, and am having some >> trouble. I was able to figure out how to get the "configure" step to >> work by using the provided example in the README. The configure step >> completed successfully and the necessary .h and Makefiles were >> created. >> >> Now when I try to invoke 'nmake', it quits quickly with an error >> saying "Illegal '\' character in macro. Quitting." or something along >> those lines, and I'm not sure where to take it from here. >> >> Any advice would be much appreciated! Thanks in advance! >