From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr 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 50AFEBC50 for ; Tue, 3 Oct 2006 21:46:30 +0200 (CEST) Received: from Smtp.neuf.fr (sp604001mt.neufgp.fr [84.96.92.60]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id k93JkTDV017010 for ; Tue, 3 Oct 2006 21:46:30 +0200 Received: from [192.168.144.3] ([84.4.222.28]) by sp604001mt.gpm.neuf.ld (Sun Java System Messaging Server 6.2-5.05 (built Feb 16 2006)) with ESMTP id <0J6K00I1QS9HM8V0@sp604001mt.gpm.neuf.ld> for caml-list@inria.fr; Tue, 03 Oct 2006 21:46:29 +0200 (CEST) Date: Tue, 03 Oct 2006 21:47:09 +0200 From: Christophe Raffalli Subject: Re: [Caml-list] Custom linking with MacOSX frameworks? In-reply-to: <45598B33-A502-466B-830A-B4FC1D93316D@gmail.com> To: Julien Blond Cc: caml-list@inria.fr Message-id: <4522BE3D.1060600@univ-savoie.fr> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 8BIT References: <70619F46-FF01-4B4B-8CEA-3DB768CB6640@gmail.com> <45226D8E.8040905@univ-savoie.fr> <45598B33-A502-466B-830A-B4FC1D93316D@gmail.com> User-Agent: Thunderbird 1.5.0.7 (Macintosh/20060909) X-Miltered: at concorde with ID 4522BE15.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; christophe:01 raffalli:01 christophe:01 raffalli:01 univ-savoie:01 makefile:01 compiler:01 compilation:01 compilation:01 ocamlc:01 -custom:01 -cclib:01 camlimages:01 macosx:01 macosx:01 Julien Blond a écrit : >> I do that for GlSurf and I use Glut ! > > Cool! I took a look at your Makefile and I found the answer to my > question. > Actually I didn't think to pass the -framework with the double > quotes to the C compiler. > > So, if this compilation issue does interest somebody, here is the > "trick". To "custom link" with MacOSX frameworks, the compilation > command must looks like : > > ocamlc -custom -o -cclib -lobjc > -ccopt "-framework " ... > > Thanks to Cristophe! :-) By the way if someone know which framework to use to compile camlimages with the maximum number of file format without depending upon fink library ... >> The window has an acqua look, but no way to customize the menubar ... > > Well, I don't use Glut for I prefer the more "customizable" SDL > framework. It may work better with it? > Which binding ? I might give it a try ? By customizable, you mean access to the OS X menu bar ? > -- Julien Blond > LIP6/Bertin Technologies >