answersLogoWhite

0


Best Answer

It depends on the compiler installed and on the operating system. In unix, you would generally say...

cc -o program program.c

or

make program

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

g++ -o something.o -c something.cc

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What command do you need to enter in order to compile a program called 'PROGRAM.C' with your compiler?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you compile and execute a 16 bit compiler program from a command prompt?

Compiler-dependent. If you have Turbo C, it will be command TCC


What is Commands for the compiler that are needed to compile and run your program?

javac is the command that is used to compile Java source files.


How compiler compile a program?

With a compiler. Read the documentation for programming package for help on how to.


When you compile a program do you have to give a command to print the source program?

No. You can compile without printing the source. Indeed, I know of no compiler that would allow a program's source to be printed while it is being compiled. They are completely separate and unrelated tasks.


How do you compile and execute programs using command line in DOS?

ad1: install a compiler ad2: just enter the program's name at the prompt


How do you compile and execute a C program from a command prompt in turboc compiler in 32 bit XP?

C:> TCC.EXE foobar.c C:> foobar.exe


What command should be given to compile a C program from the command prompt?

You need a compiler. Gcc or g++ can be run from a unix shell, or a windows implementation of one like cygwin.


When does a program show a compiling error?

When a program contains a compiler error, the compiler will detect it, preventing the program from compiling. Compiler errors must be fixed before a program will compile successfully.


What does a compiler do when you compile your program?

Coverts source code into object code


What is command to compiler java program?

The command is "javac".


What is the command to compile a java program named Greetingsjava?

The command to compile a Java program is "javac", followed by the class name (file name).


What is the command to compile jre6 program?

It is 'Java program' to be precise, and the command is: 'javac sourcefilename.java'