Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Custom linking with MacOSX frameworks?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-10-03 (19:46)
From: Christophe Raffalli <Christophe.Raffalli@u...>
Subject: Re: [Caml-list] Custom linking with MacOSX frameworks?
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 <name> 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 <files needed> -o <executable name> -cclib -lobjc 
> -ccopt "-framework <name>" ...
> 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