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: Compiling Berkeley db for Ruby under Cygwin


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


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