<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 22.04.2009, at 21:58, Eliot Miranda wrote:</div><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word"><div><div><br></div><div> Actually, no.&nbsp;-fno-omit-frame-pointer seems to *force* a frame pointer even on platforms that by default have none ... or is that what you need?</div></div></div></blockquote><div><br></div><div>Right. &nbsp;Somewhere (and I haven't found out where) the autoconf configuration decides to apply -fomit-frame-pointer, which is fine as it generates faster code, etc. &nbsp;</div></div></blockquote><div><br></div><div>platforms/unix/config/acinclude.m4</div><div><br></div><div>If you change any of the autoconf stuff remember to run autoconf to regenerate the configure script.</div><div><br></div><blockquote type="cite"><div class="gmail_quote"><div>But I need (actually, want; I could work around, but shouldn't have to) &nbsp;a frame pointer for one file, and a subsequent -fno-omit-frame-pointer will override a preceeding -fomit-frame-pointer with the compilers I'm aware of.</div></div></blockquote><div><br></div><div>Good.</div><br><blockquote type="cite"><div class="gmail_quote"> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word"><div><div></div><div><br></div><blockquote type="cite"><div class="gmail_quote"><div> &nbsp;My problem, however, is how to get autoconf to generate a specific compile rule for one file. &nbsp;I can define the alternative COMPILEALT macro but I can't yet figure out how to spit out that rule for a specific source file withoput hacking it at the wrong place. &nbsp;But I'm getting closer :/</div> </div></blockquote><br></div><div>Assuming you put it in the vm directory, hacking&nbsp;platforms/unix/vm/Makefile.in should do it, no?</div></div></blockquote><div><br></div><div>Thanks for the suggestion! &nbsp;tried it but no. &nbsp;So I think I have to duplicate the ${srcs} collection and processing in mkmf.</div> <div></div></div></blockquote></div><div><br></div><div>I meant to add a line for your file</div><div><br></div><div>myCogFile$o : myCogFile.c</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>$(COMPILE)&nbsp;&nbsp;-fomit-frame-pointer&nbsp;$@&nbsp;myCogFile.c</div><div><br></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Lucida Grande; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><div style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; ">- Bert -</span></div><br class="Apple-interchange-newline"></div></span> </div><br></body></html>