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

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).



2014-10-17 15:49 GMT+02:00 Linda <>:
> 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:
> FAQ:         
> Documentation:
> Unsubscribe info:

Problem reports:
Unsubscribe info:

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