Linux GCC [Archive] - C Board

PDA

View Full Version : Linux GCC


Gcc_Confused
06-05-2002, 12:41 PM
I just started using Linux a couple of days ago but I figured out how to
compile the source but I get a file called <file>.out. Any I dea how I would go about running this?

Shiro
06-05-2002, 12:43 PM
By typing <file>.out. It is an executable file.

Unregistered
06-05-2002, 12:57 PM
Yeah thats what I thought but I keep getting a
"Bash: file.out :command not found
I tried as root and in shell but I cant seem to get it to work

MethodMan
06-05-2002, 01:01 PM
This should work

gcc file.c

to run -> ./a.out

Gcc_Confused
06-05-2002, 01:03 PM
Yup thats what I was looking for
thanks guys :)