New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run-caml problems in emacs #2674
Comments
Comment author: administrator
I'm sorry, I cannot reproduce the problem on my Windows machine. For GNU Emacs 20.6.1 (i386-*-nt5.0.2195) of Tue Feb 29 2000 on buffy (can't remember where I got it from), probably not the very latest One suggestion: I used to have lots of trouble with launching Cygwin Regards,
|
Comment author: administrator
At startup, the OCaml runtime system looks "inside itself", (Keep in mind that ocamlc -custom generates a "mixed-mode" executable, On many platforms, argv[0] is not a full path to the executable, just The "No bytecode file specified" error occurs when the runtime system
Let me know if this helps diagnosing the problem.
|
Comment author: administrator Can't reproduce presently. |
Comment author: administrator It is str.cma that is the problem. In the following test I created two different toplevels, one with str.cma, tableplan$ ocamlmktop -o facile3.exe str.cma facile.cma #quit;;tableplan$ facile3 #quit;;tableplan$ M-x run-caml facile3.exe results in No bytecode file specified. Process inferior-caml exited abnormally with code 2 /mattias
At startup, the OCaml runtime system looks "inside itself", (Keep in mind that ocamlc -custom generates a "mixed-mode" executable, On many platforms, argv[0] is not a full path to the executable, just The "No bytecode file specified" error occurs when the runtime system
Let me know if this helps diagnosing the problem.
|
Original bug ID: 273
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
I can only run-caml with arg "ocaml", not any other toplevel-exes.
If I run the command
(make-comint "inferior-caml" "mytop" nil)
I get
No bytecode file specified.
Process inferior-caml exited abnormally with code 2
If I run
(make-comint "inferior-caml" "ocaml" nil)
I get
I use cygwin, lastest version on Windows 2000. Both ocaml and mytop works
from bash and cmd.exe. Ocaml is compiled using cygwin, so ocamldebug works
in bash, but not under emacs. But that is an other problem.
/mattias
P.s The same for mytop.exe
P.p.s If I do Esc-! mytop from scratch, mytop starts in a separate window
P.P.p.s I don't think it has to do with mytop, I get the same error if I do
(make-comint "inferior-caml" "ocamlbrowser.exe" nil)
BEGIN:VCARD
VERSION:2.1
N:Waldau;Mattias;;Mr.
FN:Mattias Waldau
ORG:Tacton Systems AB
TITLE:CTO
TEL;WORK;VOICE:+46 8 690 07 50
TEL;HOME;VOICE:+46 (18) 55 14 49
TEL;CELL;VOICE:+46 70 549 11 12
TEL;WORK;FAX:+46 70 617 11 12
ADR;WORK:;;Saltmätargatan 7;11359 Stockholm;;;Sweden
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Saltm=E4targatan 7=0D=0A11359 Stockholm=0D=0ASweden
URL:
URL:http://www.abc.se/~m10217
EMAIL;PREF;INTERNET:mattias.waldau@tacton.com
REV:20000724T102834Z
END:VCARD
The text was updated successfully, but these errors were encountered: