This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: MSVC build
- From: "NARUSE, Yui" <naruse at airemix dot jp>
- To: libffi-discuss at sourceware dot org
- Date: Thu, 11 Mar 2010 22:18:59 +0900
- Subject: Re: MSVC build
- References: <4B90F741.5020106@redhat.com>
Hi,
(4:59), Mladen Turk wrote:
Hi,
I was sick of maintaining patches so I put the files on
http://code.google.com/p/libffi-msvc/
There is README.vc containing brief info on build.
Since majority of windows users don't usually need
GNU autotools the configure script I made uses awk
(any will do, and I even put one inside build/ from GNU Win32 project)
Only change from libffi sources is modified ffi.h.in to allow
compilation with older MSVC versions not having LLONG_MAX
so the merging would be trivial.
Makefile.vc creates both .dll and static library
(libffi-3.dll and libffi-3s.lib) unless configured differently.
I tried these patches on mswin32/MSVC9 and it works fine,
though current github/atgreen/libffi/master doesn't work on my env.
Moreover they doesn't need many Unix tools like current one.
So I want to merge them.
Background:
We, Ruby people, want to build ruby and its bundled libraries with MSVC.
And we have a plan to replace our libffi-like library, named "ext/dl",
by libffi.
So we wan to build libffi with MSVC.
--
NARUSE, Yui <naruse@airemix.jp>