X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
References: <f345cb51424cc.424ccf345cb51@uidaho.edu>
Subject: RE: IMSL and cygwin
Date: Sun, 1 Apr 2007 01:16:04 +0100
Message-ID: <00cb01c773f2$f0166d70$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <f345cb51424cc.424ccf345cb51@uidaho.edu>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Note-from-DJ: This may be spam

On 31 March 2007 18:45, Ruprecht Machleidt wrote:

> From Absoft, I have bought the (compiled) Fortran77 IMSL
> for Intel architecture and LINUX Release 2.0 or higher
> ("libimsl.a").
> 
> But I do not know how to make this package work on cygwin.
> If I include the libimsl.a in a standard g77 statement, like,
> 
> g77 -o xxx program.f libimsl.a
> 
> (with the libimsl.a file residing in the same
> directory as program.f, for simplicity)
> it doesn'i find the IMSL subroutines
> called in program.f
> 
> Any idea what to do?

  You're screwed, I'm afraid.

  Cygwin doesn't make windows understand native linux machine code.  For
instance, linux uses int 0x80 to access a syscall, windows uses int 0x2e.
There is no way to reuse the raw binary code in the library by using cygwin.
Cygwin lets you take standard linux source codes and compile them and have
them 'just work' after recompiling, but it's not a cpu emulator.  Sorry.

  Since you've paid money for this, your best bet is to install a real linux
partition on your pc under dual-boot and use the library with linux.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

