English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2000-12-27 (18:06)
From: Pierre Weis <Pierre.Weis@i...>
Subject: Re: wish
> standard distribution.  My proposal is simple and easy to use.  For
> instance, building a multithreaded GTk-based GUI application can be
> done by:
> 	ocamlopt -o <executable> -i lablgtk -i threads <source>
> which is more pleasant than
> 	ocamlopt -o <executable> \
> 		-I /usr/local/lib/ocaml-3.00/lablgtk \
> 		-I /usr/local/lib/ocaml-3.00/threads <source>
> Ken Wakita

Are you aware of the new + option to -I recently added to the
compiler working sources? It allows to write:

       ocamlopt -o <executable> -I +lablgtk -I +threads <source>

isn't it what you wanted ?

Hope this helps,

Pierre Weis

INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/