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: Running a program in Cygwin that was compiled in Linux


> I have installed Cygwin 1.7 on my Win 7 machine.  
> I have a set of programs that were compiled 
> on a Linux machine using the G77 fortran compiler.  
> These programs will not compile with the 
> Gfortran compiler that comes with Cygwin 1.7.  
> Can I just copy the compiled objects over to my 
> Cygwin directory on my windows machine?  

No, unfortunately that won't work.  Surprisingly I can't find this in the
Cygwin FAQ, but right on the home page of cygwin.com, it says:

Cygwin is not:

* a way to run native Linux apps on Windows. You must rebuild your
application from source if you want it to run on Windows.

Sorry.
Andrew


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


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