From: Holger Bauer <bauer () itsm ! uni-stuttgart ! de>
To: tru64-unix-managers
Subject: SUMMARY: text file busy
Date: Fri, 02 Jul 1999 06:40:33 +0000 [thread overview]
Message-ID: <96079058315669.tru64-unix-managers.marc@archive.invalid> (raw)
I haven't got a response, therefore I analyzed the install-sh script which
came with autoconf. This shell script was able to actually install a
program despite the fact that it was running. The solution to my
problem is quite easy:
Just had to change from
program: program.o
cc -o $@ $<
to
program: program.o
rm -f $@
cc -o $@ $<
The `rm' command works even if the program is running.
Holger> With DU3.2c it was possible to compile a program while it
Holger> was running in the debugger (I am using emacs for all
Holger> this). gdb just would have recognized that the symbols
Holger> have changed and reparsed the new executable.
Holger> Now, with DU4.0e I get the report that the `text file is
Holger> busy'. I have to end the debugger, then compile and then
Holger> start again. This is quite annoying. Is there any chance
Holger> to overcome this behaviour?
--
------------------------------------------------
| Holger Bauer | Univ. of Stuttgart, ITSM |
| Dipl.-Ing. | 70550 Stuttgart, Germany |
------------------------------------------------
reply other threads:[~1999-07-02 6:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox