Windows server executable (as opposed to current CLI executable)

Harold Hunt huntharo@msu.edu
Sat Apr 28 13:10:00 GMT 2001


I'd like to make the server a Windows executable, rather than a CLI
executable, as this gets rid of the annoying command prompt window that
opens with each server window.  I have found, built, and tested the extra
compilation flags needed to make the server a Windows executable; simply add
the following flags to the final link of XWin.exe:

-mwindows -e _mainCRTStartup

There are two things holding me up from committing these changes:
1) I don't know how to specify flags to be used only when linking the server
executable.
2) stderr needs to be redirected to a file; however, it doesn't make sense
to pursue this until (1) has been addressed.

Any help and/or tips would be appreciated,

Harold



More information about the Cygwin-xfree mailing list