This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: [PATCH] building libffi on mswin64 with msvcc.sh
- From: NightStrike <nightstrike at gmail dot com>
- To: wanabe <s dot wanabe at gmail dot com>
- Cc: libffi-discuss at sources dot redhat dot com
- Date: Sun, 21 Mar 2010 09:30:07 -0400
- Subject: Re: [PATCH] building libffi on mswin64 with msvcc.sh
- References: <8964790c1003210045s6faaf369v40215b933ea2d34d@mail.gmail.com>
On Sun, Mar 21, 2010 at 3:45 AM, wanabe <s.wanabe@gmail.com> wrote:
> Hello, libffi-discuss.
>
> I tried to build libffi on mswin64.
> To do it, I had to rewrite part of msvcc.sh to avoid some warnings.
> The patch is below.
>
> And in configure phase, it needed --build=x86_64-pc-mingw32 and
> CC="path/to/msvcc.sh -m64".
> If README notes it, it get more easily comprehensible, I guess.
Just to note, you should be able to use the compilers at
http://mingw-w64.sf.net/ without issue for compiling for win64. You
might want to try that, unless you really need msvc for some reason.