<div dir="ltr">Thank you, Paul. Robert Buckley</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 20, 2015 at 5:09 PM, Paul Bone <span dir="ltr"><<a href="mailto:paul@bone.id.au" target="_blank">paul@bone.id.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Apr 20, 2015 at 07:23:09PM +0200, Tomas By wrote:<br>
> On Mon, April 20, 2015 17:52, Delmas Buckley wrote:<br>
> > (1) How can I search the lists?<br>
><br>
> Use google "site:<a href="http://mercurylang.org" target="_blank">mercurylang.org</a> <keywords>"<br>
><br>
><br>
> > (2) Can anyone provide a few simple templates for (a) compiling for<br>
> > profiling, and (b) executing with profiling.<br>
><br>
> You need (I believe) to create a "Mmake" file, no apparently it is<br>
> "Mmakefile", with the line "GRADEFLAGS=--profiling", before you compile.<br>
<br>
</span>mmake and Mmakefiles are deprecated. I suggest using mmc --make to build<br>
programs instead. To give it options saved in a file name the file<br>
Mercury.options It can take options such as "GRADE" and "MCFLAGS" etc.<br>
<br>
This is kind-of all over the place in the User's Guide:<br>
<br>
Generally but not a good "guide":<br>
<a href="http://www.mercurylang.org/information/doc-release/mercury_user_guide/Using-mmc.html#Using-mmc" target="_blank">http://www.mercurylang.org/information/doc-release/mercury_user_guide/Using-mmc.html#Using-mmc</a><br>
<a href="http://www.mercurylang.org/information/doc-release/mercury_user_guide/Using-Mmake.html#Using-Mmake" target="_blank">http://www.mercurylang.org/information/doc-release/mercury_user_guide/Using-Mmake.html#Using-Mmake</a><br>
<br>
Options files:<br>
<a href="http://www.mercurylang.org/information/doc-release/mercury_user_guide/Using-Mmake.html#Using-Mmake" target="_blank">http://www.mercurylang.org/information/doc-release/mercury_user_guide/Using-Mmake.html#Using-Mmake</a><br>
<br>
mmc --make and libraries:<br>
<a href="http://www.mercurylang.org/information/doc-release/mercury_user_guide/Building-with-mmc-_002d_002dmake.html#Building-with-mmc-_002d_002dmake" target="_blank">http://www.mercurylang.org/information/doc-release/mercury_user_guide/Building-with-mmc-_002d_002dmake.html#Building-with-mmc-_002d_002dmake</a><br>
<br>
Cheers.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Paul Bone<br>
</font></span></blockquote></div><br></div>