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 00:50:00 +0100 From: "Gerrit P. Haase" X-Mailer: The Bat! (v1.53t) Business Reply-To: "Gerrit P. Haase" Organization: Esse keine toten Tiere X-Priority: 3 (Normal) Message-ID: <17028398394.20020105005000@familiehaase.de> To: "Gerrit P. Haase @ cygwin" CC: "Albert L. Wagner" , "ruby-talk AT ruby-lang DOT org" Subject: Re: Compiling Berkeley db for Ruby under Cygwin In-Reply-To: <2326966686.20020105002608@familiehaase.de> References: <3C34978F DOT B943BF96 AT uark DOT edu> <2326966686 DOT 20020105002608 AT familiehaase DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hallo Albert, > Am 2002-01-03 um 18:40 schriebst du: >> Even as a Linux user, I probably stay as confused about compiling >> under cygwin as some windows users. I cannot figure out just >> where the linker is looking to find cygwin-ruby16. > 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. > 2. use `my' ruby-1.6.5 package which is available at this URI: > http://familiehaase.de/cywgin/ruby/ and installs the lib and > headers and dll in `cygwin-usual' places (/usr/local/lib/ruby/..., > /usr/local/bin) > 3. Build ruby yourself: > ./configure --enable-shared > make > make test > make install 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/