Add msvc.sh wrapper

This commit is contained in:
Anthony Green
2010-01-15 11:27:24 -05:00
parent cadeba6cb5
commit ff3cd68b8c
6 changed files with 722 additions and 1 deletions

8
README
View File

@@ -109,6 +109,14 @@ will add some extra code which will suppress certain warnings when you
are using Purify with libffi. Only use this switch when using
Purify, as it will slow down the library.
It's also possible to build libffi on Windows platforms with
Microsoft's Visual C++ compiler. In this case, use the msvcc.sh
wrapper script during configuration like so:
path/to/configure --enable-shared --enable-static \
CC=path/to/msvcc.sh LD=link \
CPP=\"cl -nologo -EP\"
Configure has many other options. Use "configure --help" to see them all.
Once configure has finished, type "make". Note that you must be using