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 $_at_ $<
to
program: program.o
rm -f $_at_
cc -o $_at_ $<
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 |
------------------------------------------------
Received on Fri Jul 02 1999 - 08:17:02 NZST