delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/31/19:16:20

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <f345cb51424cc DOT 424ccf345cb51 AT uidaho DOT 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
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <f345cb51424cc.424ccf345cb51@uidaho.edu>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019