Click here to Skip to main content
15,884,083 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on Visual Studio 2005.
I have imported code library files in my project,then I have found that some files are not compiled.
I want to know how the compiler compiles the project files, and which files it compiles from.
Posted
Comments
Sergey Alexandrovich Kryukov 8-Mar-12 21:06pm    
If something is not compiled, there can be billions of reasons. You could reduce your code to some minimal code sample showing the problem and post it (see "Improve question" above).
--SA
Sergey Alexandrovich Kryukov 8-Mar-12 21:14pm    
Do you use GCC with Visual Studio and how? Or you just try to compile a project originally developed to be build with GCC. Is is C++ or something else?
--SA

1 solution

The question is not that simple as it seems to be. GCC is not really a compiler; this is a key component of the GNU tool chain used to build software using a number of different languages. I personally used it for Ada, C and C++, but there are a lot more. The tool chain allows to create a new language in the form of a front-end and include in it a the build process.

Please see:
http://en.wikipedia.org/wiki/GCC_Compiler#Front-ends[^].

GCC is developed and primarily used Linux and other Unix-like OS, but also widely used on Windows.

So, the files used by GCC may vary. :-) Please see my comments to the question. There could be too many reasons in case your files do not compile. You need to address them one by one, usually. We would need way more detailed information to help you to compile the code. The problems of such compilation are very usual. It also depends on how the code is written, on the code quality and on the set of libraries used. Sometimes the code is very poor in portability, so the adaptation of such code to be built on Windows can be quite difficult and time-consuming task.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900