From: Josh Triplett Date: Thu, 27 Mar 2014 07:44:12 +0000 (-0700) Subject: README: Update Windows example to set both CC and CXX X-Git-Tag: v3.1~10^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d74df8c5d8c6722ecb908da98c86cc8e2c755b84;p=platform%2Fupstream%2Flibffi.git README: Update Windows example to set both CC and CXX --- diff --git a/README b/README index 7c52607..c26be6b 100644 --- a/README +++ b/README @@ -146,13 +146,16 @@ 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 CC=path/to/msvcc.sh LD=link CPP=\"cl -nologo -EP\" +path/to/configure CC=path/to/msvcc.sh CXX=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.) +For 64-bit Windows builds, use CC="path/to/msvcc.sh -m64" and +CXX="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.) For iOS builds, the 'libffi.xcodeproj' Xcode project is available.