Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] New Ensemble release, 1.35
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <xavier.leroy@i...>
Subject: Re: [Caml-list] Problem building -custom on Windows 2000
> Has anyone encountered the following problem:
> My development environment is Windows 2000, Ocaml 3.04, and Dev Studio
> .NET (for the necessary C compiler, linker, etc)
> I am trying to build an ocaml application with the -custom switch.
> The problem is that if OCAMLLIB is defined as "C:\program files\..."
> the link stage fails claiming that it cannot find the relevant Ocaml
> 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