<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2009/01/48b823f02d10d3c15e0df60ee7f1971d"
  from="David Allsopp &lt;dra-news@m...&gt;"
  author="David Allsopp"
  date="2009-01-26T17:22:39"
  subject="RE: [Caml-list] ocaml 3.11, Vista 64/cygwin/gcc4"
  prev="2009/01/e09599b965f7f3400e85b669e98f0ce5"
  next="2009/01/0a0fe39588aae49654160bac6ca678bc"
  prev-in-thread="2009/01/e09599b965f7f3400e85b669e98f0ce5"
  prev-thread="2009/01/058fceaf7ab816b8e53ee025d7e00cb1"
  next-thread="2009/01/0a0fe39588aae49654160bac6ca678bc"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="ocaml 3.11, Vista 64/cygwin/gcc4">
<msg 
  url="2009/01/e09599b965f7f3400e85b669e98f0ce5"
  from="Jacques Carette &lt;carette@m...&gt;"
  author="Jacques Carette"
  date="2009-01-26T16:32:02"
  subject="ocaml 3.11, Vista 64/cygwin/gcc4">
<msg 
  url="2009/01/48b823f02d10d3c15e0df60ee7f1971d"
  from="David Allsopp &lt;dra-news@m...&gt;"
  author="David Allsopp"
  date="2009-01-26T17:22:39"
  subject="RE: [Caml-list] ocaml 3.11, Vista 64/cygwin/gcc4">
</msg>
</msg>
</thread>

<contents>
Jacques Carette wrote:

&gt; &gt; Has anyone managed to compile 3.11 on Vista 64 under cygwin using gcc4
&gt; &gt; [and without flexlink]?

Is that possible? I believe that flexlink is needed for all Windows ports
(Cygwin included - as in README.win32) as it's used internally to simplify
linking even when creating Cygwin executables. 

&gt; Compilation of byterun/interp.c fails miserably, with most _caml_
&gt; symbols returning 'undefined reference's.

So that could be related to the above?

&gt; Strangely, configure thinks that my system is 32 bits, which is quite
&gt; possibly another source of problems.

Cygwin is 32 bit - so this is entirely correct. When you run Cygwin's bash,
you're in the WOW subsystem and will so the architecture will report itself
as 32-bit (if you look in task manager then you'll see that bash.exe is
starred).

&gt; 
&gt; Jacques
&gt; 
&gt; PS: I'll soon enough install some flavour of Ubuntu on this machine
&gt; too,
&gt; which should fix my problems.  But in the meantime, I would still like
&gt; to be able to keep on working!

I imagine that there's a reason that you're both building your own OCaml and
also using the Cygwin port specifically but just in case: the MinGW and
MSVC64 builds both definitely work on Vista64...


David

</contents>

</message>

