Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7876419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T03:09:50+00:00 2026-06-03T03:09:50+00:00

I have a problem when compiling shared libraries and executables using emacs on Windows

  • 0

I have a problem when compiling shared libraries and executables using emacs on Windows

The permissions on the files that the compiler is producing are such that I cannot recompile the code as it cannot overwrite the previous .dll or .exe

Currently I am having to go in and delete the files manually via explorer before I can recompile

never had this issue under linux

anyone know of a workaround as all this manual file deleting is getting tedious

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T03:09:50+00:00Added an answer on June 3, 2026 at 3:09 am

    Turns out it wasn’t a file permissions thing. The problem was that gdb under windows (as provided by MinGW) locks the executable and any associated shared libraries when it is running so you can’t recompile the executable or any of the shared libraries whilst gdb is running. This is not the case when doing the same thing under linux. All you need do under under windows is stop the debugger with k then recompile then start it again.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having a problem with compiling a .cpp file using the ndk-build tool (Windows
I've had numerous problems compiling shared objects that link statically against static libraries. This
I have a problem with compiling an Oracle trigger via SQL*PLUS - I don't
The problem is this: I have multiple competing threads (100+) that need to access
I have problem with Android using the class HttpUrlConnection my method is this: public
I have problem in some JavaScript that I am writing where the Switch statement
I have heard that setting the --prefix=PREFIX option when compiling PHP on linux will
Hello I have a problem with compiling a ghostscript from ports in openbsd 4.7.
I have a problem compiling with ocamlopt and floats I'm under Ubuntu 10.04 and
I have a problem compiling a program I made in BASIC. It's a DOS

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.