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, 5 Jan 2002 12:34:24 +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: <8270662136.20020105123424@familiehaase.de> To: cygwin AT cygwin DOT com CC: "Albert L. Wagner" , "ruby-talk AT ruby-lang DOT org" Subject: Re: Compiling Berkeley db for Ruby under Cygwin In-Reply-To: <3C369F9A.8080901@ece.gatech.edu> References: <3C34978F DOT B943BF96 AT uark DOT edu> <2326966686 DOT 20020105002608 AT familiehaase DOT de> <17028398394 DOT 20020105005000 AT familiehaase DOT de> <3C369F9A DOT 8080901 AT ece DOT gatech DOT edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hallo Charles, Am 2002-01-05 um 07:39 schriebst du: > Gerrit P. Haase wrote: >>>1. Use the correct linker flag `-L/path/to/librubys.a/' and look >>> if there is a lib named libcygwin-ruby16.a, isn't the name of >>> the import lib librubys.a or was it changed since 1.6.5 and 1.6.6? >> Ah, no, librubys.a is the static lib, the importlib is: >> /usr/local/lib/libcygwin-ruby16.a in my build. > FYI, ".dll.a" is a recognized extention meaning "import lib". If found > in the library search path, it takes precedence over ".a" unless -static > is used. E.G. > /my/lib/path/ contains > libfoo.dll.a > libfoo.a > Then > gcc -L/my/lib/path -lfoo > will find and link against /my/lib/path/libfoo.dll.a > gcc -static -L/my/lib/path -lfoo > will link against /my/lib/path/libfoo.a Yep, that is the 'standard' but ruby is ruby;) Thay have their own syntax like perl too. There is the static lib, /usr/local/lib/ruby/1.6/i686-cygwin/librubys.a and an importlib /usr/local/lib/libcygwin-ruby16.a Maybe a symlink libcygwin-ruby16.a -> libcygwin-ruby16.dll.a would help? 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/