Browse thread
Statically linked win32 libcamlrun.lib?
-
Lally Singh
-
Dmitry Bely
-
Lally Singh
- Dmitry Bely
-
Dmitry Bely
-
Lally Singh
- Dmitry Bely
-
Lally Singh
-
Lally Singh
-
Dmitry Bely
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Dmitry Bely <dmitry.bely@g...> |
| Subject: | Re: [Caml-list] Statically linked win32 libcamlrun.lib? |
On Tue, Apr 20, 2010 at 7:48 PM, Lally Singh <lally.singh@gmail.com> wrote: > On Thu, Apr 15, 2010 at 4:16 PM, Dmitry Bely <dmitry.bely@gmail.com> wrote: >> On Thu, Apr 15, 2010 at 11:16 PM, Lally Singh <lally.singh@gmail.com> wrote: >>> On Thu, Apr 15, 2010 at 2:59 AM, Dmitry Bely <dmitry.bely@gmail.com> wrote: >>>> On Thu, Apr 15, 2010 at 3:39 AM, Lally Singh <lally.singh@gmail.com> wrote: (...) /DEFAULTLIB:"MSVCRT"> LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of > other libs; use /NODEFAULTLIB:library > LIBCMTD.lib(crt0.obj) : error LNK2019: unresolved external symbol > _main referenced in function ___tmainCRTStartup > .\dllunix.dll : fatal error LNK1120: 1 unresolved externals > > I verified that every object file in that directory was compiled with > /MTd. Is there something else I need to feed into the Makefile to > make ocamlmklib do the right thing? Nevertheless some of your files are compiled with /MD. Use /VERBOSE linker option to find which one. I believe FLEXLINK=flexlink -merge-manifest -link /VERBOSE will do the job. BTW, have you recompiled flexdll.c/flexdll_initer.c files in FlexDLL directory with /MTd? - Dmitry Bely