Recent

Author Topic: The command to run C on terminal  (Read 1880 times)

hilary

  • New member
  • *
  • Posts: 7
The command to run C on terminal
« on: May 20, 2015, 08:14:23 am »
Hey people,
I can run fpc on terminal,
do I have to download another compiler for running c? If not, what's the command to run C on terminal?

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12797
  • FPC developer.
Re: The command to run C on terminal
« Reply #1 on: May 20, 2015, 10:13:28 am »
If you mean running a program named "C", then it is

Code: [Select]
./c or
Code: [Select]
./C
since Unices tend to be case sensitive.

If you mean the C programming language, the compiler is classically called something with "cc" in it, like "gcc".

Detail questions about C usage can be better asked on a forum that is about the C programming language.

 

TinyPortal © 2005-2018