public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] building libffi on mswin64 with msvcc.sh
@ 2010-03-21  7:46 wanabe
  2010-03-21 13:30 ` NightStrike
  0 siblings, 1 reply; 5+ messages in thread
From: wanabe @ 2010-03-21  7:46 UTC (permalink / raw)
  To: libffi-discuss

Hello, libffi-discuss.

I tried to build libffi on mswin64.
To do it, I had to rewrite part of msvcc.sh to avoid some warnings.
The patch is below.

And in configure phase, it needed --build=x86_64-pc-mingw32 and
CC="path/to/msvcc.sh -m64".
If README notes it, it get more easily comprehensible, I guess.

Your attention to this would be greatly appreciated.
Sincerely.


diff --git a/msvcc.sh b/msvcc.sh
index 8301839..f6ae503 100755
--- a/msvcc.sh
+++ b/msvcc.sh
@@ -44,7 +44,7 @@

 # Disable specific warnings, and enable warnings-as-errors so we catch any
 # mistranslated args.
-nowarn="-wd4127 -wd4820 -wd4706 -wd4100 -wd4255 -wd4668 -wd4053 -wd4324"
+nowarn="-wd4127 -wd4820 -wd4706 -wd4100 -wd4255 -wd4668 -wd4053
-wd4324 -wd4267 -wd4305 -wd4054"
 args="-nologo -W3 -WX $nowarn"
 md=-MD
 cl="cl"

-- 
wanabe

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <1375527405.35594.1269561471057.JavaMail.root@cm-mail03.mozilla.org>]

end of thread, other threads:[~2010-03-30 16:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-21  7:46 [PATCH] building libffi on mswin64 with msvcc.sh wanabe
2010-03-21 13:30 ` NightStrike
     [not found] <1375527405.35594.1269561471057.JavaMail.root@cm-mail03.mozilla.org>
2010-03-25 23:58 ` Dan Witte
2010-03-30 12:32   ` Anthony Green
2010-03-30 16:37     ` Dan Witte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).