<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:13, Eliot Miranda wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_quote">On Wed, Apr 22, 2009 at 11:28 AM, Bert Freudenberg <span dir="ltr">&lt;<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> <div><div></div><div class="h5"><br> <br> On 22.04.2009, at 20:04, Eliot Miranda wrote:<br> <br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Hi All,<br> <br> &nbsp; &nbsp;I need to modify the autoconf scripts in the unix build to arrange to omit the -fomit-frame-pointer flag form on e of the files in Cog. &nbsp;I've asked Ian for help but he's not responded for whatever reason and I would like to solve the issue up front. &nbsp;Is anyone familiar enough with autoconf and has the free time to hold my hand through the process. &nbsp;I haven't got the patience to learn autoconf myself (fundamentally because I think its a heap of crap, waaaay too complicated to be worth the effort) but I would like to have the rest of the VM compiled with -fomit-frame-pointer, essentially for plugin performance, so I don't want to take the easy route and simply omit -fomit-frame-pointer throguhout, and I don't want to spend the time e.g. porting the Newspeak make framework, which would be a good thing in the long run.<br> <br> TIA<br> Eliot<br> </blockquote> <br> <br></div></div> Ian is on vacation.</blockquote><div><br></div><div>That explains it.</div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br> <br> Easiest might be to add -fno-omit-frame-pointer when your file is compiled, this should cancel a previous -fomit-frame-pointer.</blockquote><div><br></div><div>Right.</div></div></blockquote><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><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><br></div><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>