delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/17/10:28:31

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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=nCAVE9QvPQRLZtVAZ9ejLysMacqddYwkuXDxFe3t/FE177zSi9hba
mXbaJXOjpoLTt3Y4DTYgyc83YDdwLwfWs639xulPs8pc2qxVV3bYJMnPInlJ2gkw
6HSYaJHUy3qBOD5J3WB9mTNqq8JTtOb35stzcGreB/WggA4Hr0z1I4=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=3EWhAXKd7+DejqxnE1QLsdBGrro=; b=J4xUAvSaPgvtbKWEYjVXJ+IWA5q8
sxnZ/j3KNiN/lGEfpXBgBlP5eWeR5G1DlV+iXFNEtPZSk8iw412HXEHFU6b8u25k
mcxRVCZ3qkDUbgYLQnvMD8ObTPRFS2a2rROewu5GBAmXQkrhlHHGG79OwFF8KcL0
paX8m+sisDa4wT8=
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=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Andrew Schulman <schulman DOT andrew AT epa DOT gov>
Subject: Re: Running a program in Cygwin that was compiled in Linux
Date: Fri, 17 Oct 2014 10:27:48 -0400
Lines: 18
Message-ID: <vo924a965j6mjkj623gc09fp34j0ubmpcg@4ax.com>
References: <loom DOT 20141017T153243-245 AT post DOT gmane DOT org>
Mime-Version: 1.0
X-Archive: encrypt
X-IsSubscribed: yes

> 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

- Raw text -


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