Hotreboot with Cygwin

Posted by Remus on Sat 13 Jul 2002 12:53 PM — 5 posts, 22,447 views.

#0
Hello,
Just a small question.
I originally had dawn running as the win-binary but have now switched to using CYGWIN. What I write to inquire of is if dawn hotreboot is designed to work on CYGWIN or only 100% native UNix enviroments?

I get this problem is all.
starting auto changed area save.
**The Frozen wilderness -> wild_1.are
No room invite lists needed saving.
Saving objects in rooms with corpses...
Finished saving objects in rooms with corpses.
THIS BIT BELOW:
Couldn't find a new binary file called './dawn' to hotreboot over to.

Any help appreciated.
Remus
United Kingdom #1
I seem to remember sucessfully hotrebooting with a cygwin compiled version of the code. From memory you need to make hotreboot use 'dawn.exe' instead of './dawn'.

- Kal
Australia Forum Administrator #2
You could try making a symbolic link, eg.:


ln -s dawn.exe dawn
#3
Ok sorry to have to mail twice in 2 days but now I have having this little message pop up if I try to compile an updated version while my other version is running.

-------------------------------------------------
/usr/lib/gcc-lib/i686-pc-cygwin/3.1.1/../../../../i686-pc-cygwin/bin/ld: cannot open output ../dawn.exe: permission denied
collect2: ld returned 1 exit status
make: *** [dawn] Error 1
-------------------------------------------------
Any ideas anyone?
Is there a way to get around this so I dont have to down the mud if I compile new updated code?

Any help appreciated.

Remus
Amended on Tue 16 Jul 2002 04:32 PM by Remus
Australia Forum Administrator #4
Try changing the startup script to make a copy of dawn and then run that. That way the file won't be in use.

eg.

cp dawn.exe temp_dawn.exe
./temp_dawn &