What's Diff between shared lib (.so) and .dll???
Charles Wilson
cwilson@ece.gatech.edu
Tue Sep 18 13:28:00 GMT 2001
Mark Paulus wrote:
> I've been trying to work out this example of how to
> make makefiles and shared library modules that are at least slightly
> portable between linux and cygwin. But, I'm having some
> difficulty.
>
they are different. To learn how to build DLLs using cygwin tools, see
http://www.neuro.gatech.edu/users/cwilson/cygutils/V1.1/dll-stuff/
Note that there seems to be a cygwin-related problem that is tickled by
the C example, but the C++ and Fortran examples work fine.
The cygwin bug is in 1.3.3-2 and is heap related; the person who
reported it to me is researching it (I seem to remember something about
heap errors in the archives)...more info to come...
src/dllhelpers-0.2.7/ $ ./usedll.exe
m.AllocationBase 0x0, m.BaseAddress 0x614E0000, m.RegionSize 0x20000,
m.State 0x10000
D:\cygwin\usr\local\src\dllhelpers-0.2.7\c\usedll.exe: *** Couldn't
reserve space for cygwin's heap (0x614E0000 <0x460000>) in child, Win32
error 487
--Chuck
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list