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