caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Julien Blond <julien.blond@gmail.com>
To: Christophe Raffalli <christophe.raffalli@univ-savoie.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Custom linking with MacOSX frameworks?
Date: Tue, 3 Oct 2006 17:05:43 +0200	[thread overview]
Message-ID: <45598B33-A502-466B-830A-B4FC1D93316D@gmail.com> (raw)
In-Reply-To: <45226D8E.8040905@univ-savoie.fr>

> 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! :-)

> 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?

-- Julien Blond
LIP6/Bertin Technologies


  reply	other threads:[~2006-10-03 15:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-03 11:10 Julien Blond
2006-10-03 14:02 ` [Caml-list] " Christophe Raffalli
2006-10-03 15:05   ` Julien Blond [this message]
2006-10-03 19:47     ` Christophe Raffalli
2006-10-03 20:18       ` Shivkumar Chandrasekaran
2006-10-03 22:35       ` Daniel Bünzli
2006-10-04 16:33         ` Doug Kirk
2006-10-04 17:28           ` Daniel Bünzli
2006-10-04 19:49             ` Christophe Raffalli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45598B33-A502-466B-830A-B4FC1D93316D@gmail.com \
    --to=julien.blond@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=christophe.raffalli@univ-savoie.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).