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
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:36)
From: John Lepikhin <john@i...>
Subject: Re: [Caml-list] ocamlbuild & linker options

> 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).

The solution is: don't use -Wl, use -Xlinker instead:

ocamlbuild -cclib,-Xlinker,-cclib,-R/some/path