john green wrote:

> i have a gcc running on my redhat5.1
>
> anyone tell me how to run amd compile programs on this gcc. guess the
> a.out stuff is old and it is elf now.
>
> so please tell me as to what are the basic commands fro running c
> programs
>
> thanks
> johng
>

$ gcc [option | filename]...

For simple ex, to compile the file "foo.c"

$ gcc -o foo foo.c

Visit "$ man gcc " for further info on compiler options, etc....

/John




> ________________________________________________________
> DO YOU YAHOO!?
> Get your free @yahoo.com address at http://mail.yahoo.com



--
email: [EMAIL PROTECTED]
Local mailserver  , remote

Stamp out oppression!!

Reply via email to