caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Lionel Fourquaux" <lionel.fourquaux@wanadoo.fr>
To: "'Fabrice Popineau'" <Fabrice.Popineau@supelec.fr>,
	<caml-list@pauillac.inria.fr>
Subject: RE : [Caml-list] building ocaml 3.02 under win32
Date: Wed, 12 Sep 2001 18:34:21 +0200	[thread overview]
Message-ID: <000001c13ba8$c8d91920$eea380d9@fourquauche3ay> (raw)
In-Reply-To: <sndtcx2g.fsf@supelec.fr>

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


  reply	other threads:[~2001-09-12 16:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-11 20:05 Fabrice Popineau
2001-09-12 16:34 ` Lionel Fourquaux [this message]
2001-09-14 20:02   ` RE : " Fabrice Popineau
2001-09-17 17:49     ` Chris Hecker
2001-09-15 23:55 ` [Caml-list] newbie CTL3D32 ocaml win32 Kevin Rowanet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000001c13ba8$c8d91920$eea380d9@fourquauche3ay' \
    --to=lionel.fourquaux@wanadoo.fr \
    --cc=Fabrice.Popineau@supelec.fr \
    --cc=caml-list@pauillac.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).