On Sun, Apr 27, 2003 at 03:52:04PM +0200, cholerx@... wrote:
> What do I have to think about when running Yaws under windows. I know I have to write a new make-file. Anything else?
cygwin or native ??
There are a few things that need to be fixed. Here's a list:
- Change the configure.in so that it works correctly.
There is a cygwin target there already.
- If the cygwin target is set, don't compile the c code
or compile only the c code that is necessary .....
Possibly compile the c code natively (not gcc)
- Change the Makefile so that the install targets make
sence under win32 and possibly add stuff to the registry ???
from the Makefiles
- Go through the erlang code and either make it conditionally
at compile time or run time wether to run certain things.
For example, Yaws has support for running under a different uid than
root, it starts out as root, and then chowns to, say nobody.
This (probably ??) doesn't apply under win32, so it needs to
be conditionally executed. (either at runtime or compiletime)
Unless it's a performance senstive thing, I prefer to have
the checks at runtime. Easier.
Please go ahead, mail me (or the list) if u need help
If you send patches (to me or the list)
Send good patches: There is an excelent description on
how to produce a patch in the man (unix/cygwin)
page for the patch program itself.
Claes Wikstrom -- Caps lock is nowhere and
http://www.hyber.org -- everything is under control
Get latest updates about Open Source Projects, Conferences and News.