This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Running a program in Cygwin that was compiled in Linux
- From: Arjen Markus <arjen dot markus895 at gmail dot com>
- To: Andrey Repin <cygwin at cygwin dot com>
- Date: Fri, 17 Oct 2014 16:06:51 +0200
- Subject: Re: Running a program in Cygwin that was compiled in Linux
- Authentication-results: sourceware.org; auth=none
- References: <loom dot 20141017T153243-245 at post dot gmane dot org>
Hi Linda,
I doubt very much that you can just copy the object files and get a
working program that way. Does g77 have a cross-compile option?
An alternative is to identify the problem areas in the programs and
adjust them to standard Fortran (g77 does allow a number of
non-standard constructs, but these date back some 30 years). If you
need help with that, you can ask on comp.lang.fortran (or perhaps on
the gfortran mailing list, though that is more for the compiler itself
than for the programs you want to build with it).
Regards,
Arjen
2014-10-17 15:49 GMT+02:00 Linda <Llounsbury@thepi.org>:
> 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?
> Or is there a way to get the G77 compiler for
> Cygwin 1.7 so that I can recompile these programs?
> I'm open to all suggestions.
>
> Thank you.
>
>
> --
> 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
>
--
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