Justin Johansson Wrote: > Seeing this topic discussed here before but unable to ascertain a definitive > answer on the issue, please forgive me for asking again. > > Is there any technical reason (e.g. position dependent code) why DMD 1.0 + > Phobos cannot be used to build an Apache HTTPD server module as a linux > shared object (.so)? I've tried linking some D + C code together (the C code > already being working apache module) and have encountered unresolved symbol > issues (which undoubtedly is no surprise). > > There was some previous report that gcd would cut it, but for this project I > need to stick with DMD or my D project will be hosed. I dread the thought of > going back to Tomcat + Java. > > Now I've read how to build a Windows DLL with D and well understand the GC > mechanics. If its just a matter of hacking the runtime (CRT) startup code > I'm prepared to get my hands dirty but need some hints to get there. > > Alternative perhaps is to link the D module statically into the Apache core > but this doesn't fit well having to distribute a custom build of Apache > server. > > Any hints or help on this mercy assignment would be much appreciated. > > Again my apologies if this topic has been definitively dealt with before on > this forum. > > Thanks. >
Is this the sort of thing you are looking for? http://www.britseyeview.com/dcat/
