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
ocamlbuild & linker options
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-02-03 (09:17)
From: John Lepikhin <john@i...>
Subject: Re: [Caml-list] ocamlbuild & linker options

> > Is there a way to pass option "-R /some/path" to GCC linker from
> > ocamlbuild? I tried "ocamlbuild -lflags -cclib,-R,/some/path", but
> > without success.
> try: ocamlbuild -lflags -cclib,-R,-cclib,/some/path

Thank you for quick reply. I made a mistake in the first post. Option
that should be passed to GCC: -Wl,-R/some/path (with comma).