November 24, 2024, 05:13:13 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: open gcc  (Read 6058 times)

Offline Ujjwol

  • Linux Learner
  • ***
  • Posts: 54
open gcc
« on: May 15, 2007, 07:09:06 AM »
how to open gcc on linux???
i don't know

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: open gcc
« Reply #1 on: May 15, 2007, 09:46:37 AM »
You don't really need to open Gcc, gcc is mostly installed with all Linux Disro, you need to use it.
For example, you want to compile a simple C file then named program1.c then can do following :
Code: [Select]
gcc -o <outputfile> program1.c
« Last Edit: May 15, 2007, 10:04:17 AM by Ricky »