[Vm-dev] help with autoconf...
eliot.miranda at gmail.com
Wed Apr 22 19:13:03 UTC 2009
On Wed, Apr 22, 2009 at 11:28 AM, Bert Freudenberg <bert at freudenbergs.de>wrote:
> On 22.04.2009, at 20:04, Eliot Miranda wrote:
> Hi All,
>> 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. I've
>> asked Ian for help but he's not responded for whatever reason and I would
>> like to solve the issue up front. Is anyone familiar enough with autoconf
>> and has the free time to hold my hand through the process. 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.
> Ian is on vacation.
That explains it.
> Easiest might be to add -fno-omit-frame-pointer when your file is compiled,
> this should cancel a previous -fomit-frame-pointer.
Right. My problem, however, is how to get autoconf to generate a specific
compile rule for one file. 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. But I'm getting closer :/
> - Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev