Re: Opam and compiler flags
[email protected] Mon, 16 Jan 2017 12:25:54 +0100 (CET)
| Newsgroups | gmane.comp.lang.ocaml.lib.gtk |
|---|---|
| Message-ID | <671737631.13385469.1484565954620.JavaMail.root@zimbra27-e5> |
--===============5500691315095847941== Content-Type: multipart/alternative; boundary="----=_Part_13385468_1994590830.1484565954619" ------=_Part_13385468_1994590830.1484565954619 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Dear Essce, I guess the best way is to modify the package locally, with "opam pin" : https://opam.ocaml.org/doc/Usage.html#opampin Best regards On 14/01/2017 23:47, Samuel Cederlund wrote: Hello, is there a way to give compiler flags to ocaml when installing an Opam package? Specifically, I would like to compile lablgtk2 with debugging turned on so that I can trace code in lablgtk2. Best regards, Essce _______________________________________________ Lablgtk-list mailing list [email protected] https://lists.ocamlcore.org/cgi-bin/listinfo/lablgtk-list ------=_Part_13385468_1994590830.1484565954619 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'> <div class="moz-cite-prefix">Dear Essce,<br>I guess the best way is to modify the package locally, with "opam pin" :<br> <a class="moz-txt-link-freetext" href="https://opam.ocaml.org/doc/Usage.html#opampin" target="_blank">https://opam.ocaml.org/doc/Usage.html#opampin</a><br> Best regards<br> <br> <br> On 14/01/2017 23:47, Samuel Cederlund wrote:<br> </div> <blockquote cite="mid:[email protected]"> <div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:16px"> <div id="yui_3_16_0_ym19_1_1484433739371_4838">Hello, <br> </div> <div id="yui_3_16_0_ym19_1_1484433739371_4839"><br> </div> <div dir="ltr" id="yui_3_16_0_ym19_1_1484433739371_4840">is there a way to give compiler flags to ocaml when installing an Opam package? Specifically, I would like to compile lablgtk2 with debugging turned on so that I can trace code in lablgtk2. <br> </div> <div dir="ltr" id="yui_3_16_0_ym19_1_1484433739371_4842"><br> </div> <div dir="ltr">Best regards,</div> <div dir="ltr">Essce<br> </div> <div id="yui_3_16_0_ym19_1_1484433739371_2971"><br> </div> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre>_______________________________________________ Lablgtk-list mailing list <a class="moz-txt-link-abbreviated" href="mailto:[email protected]" target="_blank">[email protected]</a> <a class="moz-txt-link-freetext" href="https://lists.ocamlcore.org/cgi-bin/listinfo/lablgtk-list" target="_blank">https://lists.ocamlcore.org/cgi-bin/listinfo/lablgtk-list</a> </pre> </blockquote> <p><br> </p> </div></body></html> ------=_Part_13385468_1994590830.1484565954619-- --===============5500691315095847941== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Lablgtk-list mailing list [email protected] https://lists.ocamlcore.org/cgi-bin/listinfo/lablgtk-list --===============5500691315095847941==--