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