Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sat, 12 Jan 2002 00:46:56 +0100 From: "Gerrit P. Haase" X-Mailer: The Bat! (v1.53t) Business Reply-To: "Gerrit P. Haase @ cygwin" Organization: Esse keine toten Tiere X-Priority: 3 (Normal) Message-ID: <160633014246.20020112004656@familiehaase.de> To: cygwin AT cygwin DOT com CC: Pavel Tsekov Subject: Re: RPM installer needed for my PHP project In-Reply-To: <127116620651.20020111185953@familiehaase.de> References: <200201090812 DOT g098CNA24161 AT www1 DOT translationforge> <20020109160801 DOT GD1672 AT dothill DOT com> <200201110951 DOT g0B9pdA08884 AT www1 DOT translationforge> <3C3F0E65 DOT 2050800 AT ece DOT gatech DOT edu> <3C3F1103 DOT 7060402 AT syntrex DOT com> <127116620651 DOT 20020111185953 AT familiehaase DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/