delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
From: | "Hannu E K Nevalainen \(garbage mail\)" <garbage_collector AT telia DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: problem with g77 |
Date: | Wed, 18 Jun 2003 23:50:26 +0200 |
Message-ID: | <NGBBLLIAMFLGJEOAJCCEAEPLDAAA.garbage_collector@telia.com> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
Importance: | Normal |
In-Reply-To: | <002001c3357f$d873c3d0$040010ac@lapt2> |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1165 |
> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf > Of Dr Jeff Forshaw > > > Hello! > I have a peculiar problem using g77. I can compile and produce sensible > object files, and I can create executables. However, when I come > to run the > executable I get the error > "bash: MZ?: command not found" $ od -t x1z </usr/bin/ls.exe | head -1 0000000 4d 5a 90 00 03 00 00 00 04 00 00 00 ff ff 00 00 >MZ..............< $ . /usr/bin/ls.exe bash: MZ?: command not found Seems to me that bash is trying to _source_ your executable. ( $ help source ) What filesystem are you using? If not FAT or FAT32 then try "chmod u+x" on the executable. (IIRC there is some problems regarding chmod on FAT fs'es.) /Hannu E K Nevalainen, 59~14'N, 17~12'E ~ <=> degree -- --END OF MESSAGE-- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |