From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA19074; Mon, 17 Dec 2001 16:50:51 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA19005 for ; Mon, 17 Dec 2001 16:50:50 +0100 (MET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id fBHFol115577; Mon, 17 Dec 2001 16:50:47 +0100 (MET) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA19101; Mon, 17 Dec 2001 16:50:47 +0100 (MET) Date: Mon, 17 Dec 2001 16:50:47 +0100 From: Xavier Leroy To: Dan Stanger Cc: caml-list@inria.fr Subject: Re: [Caml-list] Problem linking on cygwin Message-ID: <20011217165047.B18842@pauillac.inria.fr> References: <3C10E3BB.890AA753@ieee.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <3C10E3BB.890AA753@ieee.org>; from dan.stanger@ieee.org on Fri, Dec 07, 2001 at 08:43:56AM -0700 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > 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