Launching GCC....
I am a beginner at the linux forums. I am unable to launch gcc through command terminal.I am using red hat platform. Can any 1 help me out.
|
it should just be:
Code:
gcc program.c are you getting some kind of error? Is GCC installed? |
|
@ chrism 01, I m getting this message when i have typed the command u told.
gcc-gfortran-4.1.2-46.el5 libgcc-4.1.2-46.el5 gcc44-c++-4.4.0-6.el5 gcc44-4.4.0-6.el5 gcc-4.1.2-46.el5 gcc-c++-4.1.2-46.el5 How can i execute the file, after compilation. What commands do i need to use to execute the file.. |
If you don't tell the compiler otherwise, it will create an executable called "a.out". You can compile and run with the following commands.
Code:
gcc program.c Cheers, Evo2. |
All times are GMT -5. The time now is 08:57 AM. |