caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] OCaml/MinGW
@ 2012-02-09 22:45 malc
  0 siblings, 0 replies; only message in thread
From: malc @ 2012-02-09 22:45 UTC (permalink / raw)
  To: caml-list


GCC shipped with (current) MingW no longer recognizes -mno-cygwin
argument, my oline searches for a workaround were fruitless, but
turns out there is one, one can create a self specs file and
make gcc (the driver) strip -mno-cygwin from cc1 invokation. This
can be done by putting a file named "specs" into a directory listed
under "install:" in the output of `gcc -print-search-dirs' containing
following line:
*cc1: %<mno-cygwin

Hope that would save someone the trouble of making things run.

-- 
mailto:av1474@comtv.ru

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-09 22:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-09 22:45 [Caml-list] OCaml/MinGW malc

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 NNTP newsgroup(s).