From: Brian Smith <brian-l-smith@uiowa.edu>
To: OCaml Mailing list <caml-list@inria.fr>
Subject: [Caml-list] Suggestions for Building OCaml from CVS With MS VC++ 6.0
Date: Fri, 05 Jul 2002 22:25:09 -0500 [thread overview]
Message-ID: <3D266315.60309@uiowa.edu> (raw)
Here are some notes that people might find helpful if they get stuck
during building ocaml from sources (e.g. from CVS):
1. The README.win32 says you should only have to modify the
config/Makefile in two places (TK_ROOT and PREFIX). But, I actually had
to modify a third line so that the MS linker could find the tcl/tk
libraries:
BEFORE: TK_LINK=tk83.lib tcl83.lib
AFTER : TK_LINK=$(TK_ROOT)/lib/tk83.lib $(TK_ROOT)/lib/tcl83.lib
2. If you have cygwin and ActiveState Perl installed on your computer,
with both of them in the path, cygwin must be ahead of ActiveState Perl
on the path or the build will fail during "make -f Makefile.nt world".
Apparently this is due to the fact that both distributions have a script
called "head". You can see if this is a problem by typing "which head";
you should get "/usr/bin/head", not
"/cygdrive/c/.../ACTIVE~1/Perl/bin/head".
3. If (when) the build fails during "make -f Makefile.nt opt", the error
message will be something like "cannot find program 'ml'". It is easy to
trick yourself into thinking that "ml" is supposed to be some kind of
bootstrapping (oca)ml program or script that failed to get built.
Actually, this is ml.exe from the MASM distribution that you have to
download to build ocaml. This error message indicates that you don't
have %MASM_ROOT%/bin/win98 in your path (where %MASM_ROOT% represents
the folder that masm is installed in).
I hope somebody finds these notes helpful.
Best wishes,
Brian
-------------------
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/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
reply other threads:[~2002-07-06 14:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3D266315.60309@uiowa.edu \
--to=brian-l-smith@uiowa.edu \
--cc=caml-list@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).