[S.u.S.E. Linux] About gcc g77 f2c in Suse 5.2
Hi everybody ! I have now a PC running Suse 5.2 linux OS. I am very happy with it. however today I spent all the day installing gcc, f2c and g77 whith yast. This seems to be excuted sucsecefully. The problem arise when I use it to compile and run a fortran program. here is the problem : aloha:/root # g77 prog.f aloha:/root # ll total 234 -rwxr-xr-x 1 root root 751 Jul 31 19:46 prog.f -rwxr-xr-x 1 root root 163751 Jul 31 19:46 a.out* aloha:/root # a.out & [1] 663 bash: a.out: command not found [1]+ Exit 127 a.out Is this a problem of the shell 'bash' wich come with the distribution (Suse 5.2) ? Or the problem is much more complicated ? Should I learn how to get and compile gcc (from scrach!!) ? Could any one, please help me with advise ? Thank you very much PS: I am new to linux and very new in being root of a machine ! Naceur - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
On Fri, 31 Jul 1998, Naceur Bouziani wrote:
aloha:/root # g77 prog.f
Try "g77 prog.f -o prog"
aloha:/root # a.out & [1] 663 bash: a.out: command not found [1]+ Exit 127 a.out
Try ./a.out & I'm not sure about SuSE, but RedHat does not setup your path to the current directory ("."). _____________________________________________________________________________ Terry Eck <eck@ti.com> //// Hukt on Foniks Rilly Wurkt Fer Mee! //// - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Hi! Try ./a.out That should work. Or setup your path variable to look in . (current dir). Cheers alexm On Fri, 31 Jul 1998, Naceur Bouziani wrote:
Hi everybody !
I have now a PC running Suse 5.2 linux OS. I am very happy with it. however today I spent all the day installing gcc, f2c and g77 whith yast. This seems to be excuted sucsecefully. The problem arise when I use it to compile and run a fortran program.
here is the problem :
aloha:/root # g77 prog.f aloha:/root # ll total 234 -rwxr-xr-x 1 root root 751 Jul 31 19:46 prog.f -rwxr-xr-x 1 root root 163751 Jul 31 19:46 a.out* aloha:/root # a.out & [1] 663 bash: a.out: command not found [1]+ Exit 127 a.out
Is this a problem of the shell 'bash' wich come with the distribution (Suse 5.2) ? Or the problem is much more complicated ? Should I learn how to get and compile gcc (from scrach!!) ?
Could any one, please help me with advise ?
Thank you very much
PS: I am new to linux and very new in being root of a machine !
Naceur
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (3)
-
alexm@hr60.tx.symbio.net
-
eck@ti.com
-
Naceur@wanadoo.fr