<div>Update:</div>
<div>Got a successful compile/link (yay!) with some pretty trivial warnings:</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ( ! yyg-&gt;yy_did_buffer_switch_on_eof )<br>........................................^<br>%CXX-W-CODEUNREACHABLE, statement is unreachable<br>at line number 1027 in file ROOT:[
SRC.dev.cmake-2^.4^.7.Bootstrap^.cmk]cmCommandArgumentLex<br>er.cxx;<br>&nbsp;</div>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yyssp = yyss + yysize - 1;<br>......^<br>%CXX-W-CODEUNREACHABLE, statement is unreachable<br>at line number 1072 in file ROOT:[SRC.dev.cmake-2^.4^.7.Bootstrap^.cmk]cmCommandArgumentPar<br>ser.cxx;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; goto yyerrorlab;<br>.....^<br>%CXX-W-CODCAUUNR, statement either is unreachable or causes unreachable<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; code<br>at line number 1511 in file ROOT:[SRC.dev.cmake-2^.4^.7.Bootstrap^.cmk]cmCommandArgumentPar
<br>ser.cxx;<br></p>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; while ( num_to_read &lt;= 0 )<br>........................^<br>%CC-I-QUESTCOMPARE, In this statement, the unsigned expression &quot;num_to_read&quot; is being compa<br>red with a relational operator to a constant whose value is not greater than zero.&nbsp; This mi
<br>ght not be what you intended.<br>at line number 1212 in file ROOT:[SRC.dev.cmake-2^.4^.7.Bootstrap^.cmk]cmListFileLexer.c;</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp; newSigChldAction.sa_handler = kwsysProcessesSignalHandler;<br>....^<br>%CC-W-PTRMISMATCH, In this statement, the referenced type of the pointer value &quot;kwsysProces<br>sesSignalHandler&quot; is &quot;function (int, pointer to struct __siginfo, pointer to void) returnin
<br>g void&quot;, which is not compatible with &quot;function (int) returning void&quot;.<br>at line number 2331 in file ROOT:[SRC.dev.cmake-2^.4^.7.Source.kwsys]ProcessUNIX.c;3</div>
<div><br>&nbsp;&nbsp;&nbsp; return fs.st_ctime &gt;= 0 ? static_cast&lt;long int&gt;(fs.st_ctime) : 0;<br>.......................^<br>%CXX-W-UNSCOMZER, pointless comparison of unsigned integer with zero<br>at line number 1806 in file ROOT:[
SRC.dev.cmake-2^.4^.7.Source.kwsys]SystemTools.cxx;1<br>&nbsp;</div>
<div>The only one that seems serious is the about the signal handler struct.&nbsp; However, I&#39;m going to wait and see if it causes the thing to blow-up.<br>Only change required was to add an #ifdef to ProcessUNIX.c on line 2330 (I&#39;ll send along a diff as soon as I can get a unix-compatible diff-utility working)
</div>
<div>#ifdef _VMS<br>&nbsp;&nbsp;&nbsp; newSigChldAction.sa_handler = kwsysProcessesSignalHandler;<br>&nbsp;&nbsp;&nbsp; newSigChldAction.sa_flags = SA_NOCLDSTOP;<br>#else<br>&nbsp;&nbsp;&nbsp; newSigChldAction.sa_sigaction = kwsysProcessesSignalHandler;<br>&nbsp;&nbsp;&nbsp; newSigChldAction.sa_flags
 = SA_NOCLDSTOP | SA_SIGINFO;<br>#endif<br>&nbsp;</div>
<div>&nbsp;</div>
<div>New challenges: getting the thing to actually run:</div>
<div>Next issue I run into is getcwd seems to fail which causes an abort early on in the program invocation.&nbsp; Abort seems to cause a OPCCUS failure with a traceback (seems to be an issue with the C-RTL and the abort function):
</div>
<div>%SYSTEM-F-OPCCUS, opcode reserved to customer fault at PC=FFFFFFFF80AA0DF4, PS=0000001B</div>
<div>&nbsp;</div>
<div>Digging into it a bit, the RTL claims there isn&#39;t enough space in the buffer for the resulting string - which I don&#39;t understand as&nbsp;2048 is a pretty big buffer even for a string that should look like: &quot;/root/src/dev/cmake-
2.4.7/bootstrap.cmk&quot;</div>
<div>&nbsp;</div>
<div>-Alan<br>&nbsp;</div>
<div><span class="gmail_quote">On 9/28/07, <b class="gmail_sendername">Bill Hoffman</b> &lt;<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Well, either an ifdef VMS, or a try_compile should be used to get the<br>right signature for the handler.<br>
Sounds like you are making good progress.&nbsp;&nbsp;I would recommend getting it<br>to build any way possible,<br>then send diffs to me and we can work out the right way to do it.<br>Sounds like you are making good<br>progress!<br>
<br>-Bill<br><br></blockquote></div><br><br clear="all"><br>-- <br>+––– –– –&nbsp;&nbsp;–&nbsp;&nbsp; –&nbsp;&nbsp;&nbsp;&nbsp; –&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;–<br>| Alan Antonuk<br>| <a href="mailto:antonuka@msu.edu">antonuka@msu.edu</a>, <a href="mailto:aega@umich.edu">aega@umich.edu
</a><br>&nbsp;&nbsp;tel cell: (734) 646-4476<br>| tel work: (734) 647-1386<br>&nbsp;&nbsp;addr: 1705 Morehead Dr., Ann Arbor, MI 48103<br>| aim: alanxz1