Once I have compiled smaug under cygwin will I be able to upload the .exe and directories to a redhat server and run the mud with no problems or do I need to compile under redhat? My guess is that it would work as redhat uses the gcc compiler also. Anyone have thoughts or suggestions? Sorry for the newbie question but my redhat server is still in the works. :)
Cygwin / Redhat question
Posted by Warsong on Thu 08 May 2003 12:47 AM — 2 posts, 11,094 views.
Absolutely not.
Cygwin produces binaries for Windows, RedHat produces binaries for Linux. The operating system calls will all be different.
The gcc compiler is the same compiler, but not the same binary. The compiler uses the same source to compile but produces operating-system specific code, as will be your copy of SMAUG.
However if it compiles under Cygwin, it should compile with little or no changes on your RedHat server (possible changes might be the locations of system include files).
Cygwin produces binaries for Windows, RedHat produces binaries for Linux. The operating system calls will all be different.
The gcc compiler is the same compiler, but not the same binary. The compiler uses the same source to compile but produces operating-system specific code, as will be your copy of SMAUG.
However if it compiles under Cygwin, it should compile with little or no changes on your RedHat server (possible changes might be the locations of system include files).