Ghost residual files

If I had source files on a thumb drive and compiled dll's to said thumb drive (with  a GNU compiler or Visual C++) would ghost copies of my source file be on the hdd hosting the compiler and Win 7?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

btanExec ConsultantCommented:
You will have logs from compiler but doubt any remanence of the codes unless the source codes are residing in the project workspace and folder. Perform secure erase using eraser on that folder or workspace repository subsequently.

but note there are many temp files generated and not necessary source codes embedded. But i do see the link, debugging symbols and object files remaining need to be non existence so that the dll cannot be reconstructed easily..

e.g. in Visual C there are option to clean up workspaces etc

e.g. gnu has the "Clean mode" if using libtool

e.g. gnu has save temp option which not necessary where possible after debugging

Store the usual “temporary” intermediate files permanently; place them in the current directory and name them based on the source file. Thus, compiling foo.c with -c -save-temps produces files foo.i and foo.s, as well as foo.o. This creates a preprocessed foo.i output file even though the compiler now normally uses an integrated preprocessor.

e.g. check gnu tmpdir

If TMPDIR is set, it specifies the directory to use for temporary files. GCC uses temporary files to hold the output of one stage of compilation which is to be used as input to the next stage: for example, the output of the preprocessor, which is the input to the compiler proper.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.