[Mono-list] ./libs/libmod_mono.so is not a DSO

Jonathan Stowe jns@gellyfish.com
Fri, 06 Aug 2004 10:34:50 +0100


On Fri, 2004-08-06 at 08:53, Darrell Blake wrote:
> > mod_mono does not work (not even compile) on windows. Patches 
> 
> welcome.
> 
> Not even in Cygwin? It's a Unix environment.

Well strictly speaking Cygwin is just a .dll that provides sufficient
POSIX/X-OPEN/SVID/whatever APIs to be able to compile Unix programs
without having to change them very much.  A cygwin program is a windows
program it just uses the cygwin.dll to provide the stuff that windows
lacks.

Anyway as to your original problem - I would imagine that it probably
could be made to work but you will need to alter the Configure/Makefile
in order to create the appropriate file type that the Cygwin Apache
requires for DSOs - look in the apache directory to see what extension
they already have (I would imagine they are .DLLs) and then alter the
gcc flags to create the appropriate target type.  You may get some hints
by looking at the makefile for mono itself.

Sorry to be a bit vague - I'm in the middle of some work and haven't the
time to reboot into windows to investigate further.

/J\