This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Unexec gurus?


"Greg J. Badros" <gjb@cs.washington.edu> writes:

> HOWEVER, when single-stepping through tguile-dumped and scwm-dumped in
> GDB, there is an important behavioural difference that I cannot explain:
> In starting the dumped executables, Guile's init.c's scm_boot_guile_1,
> the "static int initialized" variable that is used there does not appear
> to have the value "1" for the dumped scwm, but does for the dumped
> tguile.  Both did set that variable correctly when dumping, but Scwm's
> dumped executable somehow has lost that state. I'm looking for
> suggestions for why that might be.

Are you statically linking in libguile.a?  I know it's a simple one,
but it got me in the past.  If your dynamically linking libguile.so,
that variable gets whacked.  My memory here is fuzzy, I hope this
helps.

-russ

--
"Crime does not pay... as well as politics."
             -- A. E. Newman

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]