delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/17/10:07:12

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=tN
SuYzY9U6IcxbuYq70dklnk+DVFN/TK4BxTf4xDxI9eM4SbUk7vzj4fCR4AkfkkGX
aef7FSsbnDW8RDRHkfYdDXLuoy/cj8L16c5f+EuYFKt/LGRuLYrEBdXrwh1ZPoh4
yeX6AmAlVe0OWcDwq7rEjY2nhAmadNYwNNJ2Y7bRk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=9tZ7A5zN
A6El1WvtO6PMnVTEaCg=; b=CEqpzfIj9M2G6P7GMli/SRfkLJqktfqEhhNJVRd3
RK6yw05rm3R9uZIYyIPZcx3o904huojsYFauGw4TT2nNrOzvTKLwtqEDMp5Wm4Dn
SgMcKfWGX/ig+BShstZvZ/NauUafZRrI9gGi5ZWBHz7Q8LLujq7WYhjObL6CFGDZ
Y88=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ig0-f175.google.com
MIME-Version: 1.0
X-Received: by 10.42.23.136 with SMTP id s8mr2074369icb.80.1413554811246; Fri, 17 Oct 2014 07:06:51 -0700 (PDT)
In-Reply-To: <loom.20141017T153243-245@post.gmane.org>
References: <loom DOT 20141017T153243-245 AT post DOT gmane DOT org>
Date: Fri, 17 Oct 2014 16:06:51 +0200
Message-ID: <CAMCbSMp62juUxOrL89VC-oHtZpr8+oGtK5z5dau6s_SvF130cg@mail.gmail.com>
Subject: 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>
X-IsSubscribed: yes

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 AT thepi DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019