[MUD-Dev] Question about Cygwin.

Chris Bunting spindiggy at yahoo.com
Wed Mar 7 15:43:46 CET 2001


Hello All,

Thanks to everyone who has replied. I think maybe I had missed some
info regarding compiling a mud with cygwin.

Just as a note, I'm using WinME and cygwin. I wouldn't have had to
bother you all if I was running linux.

I have compiled about 10 servers using cygwin. For those unfamiliar
with cygwin, You simply add a small line to the makefile. Then, Any
linux mud server compiles and runs on windows with the cygwin.dll.

Part of the stock rom makefile, The very end actually,

  .c.o: merc.h
    $(CC) -c $(C_FLAGS) $<

Now, To edit the makefile to compile on windows, I addd the following
line just after $(C_FLAGS) above like so.

  .c.o: merc.h
    $(CC) -c $(C_FLAGS) -Dunix -DOLD_RAND -DNOCRYPT $<


It's the "Dunix -DOLD_RAND -DNOCRYPT " is what I am referring to. I
guess as long as these settings don't affect the sockets code, than
all should be well.

I'll just get someone to try and connect so I can find out myself.

Thanks again for your help.

Chris
  
_______________________________________________
MUD-Dev mailing list
MUD-Dev at kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev



More information about the mud-dev-archive mailing list