<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 27, 2014 at 1:46 PM, gettimothy <span dir="ltr">&lt;<a href="mailto:gettimothy@zoho.com" target="_blank">gettimothy@zoho.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br><u></u><div><div style="font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif"><div>Hi all<br></div><div><br>
</div><div>In Ian&#39;s CMake infrastructure, the instructions require the user to run the configure command before invoking cmake.</div><div><br></div><div>For the CMakeVMMaker(Squeak) we currently have config.h embedded in the class. </div>
<div><br></div><div>For my first configuration after this massive refactoring I have done, I first ran the &#39;mvm&#39; on the GNU side and then cut-n-paste that generated config.h into my class.</div></div></div></blockquote>
<div><br></div><div>Tta;s an absurd thing to do.  It means that we need a different class for every single different release of a Unix OS, because the generated config.h could potentially change with every different release of a Unix OS.  config.h has *no* place in the image.  It must be generated at compile time.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif"><div><br></div><div>That&#39;s ok for an intermediate step, but I would like to take it a step further and...</div>
<div><br></div><div>1. invoke configure from squeak (I have the configure flags like &#39;--without-npsqueak --without-gl...etc&quot; embedded in the class, so they are avaiable to invoke configure with)</div><div>2. detect the success or failure of the configure command </div>
<div>3. if successful, load the generated config.h into my class (actually, this is redundant, but it may come in handy)</div><div>4. continue as normal.</div><div><br></div><div>Does this sound reasonable to everybody?</div>
<div><br></div><div><br></div><div>thx,</div><div><br></div><div><br></div><div>tty</div><div><br></div><br></div></div><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>
</div></div>