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: List-Subscribe: List-Archive: List-Post: List-Help: , 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: References: Date: Fri, 17 Oct 2014 16:06:51 +0200 Message-ID: Subject: Re: Running a program in Cygwin that was compiled in Linux From: Arjen Markus To: Andrey Repin Content-Type: text/plain; charset=UTF-8 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 : > 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