answersLogoWhite

0

What are the files generated while compiling c?

Updated: 8/18/2019
User Avatar

Lavanyas

Lvl 1
13y ago

Best Answer

One or more of the following ones:

assembly source

object module

binary executable

shared library

compilation listing

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the files generated while compiling c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What Cygwin packages do I need to download for compiling C plus plus files?

g++, gdb and make. A simple search for "Cygwin c++" will tell you all you need to know.


What is bgi?

BGI stands for Borland Graphics Interface. These are the files that contains the information about the graphic functions to be used. These are responsible for performing graphic operations under dos. In Borland turbo c++ these files are contained in directory. -> c:\tc\bgi By default these are loaded in the current directory while compiling and executing the program under c/c++ but sometimes we need to specify their path in "initgraph() function. like: initgrapy(&gdriver,&gmode,"c:\\tc\\bgi"); otherwise it will display you error about bgi.


How do you Convert C plus plus code to MIPS?

C++ is high-level source code, while MIPS is low-level machine code for a reduced instruction set computer (RISC). To convert C++ source code to MIPS you need a C++ compiler specific to the MIPS architecture you're building against.


What are the different files that will be generated while developing a C program?

The only file that needs to be generated is a source file (*.c file). For a non-trivial project, you will typically have several source files, dividing the code into modules that can be easily maintained in isolation. Where code in one source file is required by another, you will typically place the declarations of the shared code in one or more header files (*.h file) which can then be imported as required with the #include preprocessor directive. Typically, most *.c files will have a corresponding *.h file listing the declarations, thus separating the interface (the header file) from the implementation (the source file). Your IDE (integrated development environment) will help generate any additional files required by your project, including the project file itself, resource scripts, documentation/help files, configuration files, setup/installer files, and so on. You can generate these files manually, if you prefer, but an IDE helps keep everything organised.


Is it possible to immediately run your C plus plus program without compiling it?

No.


How can you use clang in a sentence?

I use clang for compiling C and C++ code on my computer.


Header files in Java programming?

Java does not require header files like C/C++.


Why does VS2010 lose linked dll-libraries while compiling?

Do you mean that your compiled .exe complains about a missing .dll when run on another computer? Try linking to the C++ runtime instead of the library dll.


What are object files in c?

Object files are intermediate files generated when an application is constructed from source code. In a classic compile-assemble-link toolchain, the compiler translates (C language) source code into assembly language output. The assembler translates this intermediate assembly source into a binary form known as object code. Files containing object code often have a .o or .obj file name extension and are generally called object files. The linker takes the object files and combines them into the complete executable.While many modern tools hide the individual steps, or even integrate compilation and assembly into one, most (all?) compilers generate object files.


Can include files be nested in c?

Yes, include files can be nested in C and C++. In fact, most library implementations do just that.


How do you compile or run a c program in ms dos?

Compiling and running are two completely different procedures. To compile a C program you need a C compiler and linker (two separate programs). Once the source code has been compiled to object files you then need to link those files to create an executable. Once you have an executable you can run it. There's nothing particularly special about compiling from the command line as opposed to compiling within an integrated development environment (IDE). They both do exactly the same thing. However, an IDE is easier because it not only helps you easily organise your project files, it can build (compile and link) and execute the program with a single command. The end result is exactly the same as you would get by manually compiling, linking and executing from the command line. Command lines include a bewildering array of options and switches (parameters). To make sense of them, it is best to use the IDE and examine the command line that it generates for you, changing compiler and linker options to see what effect that has on the command line. Once the IDE command line settings are exactly the way you want them you can copy/paste those command lines into a command file (*.cmd) or a batch file (*.bat) which you can easily invoke from the command line.


How do you erase all memory from a dell laptop?

You can Format all drives. While formatting drives, when you format C Drive all the ntldr files and important OS files will get deleted. Or you can reboot the computer.