Browse thread
[Caml-list] building ocaml 3.02 under win32
-
Fabrice Popineau
- Lionel Fourquaux
- Kevin Rowanet
[
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: | 2001-09-12 (16:40) |
From: | Lionel Fourquaux <lionel.fourquaux@w...> |
Subject: | RE : [Caml-list] building ocaml 3.02 under win32 |
Does passing /subsystem:console to the linker help ? (main is hidden in libcamlrun.lib, so the linker fails to guess the subsystem.) Hope this helps. Lionel Fourquaux > -----Original Message----- > From: owner-caml-list@pauillac.inria.fr [mailto:owner-caml- > list@pauillac.inria.fr] On Behalf Of Fabrice Popineau > Sent: Tuesday, September 11, 2001 10:06 PM > To: caml-list@pauillac.inria.fr > Subject: [Caml-list] building ocaml 3.02 under win32 > > > I tried to build ocaml 3.02 natively under win32, everything is ok > except this error for which I have no clue : > > <while building labltk> > ..\..\..\boot\ocamlrun ../../../ocamlc -I ../../../stdlib -custom > -linka > ll -o labltk -I ../support -I ../../../toplevel toplevellib.cma > labltk.cma -I > ../../win32unix unix.cma -I ../../str str.cma topmain.cmo > camlprim0.c > LINK : fatal error LNK1561: entry point must be defined > > Running the same command verbosely by hand gives: > E:\ocaml-3.02\otherlibs\labltk\lib>..\..\..\boot\ocamlrun ../../../o > camlc -verbose -I ../../../stdlib -custom -linkall -o labltk -I ../support > -I > ../../../toplevel toplevellib.cma labltk.cma -I ../../win32unix unix.cma > -I ../ > ../str str.cma topmain.cmo > + cl /nologo /Felabltk.exe -ID:/Local/OCaml/lib > C:\DOCUME~1\popineau\LOCALS~1\ > Temp\camlprim0.c ../../str\libstr.lib ../../win32unix\libunix.lib > wsock32.lib .. > /support\liblabltk41.lib tk83.lib tcl83.lib ../../../stdlib\libcamlrun.lib > wsock > 32.lib > camlprim0.c > > Thanks in advance for any help, > > -- > Fabrice > ------------------- > Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: > http://caml.inria.fr/FAQ/ > 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/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr