Mail Archives: cygwin/2002/01/11/18:44:08
Hallo Gerrit,
Am 2002-01-11 um 18:59 schriebst du:
> Pavel,
> 2002-01-11 18:39:43, du schriebst:
>> Well, I just want to know - what's the thing that prevented the db
>> package from being ported so long ? Is it extremly difficulk or it's
>> just a matter of no one having the time/interest of doing it ?
>> I may be interested in maintaing this package but what some details
>> first :)
> Great, there are existing ports to start with, or start with 4.x series,
> I have it up and running here with shared libs, no problems so far (but
> I use only binmode mounts on NT). The problems are with textmode
> mounts, FAT filesystems which needs investigation and a lots of testing.
> db-4.0 builds OOB with static libs and it is no issue to create a .dll
> from a shared lib with:
^^^^^^^^^^^^^^^^^
Nonono, from a static lib, to create a shared lib you need the static lib
or at least the object files.
> gcc -shared -o cyg${module}.dll -Wl,--out-implib=lib${module}.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive $old_lib -Wl,--no-whole-archive ${dependency_libs}
> I use it every day. Instead of -Wl,--whole-archive $old_lib you can
> also take the single objects list to build a .dll.
> What will last a 'little' longer is testing and debugging and patching
> to get it run on Win98 with the FAT fs and to make it useable on
> textmode mounts.
> Take a look at an existing port and what was done there:
> ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/porters/Wilson_Charles_S/michael-ring/
> Gerrit
--
=^..^= mailto:gp AT familiehaase DOT de
--
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/
- Raw text -