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 DAA20887; Sat, 21 Dec 2002 03:34:50 +0100 (MET) 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 DAA20864 for ; Sat, 21 Dec 2002 03:34:49 +0100 (MET) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from www.duonix.com ([210.113.163.221]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id gBL2YkH09309; Sat, 21 Dec 2002 03:34:46 +0100 (MET) Received: from hama ([192.168.0.254]) by www.duonix.com (8.12.5/8.11.6) with SMTP id gBL2cVU0030674; Sat, 21 Dec 2002 11:38:31 +0900 (KST) (envelope-from shoh@duonix.com) X-Authentication-Warning: www.duonix.com: Host [192.168.0.254] claimed to be hama Message-ID: <003901c2a89a$17d09210$fe00a8c0@hama> From: "SooHyoung Oh" To: "Caml-List" Cc: Subject: [Caml-list] ocamlmklib in mingw Date: Sat, 21 Dec 2002 11:38:49 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="ks_c_5601-1987" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Xavier Leroy wrote: > Correct: ocamlmklib is only available under Unix (and Cygwin), but not > for the native Win32 port of OCaml. > > The reason is as follows: ocamlmklib builds both a DLL and a static > library from a common set of C object files. This works fine under > Unix because (with the right compilation options) the same object > files can be used in both DLL and static contexts. But this isn't so > under Windows: object files for a DLL need to be compiled with > different, incompatible flags than object files for a static library. How about ocamlmklib on win32/mingw? --- SooHyoung Oh http://www.taglib.co.kr/shoh.html ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners