From: Fox_Conor@emc.com
To: kandy.s.jarvis1@jsc.nasa.gov, gcc-help@gcc.gnu.org
Subject: RE: compiling
Date: Mon, 07 Nov 2005 15:05:00 -0000 [thread overview]
Message-ID: <D492F7F1530F8D4EA0A03A6365EC3A4406C2753E@corpeumx1-bk.corp.emc.com> (raw)
I'm guessing you're more of a Windows user, so humour me when I ask:
Is the 'executable bit' set on band.exe ?
Try 'ls -l band.exe'. You may see something like:
-rw-rw-rw- 1 others others 6243 Oct 28 13:51 band.exe
Now try 'chmod a+x band.exe' and then repeat the ls command, hopefully
you'll get something more like:
-rwxrwxrwx 1 others others 6243 Oct 28 13:51 band.exe
The x characters mean that the file is now executable by you, your group and
everyone else. Or something like that: my Unix is woefully rusty.
Further caveat: my hazy recollection is that compilers on Linux (and other
Unixes) set the x bit by default on the executable files they create. So
I'm doubting my own suggestion.
> -----Original Message-----
> From: gcc-help-owner@gcc.gnu.org
> [mailto:gcc-help-owner@gcc.gnu.org] On Behalf Of JARVIS,
> KANDY S. (JSC-KX) (ESCG)
> Sent: 07 November 2005 14:44
> To: 'gcc-help@gcc.gnu.org'
> Subject: compiling
>
>
> I've never used the g77 compiler before. I have a program that I can
> compile with absoft fortran. I need to compile with g77 on a
> linux system.
> I can't figure out how to get the exe.
>
> I tried f77 -O band1105.f and get an a.out file
> I tried f77 -o band.exe band1105.f and get band.exe but it
> doesn't run.
>
> Help! What are the command lines I need to generate an executable?
>
> Thanks. Sorry for my stupidity.
>
> Kandy S. Jarvis
> ESCG/Hamilton Sundstrand
> P.O. Box 58447
> Houston, TX 77258-8447
> Attn: Kandy Jarvis, MC: JE104
>
> 281-483-5165/281-483-0817
> Fax 281-244-5031
>
>
>
next reply other threads:[~2005-11-07 15:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-07 15:05 Fox_Conor [this message]
2005-11-08 8:52 ` compiling Pierre-Matthieu anglade
-- strict thread matches above, loose matches on Subject: below --
2005-11-08 14:55 compiling JARVIS, KANDY S. (JSC-KX) (ESCG)
2005-11-07 14:43 compiling JARVIS, KANDY S. (JSC-KX) (ESCG)
2003-02-08 17:27 Compiling Dockeen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D492F7F1530F8D4EA0A03A6365EC3A4406C2753E@corpeumx1-bk.corp.emc.com \
--to=fox_conor@emc.com \
--cc=gcc-help@gcc.gnu.org \
--cc=kandy.s.jarvis1@jsc.nasa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).