basic problems with ocamlopt compiler



Hi, I've just started using ocaml (and having a lot of fun). I've been
able to compile a simple program with ocamlc (on Windows XP), but it
doesn't work on ocamlopt. Can anyone help me figure out what I'm doing
wrong?

Here's the code:
let _ = print_endline "Hello world!"

Here's the command line:
ocamlopt test.ml -o test.exe

Here's the error message I get:
'ml' is not recognized as an internal or external command, operable
program or batch file.
Assembler error, input left in file <directory
omitted>\camlasm598241.asm

Thanks if you can help!


.



Relevant Pages

  • Re: Installing multiple hotfixes
    ... I've tried your batch file and it works for me, only thing i can think to ... check is with the error message you get for example ... > a difference...no joy. ...
    (microsoft.public.windows.server.general)
  • RE: popen[2-4] does not work with parameters inside quotes
    ... > Results in the following error message: ... > internal or external command, ... > operable program or batch file. ...
    (comp.lang.python)
  • Cannot Run Ping Command
    ... I keep getting the error message that it is not ... recognized as an internal or external command, ... program or batch file. ... or do I have to do a repair installation of XP? ...
    (microsoft.public.windowsxp.general)
  • Re: Inline C on Windows - what am i doing wrong?
    ... I installed nmake incorrectly and solved the problem but the error message ... 'cl' is not recognized as an internal or external command, ... or batch file. ...
    (comp.lang.perl.misc)
  • RE: Error in Event Viewer - Active in HAT
    ... unfortunately I get this error when I start the trace. ... 'tracelog.exe' is not recognized as an internal or external command, ... operable program or batch file. ...
    (microsoft.public.biztalk.general)