* [Caml-list] Suggestions for Building OCaml from CVS With MS VC++ 6.0
@ 2002-07-06 3:25 Brian Smith
0 siblings, 0 replies; only message in thread
From: Brian Smith @ 2002-07-06 3:25 UTC (permalink / raw)
To: OCaml Mailing list
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-07-06 14:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-06 3:25 [Caml-list] Suggestions for Building OCaml from CVS With MS VC++ 6.0 Brian Smith
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).