Hi everyone. here is my program: write(*,*)'hello' stop end :~> g77 don3.f :~> a.out bash: a.out: command not found The program compiles fine and there is a file called a.out. How do I run this binary? What am I doing wrong? Thanks for our patience. Cheers, Steve.
On Thursday 07 August 2003 09:00 am, fsanta wrote:
Hi everyone.
here is my program:
write(*,*)'hello' stop end
:~> g77 don3.f :~> a.out
bash: a.out: command not found
The program compiles fine and there is a file called a.out. How do I run this binary? What am I doing wrong? Thanks for our patience. Cheers, Steve.
Try ./a.out -- Tony Alfrey tonyalfrey@earthlink.net "I'd Rather Be Sailing"
Also check the permissions if its not identified as executable it wont be
executed unless the compiler automagically marks a.out as executible.
CWSIV
On Thu, 7 Aug 2003 09:25:35 -0700 rex
fsanta
[2003-08-07 09:16]: write(*,*)'hello' stop end
:~> g77 don3.f :~> a.out bash: a.out: command not found
./a.out
Unlike DOS, the current directory is not searched for executables by default.
-rex
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
________________________________________________________________ The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today!
Thanks. Works fine now. Cheers, Steve. On Friday 08 August 2003 04:18, Carl William Spitzer IV wrote:
Also check the permissions if its not identified as executable it wont be executed unless the compiler automagically marks a.out as executible.
CWSIV
On Thu, 7 Aug 2003 09:25:35 -0700 rex
writes: fsanta
[2003-08-07 09:16]: write(*,*)'hello' stop end
:~> g77 don3.f :~> a.out
bash: a.out: command not found
./a.out
Unlike DOS, the current directory is not searched for executables by default.
-rex
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
________________________________________________________________ The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today!
participants (4)
-
Carl William Spitzer IV
-
fsanta
-
rex
-
Tony Alfrey