Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 From: "Hannu E K Nevalainen \(garbage mail\)" To: Subject: RE: problem with g77 Date: Wed, 18 Jun 2003 23:50:26 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 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/