From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 716F3BCAB for ; Fri, 27 May 2005 04:11:55 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j4R2Bs3q002394 for ; Fri, 27 May 2005 04:11:54 +0200 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 EAA23725 for ; Fri, 27 May 2005 04:11:54 +0200 (MET DST) Received: from smtp825.mail.sc5.yahoo.com (smtp825.mail.sc5.yahoo.com [66.163.171.11]) by concorde.inria.fr (8.13.0/8.13.0) with SMTP id j4R2BqRv002388 for ; Fri, 27 May 2005 04:11:53 +0200 Received: from unknown (HELO ?192.168.1.100?) (rftp@pacbell.net@63.194.18.166 with plain) by smtp825.mail.sc5.yahoo.com with SMTP; 27 May 2005 02:11:51 -0000 Message-ID: <4296824D.8030400@rftp.com> Date: Thu, 26 May 2005 19:13:33 -0700 From: Robert Roessler Organization: Robert's High-performance Software User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jacques Garrigue Cc: Caml-list Subject: Re: [Caml-list] ocamlopt and *using* DLLs References: <4292A58D.207@rftp.com> <20050524.132951.104054009.garrigue@mailhost.math.nagoya-u.ac.jp> In-Reply-To: <20050524.132951.104054009.garrigue@mailhost.math.nagoya-u.ac.jp> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 429681EA.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 429681E8.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocamlopt:01 dlls:01 ocamlc:01 ocaml:01 libs:01 dlls:01 lablgtk:01 runtime:01 ocamlopt:01 cmo:01 cmx:01 cmxa:01 lablgtk:01 minor:01 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: Jacques Garrigue wrote: > From: Robert Roessler > ... >>2b) can I in general expect that an app that works well with ocamlc >>and a collection of OCaml cma libs and compiled DLLs (LablGTK and >>associated runtime) will work with ocamlopt - assuming that I generate >>and replace cmo/cma files with cmx/cmxa files? > > > Except these linking problems, you can assume identical behaviour. > If there are significant discrepancies, please report them. I have a request for an additional [very helpful] export from dlllablgtk2 which I will detail on the LablGTK list... but in terms of discrepancies, I only see a minor one: I notice that the fonts in the editing widget itself as well as in the surrounding menu and status bars appear differently [in native code] relative to their appearance in bytecode. It looks like the same font face and size in each case, but where the bytecode version seems to be "bold", the native one looks thin and "spidery". I can supply screenshots, run further tests, whatever would be helpful if someone wants to look into this. I have one more issue which I will bring up in this group, since it presumably effects anyone using GTK apps on Windows: what can I do about the [gratuitous to me] console window opened with my OCaml/GTK app? Aside from the philosophical debate about having a "stdout" or not, a very large number of Windows app certainly manage without one. :) Did someone on this or the LablGTK list have a piece of code yielding a tiny/invisible console window for GTK apps on Windows? I thought I had seen something like that previously, but my searches are coming up empty. Robert Roessler roessler@rftp.com http://www.rftp.com