Commit Graph

27 Commits

Author SHA1 Message Date
fwg
af6773d6ab Fix appveyor windows build (#420)
* Fix msvcc dll build by adding dllexport decorations to all API declarations

* Fix appveyor build for VS 2013

Use the new -DFFI_BUILDING_DLL for producing a working DLL. Update the
msvcc.sh wrapper script to successfully compile the testsuite files.

* MSVC build: suppress warnings in testsuite

* fix testsuite on appveyor
2018-04-02 06:55:31 -05:00
Anthony Green
a3e2094089 More msvc hacks 2018-03-27 11:58:42 -04:00
Anthony Green
a82b456e98 msvc fixes 2018-03-27 11:49:46 -04:00
Anthony Green
a2326aaf56 Remove debug output 2018-03-27 11:36:04 -04:00
Anthony Green
2872c460ba Fix msvc linking 2018-03-27 11:28:40 -04:00
Anthony Green
b40a386c22 Fix library path handling 2018-03-27 11:20:21 -04:00
Anthony Green
d78c5f64f8 Deal with libpath 2018-03-27 11:14:56 -04:00
Anthony Green
f318bb63c5 Fix library path handling 2018-03-27 08:25:26 -04:00
Anthony Green
4f0c9cb39b Use mixed cygpath paths 2018-03-27 08:10:03 -04:00
Anthony Green
51ce3696cd Use cygpath to convert windows paths 2018-03-27 07:35:33 -04:00
Anthony Green
70b93e4d86 try to fix windows builds 2018-03-27 07:14:59 -04:00
Anthony Green
d13583f55f Fix -L support 2018-03-27 06:22:57 -04:00
Anthony Green
b394947518 Add -L and -l support 2018-03-27 05:11:52 -04:00
Anthony Green
7c27fcbe09 Merge pull request #199 from Pan7/master
Fix configuring msvc compiler
2016-02-20 06:45:00 -05:00
Ehsan Akhgari
9c14cbfc7f Don't clobber safeseh for msvcc.sh -clang-cl in 32-bit mode
The commit fb25cd0 went a bit too far and removed safeseh
when -clang-cl was passed, but that's only needed in x86-64
which is already handled by the -m64 flag.

I discovered this when building Firefox x86 with clang-cl.
2016-01-28 16:57:18 -05:00
Pan7
e061243958 Fix configuring msvc compiler 2015-09-14 08:25:09 +02:00
Ehsan Akhgari
08853e32fb Enable forcing the usage of the static CRT in libffi's msvc wrapper
This is required for AddressSanitizer builds with clang-cl.
2014-07-31 20:35:49 -04:00
Ehsan Akhgari
fb25cd08ed Add support for building with clang-cl 2014-06-12 20:42:18 -04:00
Mike Hommey
360aa8ca1e Bug 1014976 - Don't make --enable-debug imply using the debug CRT in libffi. 2014-06-02 09:21:10 -04:00
Ryan VanderMeulen
c3dd0a1a02 Various compatibility fixes and improvements to msvcc.sh.
* Don't try to mix incompatible optimization flags in debug builds.
* Workaround ax_cc_maxopt.m4 not supporting MSVC and change -O3 to -O2.
* Fix MSVC warning by properly passing linker flags to compiler.
* Make msvcc.sh return 1 if invalid command line options are used rather than silently eating them.
* Add more comments.
2014-03-18 12:09:45 -04:00
Anthony Green
b8099539f0 Fix msvcc.sh botch 2011-02-08 13:50:43 -05:00
Anthony Green
2db72615b5 Rebase 2010-11-21 10:50:56 -05:00
Anthony Green
00d0b59cd1 Fix debug build for windows 2010-08-05 14:56:53 -04:00
Anthony Green
bda487e870 Don't use -safeseh with ml64 2010-08-05 09:02:41 -04:00
Anthony Green
f2c2a4fce9 Remove warnings and add OS/2 support 2010-04-13 10:19:28 -04:00
Anthony Green
c0b69e57d5 Dan Witte's windows build fixes. 2010-03-30 08:30:22 -04:00
Anthony Green
ff3cd68b8c Add msvc.sh wrapper 2010-01-15 11:27:24 -05:00