Browse thread
Statically linked win32 libcamlrun.lib?
- Lally Singh
[
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: | Lally Singh <lally.singh@g...> |
| Subject: | Statically linked win32 libcamlrun.lib? |
Hello all, Is it possible to statically link libcamlrun.lib, so it'll work with libcmtd.lib instead of msvcrt.dll? I've tried: FLEXLINK=flexlink -merge-manifest -link /nodefaultlib:msvcrt.lib -link libcmtd.lib in config/Makefile, and it all builds. However, I still get: libcamlrun.lib(sys.obj) : error LNK2019: unresolved external symbol __imp__system referenced in function _caml_sys_system_command libcamlrun.lib(floats.obj) : error LNK2019: unresolved external symbol __imp__frexp referenced in function _caml_frexp_float libcamlrun.lib(floats.obj) : error LNK2019: unresolved external symbol __imp__modf referenced in function _caml_modf_float libcamlrun.lib(startup.obj) : error LNK2019: unresolved external symbol __imp__sscanf referenced in function _scanmult libcamlrun.lib(startup.obj) : error LNK2019: unresolved external symbol __imp___beginthread referenced in function _caml_main Any thoughts? Sadly I have to do it this way -- we're linking a -output-obj'd .obj into our DLL (which must be statically linked to the runtime) and then linking libcamlrun.lib to that -- or at least hoping to. Thanks in advance for any help! Cheers, -Lally