Another useful fact when building on multiple environments is that you can
rename() a file while it's running on pretty much any OS.  So perhaps as
part of the make process, you could rename rom/rom.exe to rom.running, then
build as normal.

----- Original Message ----- 
From: "Jason Gauthier" <[EMAIL PROTECTED]>
To: "'Sarix'" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Saturday, December 06, 2003 7:39 PM
Subject: RE: (no subject)


> Well, two part.
>
> 1) You cannot link your code while it's running because windows won't
allow
> you to overwrite the in-use binary.
> 2) You cannot exec() the same binary name either.
>
> If you do this under windows, you need to create a new binary
> (rom.randomnumber)from withing the mud and exec() that file.
>
> But, it will still be more portable if you compile it in a cygwin
> environment.
>
> Jason
> > -----Original Message-----
> > From: Sarix [mailto:[EMAIL PROTECTED]
> > Sent: Saturday, December 06, 2003 8:36 PM
> > To: [email protected]
> > Subject: Re: (no subject)
> >
> >
> > Course he means windows what else would you think of
> > installing cygwin onto in order to run something.
> >
> > I don't belive windows allows an EXE to be replaced while
> > it's currently running. Unless your switching between exe's
> > for each co.
> >
> >
> > ----- Original Message ----- 
> > From: "Jason Gauthier" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Cc: <[email protected]>
> > Sent: Saturday, December 06, 2003 6:24 PM
> > Subject: RE: (no subject)
> >
> >
> > > compiled on (msvc 6.0)?
> > >
> > > Does that mean windows?  Windows does not support the
> > copyover without
> > some
> > > unix layer.
> > >
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > > Sent: Saturday, December 06, 2003 7:43 PM
> > > > To: [email protected]
> > > > Subject: (no subject)
> > > >
> > > >
> > > > *grovels in the dirt before anyone who can start to help*
> > > >
> > > > On my mud I have installed copyover 7.(something)
> > > > and compiling went fine (msvc 6.0)  Im running this on a test
> > > > machine, i wanted to test it before i put it on my
> > server. (maybe i
> > > > should try using Cygwin to run it, that might fix the access
> > > > problems)
> > > > but this is what i get.     Can ya help!?
> > > >
> > > > Mon Jan 05 12:14:56 2004 :: ROM is ready to rock on port
> > 5000. Mon
> > > > Jan 05 12:14:56 2004 :: Copyover recovery initiated
> > > > Write_to_descriptor: Permission denied
> > > > Game_loop: select: poll: Bad file descriptor
> > > >
> > > >
> > > >
> > > > --
> > > > Atm of Forgotten Empire!
> > > >
> > > >
> > > > __________________________________________________________________
> > > > McAfee VirusScan Online from the Netscape Network. Comprehensive
> > > > protection for your entire computer. Get your free trial today!
> > > > http://channels.netscape.com/ns/computing/mcafee/index.jsp?pro
> > > mo=393397
> > >
> > > Get AOL Instant Messenger 5.1 free of charge.  Download Now!
> > > http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
> > >
> > > --
> > > ROM mailing list
> > > [email protected]
> > > http://www.rom.org/cgi-bin/mailman/listinfo/rom
> > >
> > > --
> > > ROM mailing list
> > > [email protected]
> > > http://www.rom.org/cgi-bin/mailman/listinfo/rom
> > >
> >
> >
> > -- 
> > ROM mailing list
> > [email protected]
> > http://www.rom.org/cgi-bin/mailman/listinfo/rom
> >
>
> -- 
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom


Reply via email to