This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RPM installer needed for my PHP project


 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:
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
-- 
=^..^=


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]