From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3836 invoked by alias); 11 Jan 2002 23:43:50 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Received: (qmail 3732 invoked from network); 11 Jan 2002 23:43:46 -0000 Received: from unknown (HELO loreley.haase.dynu.com) (62.157.28.14) by sources.redhat.com with SMTP; 11 Jan 2002 23:43:46 -0000 Received: from haase.dynu.com ([192.168.1.1] helo=LORELEY) by loreley.haase.dynu.com with esmtp (Exim 3.33 #4) id 16PBO4-00005v-00; Sat, 12 Jan 2002 00:47:04 +0100 Date: Fri, 11 Jan 2002 15:50:00 -0000 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@cygwin.com CC: Pavel Tsekov Subject: Re: RPM installer needed for my PHP project In-Reply-To: <127116620651.20020111185953@familiehaase.de> References: <200201090812.g098CNA24161@www1.translationforge> <20020109160801.GD1672@dothill.com> <200201110951.g0B9pdA08884@www1.translationforge> <3C3F0E65.2050800@ece.gatech.edu> <3C3F1103.7060402@syntrex.com> <127116620651.20020111185953@familiehaase.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg00828.txt.bz2 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@familiehaase.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/