| Anonymous | Login | Signup for a new account | 2013-05-22 02:07 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0000130 | OCaml | OCaml general | public | 2000-06-06 09:33 | 2000-06-08 16:18 | |||
| Reporter | administrator | |||||||
| Assigned To | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||
| Status | closed | Resolution | no change required | |||||
| Platform | OS | OS Version | ||||||
| Product Version | ||||||||
| Target Version | Fixed in Version | |||||||
| Summary | 0000130: Problèmes d'installation de ocamlopt sous windows. | |||||||
| Description | J'ai récemment installé le système Caml sur mon pc ( à partir du cd joint avec le livre "Developpement d'applications avec Objective Caml" chez O'Reilly). Le compilateur bytecode ocamlc fonctionne très bien, mais par contre le compilateur natif ocamlopt plante systématiquement avec un message d'erreur qui semble concerner un module assembleur. J'ai pourtant bien installé l'éxécutable Masm 6.11 que j'ai été rechercher chez Microsoft comme indiqué dans le fichier Readme.gen de l'installation. J'ai aussi bien ajouté le chemein d'accès à Masm 6.11 dans le path. L'éxécutable Masm 6.11 étant obtenu de manière indirecte après "dézipage" deux fichiers et execution d'un "auto-install", je n'ai gardé que l'éxécutable généré correspondant à Masm 6.11 (qui ne porte pas ce nom d'ailleurs), et j'ai vérifié que l'éxécutable fonctionnait correctement (en tout cas son lancement). Ai-je oublié quelque chose? Pour permettre un diagnostique plus précis, je vous donne ci-dessous la configuration complète du PC, les variables d'environnement ainsi que le message d'erreur envoyé par ocmalopt. Merci par avance de votre aide. ---------------------------------------------------------------- Configuration: PC Windows NT 4.0 Objective Caml 2.04. VC 6.0 Masm 6.11 Environnement: CAMLLIB = D:\Yann\Applications\OCaml\lib LIB = ...;D:\Applications\Microsoft Visual Studio\VC98\Lib PATH = ...;D:\Yann\Applications\OCaml\bin;D:\Applications\Microsoft Visual Studio\Vc98\bin;D:\Yann\Applications\OCaml\Masm\bin // Appel de ocamlopt sans argument : OK D:\Yann\Applications\OCaml\Dev>ocamlopt // Appel de ocamlopt avec l'option -o sans argument : OK D:\Yann\Applications\OCaml\Dev>ocamlopt -o D:\Yann\Applications\OCaml\bin\ocamlopt.exe: option `-o' needs an argument. // Appel de ocamlopt avec l'option -o et un argument : NOK Programme "essai.ml": let f x = x + 1;; print_int(f 18);; print_newline();; Résultat: D:\Yann\Applications\OCaml\Dev>ocamlopt -o temp2.exe essai.ml Le nom spécifié n'est pas reconnu comme étant une commande interne ou externe, un programme exécutable ou un fichier de commandes. Assembler error, input left in file C:\TEMP\camlasm5.asm | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0002117) administrator (administrator) 2000-06-08 16:18 |
See response under PR#132 |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2005-11-18 10:13 | administrator | New Issue | |
| Copyright © 2000 - 2011 MantisBT Group |