• Advertisement
Sign in to follow this  

Dev c++ and msvc6 compiles differently?

This topic is 4687 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

When I compile with dev c++, I just get an exe file, but when I compile with msvc I get an exe file and some other files although the exe file itself is smaller. What are these extra files? Will other people trying to run my apps need anything extra when I compile them with dev c++?

Share this post


Link to post
Share on other sites
Advertisement
the other files from MSVC are mainly debug files and files that aid in shorter build times. They are not important for the users of the program, only the exe, or dll, or whatever you are building is required.

hth
moe.ron

Share this post


Link to post
Share on other sites
That is if you distribute an executable compiled in release mode, which you should.

Greetz,

Illco

Share this post


Link to post
Share on other sites
I think gcc adds the debug info to the exe file (it can be stripped out or omitted), whereas MSVC adds it to a separate file (maybe).

The principle is the same though.

Mark

Share this post


Link to post
Share on other sites
And what about the latest Beta 2 of VS2005? It has some manifest files. I noticed that one of those was required if I wanted to run the software standalone. Is there some easy way to embed those in the executable? (I tried the embed compiler option, but that didn't change anything :-( )

Share this post


Link to post
Share on other sites
MSVC (until 6.0 at least) adds info to both the executable and an extra file (*.pdb).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement