November 22, 2024, 05:18:26 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: open gcc  (Read 6009 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 »