51 lines
1.7 KiB
Plaintext
51 lines
1.7 KiB
Plaintext
Index: libffi/README
|
|
===================================================================
|
|
--- libffi.orig/README
|
|
+++ libffi/README
|
|
@@ -114,9 +114,13 @@ It's also possible to build libffi on Wi
|
|
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\"
|
|
+path/to/configure CC=path/to/msvcc.sh LD=link CPP=\"cl -nologo -EP\"
|
|
+
|
|
+For 64-bit Windows builds, use CC="path/to/msvcc.sh -m64".
|
|
+You may also need to specify --build appropriately. When building with MSVC
|
|
+under a MingW environment, you may need to remove the line in configure
|
|
+that sets 'fix_srcfile_path' to a 'cygpath' command. ('cygpath' is not
|
|
+present in MingW, and is not required when using MingW-style paths.)
|
|
|
|
Configure has many other options. Use "configure --help" to see them all.
|
|
|
|
Index: libffi/msvcc.sh
|
|
===================================================================
|
|
--- libffi.orig/msvcc.sh
|
|
+++ libffi/msvcc.sh
|
|
@@ -42,7 +42,7 @@
|
|
# format and translated into something sensible for cl or ml.
|
|
#
|
|
|
|
-args="-nologo"
|
|
+args="-nologo -W3"
|
|
md=-MD
|
|
cl="cl"
|
|
ml="ml"
|
|
Index: libffi/ChangeLog
|
|
===================================================================
|
|
--- libffi.orig/ChangeLog
|
|
+++ libffi/ChangeLog
|
|
@@ -175,6 +175,11 @@
|
|
* man/Makefile.in: Regenerate.
|
|
* testsuite/Makefile.in: Regenerate.
|
|
|
|
+2010-03-30 Dan Witte <dwitte@mozilla.com>
|
|
+
|
|
+ * msvcc.sh: Disable build warnings.
|
|
+ * README (tested): Clarify windows build procedure.
|
|
+
|
|
2010-03-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
* configure.ac (libffi_cv_as_x86_64_unwind_section_type): New test.
|