Re: [Caml-list] ocamlbuild & linker options

2010-02-03 Thread John Lepikhin
Hello, > 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 ___ Caml

Re: [Caml-list] ocamlbuild & linker options

2010-02-03 Thread John Lepikhin
Hello, > > 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

Re: [Caml-list] ocamlbuild & linker options

2010-02-03 Thread Matthieu Dubuget
Original Message Subject: [Caml-list] ocamlbuild & linker options From: John Lepikhin To: caml-l...@inria.fr Date: 03/02/2010 10:02 Hello, Is there a way to pass option "-R /some/path" to GCC linker from ocamlbuild? I tried "ocamlbuild -lflags -cclib,

[Caml-list] ocamlbuild & linker options

2010-02-03 Thread John Lepikhin
Hello, 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. ___ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listin