[RFC Patch] Invert the program entry point
Derek Atkins
warlord at MIT.EDU
Tue Jan 3 11:15:20 EST 2006
Quoting Chris Shoemaker <c.shoemaker at cox.net>:
> Glad to hear it. Yeah, a true gnucash executable should play nicer
> with gprof, and (more importantly for me) also gdb.
Yea, debugging gnucash with gdb can be a major PitA. unfortunately
it's still hard, because gdb dosn't debug scheme. But yea, gnucash
as a C app is easier to run. You don't have to do:
gdb /usr/bin/guile
...
gdb> run -e main -s /opt/gnucash-g2/libexec/overrides/gnucash
--g-fatal-warnings
>>
>> > BTW, I think that one consequence of this change would be that
>> > it would become much easier to move the entire start-up sequence from
>> > guile to C.
>>
>> Agreed.
>
> Well then, are there any user-visible differences between the
> `gnucash-test` program that this patch installs and the `gnucash`
> script that (eventually) calls guile?
>
> I intend to commit it as installing `gnucash-test`, and hopefully a
> few more people will try it out. If nobody screams, how would you
> feel about installing it as `gnucash` instead of `gnucash-test`?
I say "just make the switch now". Don't bother with the gnucash-test
stage. Just make "gnucash" do it now and install it this way now.
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list