Browse thread
ocamlopt problem
[
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: | -- (:) |
| From: | Martin Chabr <martin_chabr@y...> |
| Subject: | Ant: [Caml-list] ocamlopt problem |
Hello Karimi, I can see from the backslashes that Windows is involved. I have had some problems with Windows, but it works now. I do not remember the error messages. Let me just summarize all that you need: - Install MS C++ and MS Assembler (free from the Web) - make sure that all paths to bin directories are set properly - always work with the Console which is attached to your C++ compiler (the icon is set up when you install it), never the Windows Console I use Windows 2000. I have never tried the other two options for compiling under Windows (Cygwin etc.) I also have Debian/Knoppix-Linux. There you install everything easily as a Debian package with apt-get and everything just works. OCaml is better supported under Linux (debugger, more tools, GUIs etc.) Regards, Martin --- Rasool Karimi <rkarimi@gmail.com> schrieb: > Dear all freinds, > When I compile a .ml file with ocamlopt compiler, an > error message is shown > with this message:"Der Befehl "as" ist entweder > falsch geschrieben oder > konnte nicht gefunden werden, Assembler error, input > left in file > C:\DOKUME~1\karinu\LOKALE~1\Temp\camlasm9312 7a.s". > Part of this message is > in german and translation of it in english is : "The > instruction "as" is > either wrongly written or could not not be found". > But when I compile a .mli > file, this message is not shown and file is compiled > successfully. Also when > I compile a .ml file with ocamlc compiler, there is > no error and compilation > is done successfully. So there is not error in my > program and this error > maybe is related to ocamlopt compiler. > Is there any body who can help me? It is very > emergent. > Thanks, > Karimi. > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: > http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de