This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: How to compile on Windows?
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 <twall@users.sf.net> 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!
>