<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Peter:<br>what I learned is that the cm3 compiler finds it's config file in the same directory of the cm3 compiler executable, otherwise it reports an error (about it).<br>I know from cm3 -? that:<br>from http://www.opencm3.net/doc/help/cm3/cm3-quickref.html<br>environment variables:<br><pre> M3CONFIG platform dependent configuration file to use (cm3.cfg)<br> used if no suitable file is found in the local package</pre>However I don't how can be used the compiler to ship and compile according the abstracted config files made by Jay specially in the NT386 and derived platforms (I guess would be nice to set that in the command itself like select to alternative not common configurations of graphic libs or back ends, etc, ...) with the same libm3 and m3core.<br><br>Thanks in advance<br>--- El <b>sáb, 17/1/09, Peter Eiserloh
<i><eiserlohpp@yahoo.com></i></b> escribió:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">De: Peter Eiserloh <eiserlohpp@yahoo.com><br>Asunto: [M3devel] Multiple CM3_ROOTs<br>Para: m3devel@elegosoft.com<br>Fecha: sábado, 17 enero, 2009 10:09<br><br><pre>Hi Tony and Gang,<br><br>The hypothetical scenario is a system providing multiple<br>user accounts. The sysadmin will install a released<br>version of CM3, not a daily snapshot. Any user should be<br>able to install a daily snapshot, and old one, or a custom<br>version, for their particular use. This would go within<br>a directory of their choosing (within their personal HOME).<br><br>These users, may have many customized versions of libm3<br>(and m3core), and hence many installations of an M3<br>compiler. <br><br>A git repository has already been imported from the main<br>CVS repository at elego. Any user (at the moment
thats<br>just me) may create any number of branches and play with<br>the code.<br><br>How can I ship to a different CM3_ROOT, than the one that<br>built it? <br><br>When using a different CM3_ROOT than the standard one, the<br>user would obviously have to set their PATH and CM3<br>environment variables appropriately. How does the cm3 <br>compiler frontend know the path to its config file?<br>Does it walk argv[0] up the directory chain, and use the<br>PATH to find itself, or is the path build-in? Does it use<br>the environment variable CM3 if found?<br><br><br>+--------------------------------------------------------+<br>| Peter P. Eiserloh |<br>+--------------------------------------------------------+<br><br><br> <br></pre></blockquote></td></tr></table><br>