Why do we need makefiles for gcc in linux, and not for visual studio in windows?
sankymoron
2006-07-15 18:32:05 UTC
Even Eclipse requires makefiles. Isn't it possible to automate this process? Visual studio doesn't seem to have the concept of makefiles, or maybe it has automated that.
Three answers:
tejasv n
2006-07-15 18:54:33 UTC
Hi,
The whole idea behind windows is ease of use & visual studio being a very user friendly IDE takes care of a lot of mundane tasks like writing Makefiles. It does so by managing all the project information in .dsp & .dsw files. However if need be makefiles can always be generated in Visual studio too.
Also, if in Visual studio based development enviorment, say a project has a lot of sub-projects with their own "work spaces ".dsw" & project info files ".dsp" " then for a complete command line build a hybrid approach can be used where a structural makefile takes care of compiling each individual module projects as something like :-
& then packaging all the individual units for an installation package.
Hope this helps ...
2016-12-10 12:46:07 UTC
Hum, that is genuine that any version you convey jointly using seen studio won't paintings on linux, yet that isn't any longer the factor. you are able to only convey lower back the data on linux and gcc (or in spite of) as quickly as you're happy with the end result on living house windows, that way you're able to desire to apply make only as quickly as. to try this, you're able to desire to construct a console venture interior the seen studio IDE (in case you have any style of GUI stuff it somewhat is a little greater complicated), and upload to all of it your cpp/h data plus any specific compiler/thoughts if there is any you desire to apply. that is conceivable that some issues do no longer paintings precisely a similar interior the living house windows environment, use #if _MSC_VER to mark the code you're able to desire to alter in specific for living house windows. different then that it may paintings particularly rather good luck
2006-07-15 19:37:56 UTC
Because Microsoft always wants to do things their way and can't leave well-enough alone.
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.