Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 21 Nov 2002 15:46:19 -0500 (EST)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Patrick Reuter <preuter@labri.fr>
cc: cygwin@cygwin.com
Subject: Re: Linux libraries on Cygwin (Was Re: gcc-2 works)
In-Reply-To: <3DDD42DB.EA39CDE5@labri.fr>
Message-ID: <Pine.GSO.4.44.0211211541490.4275-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Thu, 21 Nov 2002, Patrick Reuter wrote:

> Hi,
>
> thanks a lot, gcc-2 works. Cool.
>
> Do you know how I could use the LAPACK library under cygwin/gcc-2 ?
> I have some .so files and some .a files built on a red hat system. How
> could I link them?
>
> Patrick

Class, repeat after me:
	Cygwin is *not* Linux

You cannot use Linux binaries under Cygwin.  You cannot (most of the time)
link with Linux libraries under Cygwin.  Your only solution for pure
Cygwin is to recompile the libraries on Cygwin.  Or you may try your luck
with something like LINE ( http://line.sourceforge.net/ ), but then be
aware that you will be building *Linux* executables.

This is quickly becoming an FAQ...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


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

