[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

16499: Re: [MUD-Dev] Question about Cygwin.

[Full Header] [Plain Text]
From: Chris Bunting <spindiggy@yahoo.com>
Newsgroups: nu.kanga.list.mud-dev
Date: Wed, 7 Mar 2001 15:43:46 -0800 (PST)
References: [1]
Organization: Kanga.Nu
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@kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev