<?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="2002/07/68df4f91100df67d69cef45ef632d456"
  from="Xavier Leroy &lt;xavier.leroy@i...&gt;"
  author="Xavier Leroy"
  date="2002-07-18T09:52:08"
  subject="Re: [Caml-list] Problem building -custom on Windows 2000"
  prev="2002/07/94a6a99d0e9d2f65445f24c4a0ad7265"
  next="2002/07/16bf0e05b121ad70d4407203ffcc2060"
  prev-in-thread="2002/07/095701163ff8b17bd2d4fbc8736aac69"
  prev-thread="2002/03/c08a644366d6da9da384783ed7154e67"
  next-thread="2002/03/509abedca2ca376b4e335608e9bb2f4f"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] New Ensemble release, 1.35">
<msg 
  url="2002/03/f9782e1c625825090a9fbf31c4e0499f"
  from="Ohad Rodeh &lt;ORODEH@i...&gt;"
  author="Ohad Rodeh"
  date="2002-03-25T17:03:27"
  subject="[Caml-list] New Ensemble release, 1.35">
<msg 
  url="2002/07/1bc62eaa58bf1cc5192f2cd7b37df871"
  from="Friedman Roy &lt;roy@c...&gt;"
  author="Friedman Roy"
  date="2002-07-18T06:45:04"
  subject="[Caml-list] Problem building -custom on Windows 2000">
<msg 
  url="2002/07/23c8dc6da0227e52873e92202056095f"
  from="Jacques Garrigue &lt;garrigue@k...&gt;"
  author="Jacques Garrigue"
  date="2002-07-18T07:41:43"
  subject="Re: [Caml-list] Problem building -custom on Windows 2000">
<msg 
  url="2002/07/94a6a99d0e9d2f65445f24c4a0ad7265"
  from="Nicolas Cannasse &lt;warplayer@f...&gt;"
  author="Nicolas Cannasse"
  date="2002-07-18T09:27:58"
  subject="Re: [Caml-list] Problem building -custom on Windows 2000">
<msg 
  url="2002/07/8b8f5b45eb55e86e7d719332da275a1d"
  from="Friedman Roy &lt;roy@c...&gt;"
  author="Friedman Roy"
  date="2002-07-18T11:12:38"
  subject="Re: [Caml-list] Problem building -custom on Windows 2000">
</msg>
<msg 
  url="2002/07/095701163ff8b17bd2d4fbc8736aac69"
  from="Friedman Roy &lt;roy@c...&gt;"
  author="Friedman Roy"
  date="2002-07-24T13:05:55"
  subject="[Caml-list] Has anyone implemented compression in pure OCaml">
</msg>
</msg>
</msg>
<msg 
  url="2002/07/68df4f91100df67d69cef45ef632d456"
  from="Xavier Leroy &lt;xavier.leroy@i...&gt;"
  author="Xavier Leroy"
  date="2002-07-18T09:52:08"
  subject="Re: [Caml-list] Problem building -custom on Windows 2000">
</msg>
</msg>
</msg>
</thread>

<contents>
&gt; Has anyone encountered the following problem:
&gt; My development environment is Windows 2000, Ocaml 3.04, and Dev Studio
&gt; .NET (for the necessary C compiler, linker, etc)
&gt; I am trying to build an ocaml application with the -custom switch.
&gt; The problem is that if OCAMLLIB is defined as "C:\program files\..."
&gt; the link stage fails claiming that it cannot find the relevant Ocaml
&gt; files.

This problem is known as "the killer space in file names" :-)
OCaml 3.04 calls the C linker without quoting properly the file arguments,
including the OCaml standard library directory.  You can view the
resulting mess by running ocamlc -verbose -custom ... for the linking
phase.

This bug should be fixed for good in 3.05.  In the meantime, using the
DOS name for OCAMLLIB, as suggested on this list, should do the job.

- Xavier Leroy
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

</contents>

</message>

