[SERVER-1362] Clean up files generated by the compiler on windows Created: 03/Jul/10  Updated: 10/Dec/14  Resolved: 03/Mar/14

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Justin Dearing Assignee: Mark Benvenuto
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows Visual Studio


Attachments: File SConstruct.diff    
Participants:

 Description   

On windows the linker produces files in addition to the exe that are not deleted by "scons -c" For example the following side effects are created along with mongod.exe:

mongod.exe.manifest
mongod.exp
mongod.lib
mongod.pdb

These can be cleaned with an env.Clean() command.

See here for info http://scons.tigris.org/ds/viewMessage.do?dsForumId=1272&dsMessageId=2629048

I will submit a patch for this.



 Comments   
Comment by Mark Benvenuto [ 03/Mar/14 ]

With SCons 2.3.0/Python 2.7/MSVS 2013, scons -c cleans up all pdb, exe, and exp files. We do not use manifests with our VC++ builds so I could not evaluate how it behaves.

Comment by Michael Dirolf [ 04/Jul/10 ]

Moving to core server, build component. Don't think these sorts of cases belong in the buildbot project (there's another recently opened case that I'll be moving as well).

Comment by Justin Dearing [ 03/Jul/10 ]

A failed attempt to fix this issue.This is the first time I'm using python so I'm struggling with stupid issues. Leaving it alone for now and will come back to it later if someone else doesn't.

Generated at Thu Feb 08 02:56:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.