Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Win32 library
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-06-15 (21:19)
From: Christophe TROESTLER <Christophe.Troestler+ocaml@u...>
Subject: Re: [Caml-list] Win32 library
Replying to myself:

On Fri, 15 Jun 2007, Christophe TROESTLER <> wrote:
>   link /verbose /nologo /dll /out:dllocamlodbc.dll /def:ocamlodbc.DEF  ocaml_odbc_c.d.obj /LIBPATH:"C:\Program Files\Objective Caml\lib" ocamlrun.lib odbc32.lib

I "forgot" to define CAML_DLL in

  cl /nologo /Ox /MD /DWIN32 /DCAML_DLL -I "%OCAMLLIB%" -c ocaml_odbc_c.c

Hopefully this will help other people. :)