Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
question about intermediate file
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Johnson  
View profile  
 More options Oct 5, 11:02 pm
Newsgroups: microsoft.public.dotnet.languages.vc
From: Johnson <gpsab...@yahoo.com>
Date: Mon, 05 Oct 2009 21:02:56 -0600
Local: Mon, Oct 5 2009 11:02 pm
Subject: question about intermediate file
I am using Visual C++ 2008 Express Edition, and the host computer runs
Windows Vista 32 bit. If I build a project, is there any intermediate
files generated (.assembly, .class, .module etc.)? Or just the obj files?

I have also heard that The compiler may create other intermediate files
as well, but they will be deleted automatically once the compile is
finished. Is it true?

Thanks.

Johnson


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Frey  
View profile  
 More options Oct 13, 6:19 pm
Newsgroups: microsoft.public.dotnet.languages.vc
From: "Kevin Frey" <kevin_g_f...@hotmail.com>
Date: Wed, 14 Oct 2009 09:19:49 +1100
Local: Tues, Oct 13 2009 6:19 pm
Subject: Re: question about intermediate file
You are probably confusing "temporary" files with "intermediate" files for
starters. The compiler/linker may well generate other "temporary" files
during its operation but the point of that is that they are temporary, and
should get cleaned up automatically, unless your compiler crashes perhaps.

Intermediate files generally don't get cleaned up unless you "Clean" the
project, because the whole point of an intermediate file is to retain a
partially built item that feeds into the build process. For example, an OBJ
file or a LIB file contains the necessary link-level information, and
generated code, to allow the linker to function. Link-level information is
not actually needed in the final EXE (unless it is being embedded for
debugging reasons). If a particular source file has not changed from one
build to the next, then the corresponding OBJ does not need to be
regenerated, and since compilationis expensive in both compute and I/O
terms, you definitely don't want that intermediate file disappearing at the
end of each compile.

Some other intermediate files don't feed into the build process so much as
help the develop/debug process, such as .PDB (debugger) files. In a similar
fashion you only want to regenerate this file if the EXE changes, not
everytime you run the application in the debugger.

It should not be something that you particularly worry about. The most
important thing is that when you deploy/package your application don't
include extraneous stuff (like said intermediate files) that have no
function on the target host (ie. *not* the development host) and only serve
to bloat the installer's size.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google