X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: 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: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/