> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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/