This is the mail archive of the cygwin 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: IMSL and cygwin


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/


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