[patch] port libffi to x86/msvc

Dan Witte dwitte@mozilla.com
Fri Jan 15 18:46:00 GMT 2010


> Thanks Dan -- I've checked this in.  I've also add the cc.sh script 
> (renamed it to msvcc.sh), and updated the README file explaining to
> use 
> it.  It would be great if you could double check my work.

Awesome, thanks! Checked the diff and it looks good. For the wrapper script, a couple things:

diff --git a/README b/README
+path/to/configure --enable-shared --enable-static \
+	CC=path/to/msvcc.sh LD=link \
+	CPP=\"cl -nologo -EP\"

The '--enable-shared --enable-static' aren't necessary, I just happened to use them, so you may want to change that.

Secondly, I put cc.sh under a Mozilla tri-license, because, well, that's what we use 'round here, and Timothy said any license is fine. But if you'd prefer it under a BSD license for consistency, I don't mind.

Finally, I made a mistake in the testsuite patch I sent. So if you were going to apply it, better use this one. :)

Thanks,
Dan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libffi-part4-msvc-testsuite-2.diff
Type: text/x-patch
Size: 5414 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libffi-discuss/attachments/20100115/392bdac6/attachment.bin>


More information about the Libffi-discuss mailing list