Clive,<div><br></div><div>It is great to hear that you are already interested in gtm.</div><div><br></div><div>The good news is that during the Debian packaging </div><div>we solved the bootstrapping problem. We worked </div>
<div>along with upstream and with Debian developers</div><div>to find a suitable solution.</div><div><br>The reason why gtm is needed in order to build gtm, is</div><div>that it pre-processes a set of input files, and generates</div>
<div>code from them. The pre-processing being done by a</div><div>gtm compiler.</div><div><br></div><div>What we did to break the self-dependency, was to include</div><div>in the source distribution (with the agreement of upstream)</div>
<div>the sources of the generated files.</div><div><br></div><div>In this way, the build process starts from the full collection</div><div>of sources (including the generated files) and no initial gtm</div><div>compiler is needed anymore.</div>
<div><br></div><div>In addition, to ensure consistency, once we build the gtm</div><div>compiler, we do a second round in which we regenerate </div><div>those files the traditional way, and do a second build pass.</div><div>
In this manner we ensure consistency with the build process</div><div>that gtm has used so far.</div><div><br></div><div>To instrument all this, we also created a CMake configuration</div><div>for gtm, and that helped a lot to control all the details of the build.</div>
<div><br></div><div>The reorganized code that we worked on with upstream is </div><div>in this github repository (and branch):</div><div><br></div><div><a href="https://github.com/luisibanez/fis-gtm/tree/hackathonjune2012-brad">https://github.com/luisibanez/fis-gtm/tree/hackathonjune2012-brad</a>
</div><div><br></div><div>The upstream team will be making a fresh release at some point</div><div>with this new collection of files, at:</div><div><br></div><div><a href="http://sourceforge.net/projects/fis-gtm/">http://sourceforge.net/projects/fis-gtm/</a>
</div><div>(not there yet).</div><div><br></div><div><br></div><div>If one works from the CMake-ified sources (in the github repository</div><div>above), the package can be built by using only gcc through:</div><div><br>
</div><div>    cmake  .</div><div>    make -j 4</div><div>    make install</div><div><br></div><div><br></div><div>There were other modifications details, that we will be</div><div>happy to describe further if anyone is interested.</div>
<div><br></div><div><br>With this fis-gtm package, we were also able to build</div><div>the package for VistA. (where fis-gtm is the only </div><div>dependency for the vista package).</div><div><br></div><div><br></div><div>
   Luis</div><div><br></div><div><br></div>