Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compiling makes .so instead of .dll?

Status
Not open for further replies.

GrodanBoll

Programmer
Mar 6, 2002
45
ZA
Hi

I'm tring to compile mod_rewrite to a dll-file.
The problem is when I compile the mod_rewrite.dsp in Visual Studio or use the 'nmake'-command to the mod_rewrite.mak in dos-mode it only creates a mod_rewrite.so-file??
In the .mak file you can read that it should make a .so-file, but what do I do when I need a .dll-file instead?

I'm working with the Apache v 1.3.23 and i'm sitting on a Win 2000.

Plz help me...

/Grodan
 
Hi,

Well, if you look in the modules subdirectory of a standard win32 binary install you will see mod_rewrite (and others) as .so files. Also the makefile.win in the src directory clearly refers to copying .so files :

[snip]
copy $(LONG)\Apache.exe "$(INSTDIR)"
copy $(LONG)\ApacheCore.dll "$(INSTDIR)"
copy os\win32\$(LONG)\Win9xConHook.dll "$(INSTDIR)"
copy lib\expat-lite\$(LONG)\xmltok.dll "$(INSTDIR)"
copy lib\expat-lite\$(LONG)\xmlparse.dll "$(INSTDIR)"
copy os\win32\$(LONG)\mod_status.so "$(INSTDIR)\modules"
copy os\win32\$(LONG)\mod_info.so "$(INSTDIR)\modules"
copy os\win32\$(LONG)\mod_auth_anon.so "$(INSTDIR)\modules"
copy os\win32\$(LONG)\mod_digest.so "$(INSTDIR)\modules"
copy os\win32\$(LONG)\mod_cern_meta.so "$(INSTDIR)\modules"
copy os\win32\$(LONG)\mod_expires.so "$(INSTDIR)\modules"
copy os\win32\$(LONG)\mod_headers.so "$(INSTDIR)\modules"
copy os\win32\$(LONG)\mod_rewrite.so "$(INSTDIR)\modules"
[/snip]


I presume that means win32 apache has code to load .so files into memory in a way that emulates dlls and that, therefore, you don't actually need a dll.

I'm not too familiar with the win32 side but thats how it looks to me. In case you havn't seen it, the win32 compile instructions are here -->
Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top