From: Xavier Leroy <xavier.leroy@inria.fr>
To: Dan Stanger <dan.stanger@ieee.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Problem linking on cygwin
Date: Mon, 17 Dec 2001 16:50:47 +0100 [thread overview]
Message-ID: <20011217165047.B18842@pauillac.inria.fr> (raw)
In-Reply-To: <3C10E3BB.890AA753@ieee.org>; from dan.stanger@ieee.org on Fri, Dec 07, 2001 at 08:43:56AM -0700
> I have the following problem building my executable:
>
> bash-2.04$ make -f Makefile.win32
> /usr/local/bin/ocamlc.exe -o ./bin/maple_2_mupad maple_lexer.cmo
> stringtabl
> e.cmo maple.cmo maple_parser.cmo mpl2mup.cmo maple_2_mupad.cmo str.cma
>
> I/O error: ./bin/maple_2_mupad: No such file or directory
> make: *** [bin/maple_2_mupad] Error 2
>
> What seems to happen is that the file maple_2_mupad is not renamed from
> maple_2_mupad.exe
Right. More precisely, gcc -o ./bin/maple_2_mupad decides to put its
output in ./bin/maple_2_mupad.exe behind OCaml's back. Normally, the
ocamlc compiler should compensate for this, but maybe there's a bug in
this part of the code; I'll investigate.
At any rate, just do /usr/local/bin/ocamlc.exe -o ./bin/maple_2_mupad.exe
(i.e. put a .exe suffix on the output file name) and things should
work better.
- Xavier Leroy
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
prev parent reply other threads:[~2001-12-17 15:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-07 15:43 Dan Stanger
2001-12-07 21:36 ` [Caml-list] lablGL an size Christophe Raffalli
2001-12-08 15:41 ` Xavier Leroy
2001-12-08 15:47 ` malc
2001-12-17 15:50 ` Xavier Leroy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011217165047.B18842@pauillac.inria.fr \
--to=xavier.leroy@inria.fr \
--cc=caml-list@inria.fr \
--cc=dan.stanger@ieee.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox