Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have installed cygwin on c:/cygwin from the command prompt as an administrator. I used the following command:

C:\cygwin\bin\ash.exe

Now the prompt is displaying $

But now, I do not know how to run rebaseall. The Google Chromium project gives the step in this link: Installing cygwin, but I want to know the steps to do after I see the $ prompt on the command line.

share|improve this question
add comment

1 Answer

The following explains the section "Running rebaseall" on the developer page you linked to.


Why do we need to run rebaseall?

DLLs on Windows need to be loaded into memory at non-conflicting base addresses. rebaseall is a cygwin utility that scans all the libraries currently installed and sets each to request a different base address so that none will conflict. You should generally run this each time you finish adding new packages via the cygwin installer. You know you need to run this if you get cryptic error messages from cygwin about not being able to change a module base address.

From: "Installing Cygwin"

In English this means that DLL libraries need to be loaded at certain places in a computer's memory in a way that they will not conflict.


How to run rebaseall

In order to run rebaseall you need to complete the following steps.

  1. Quit all cygwin shells and processes:

    1. Run task manager and switch to the processes tab.

    2. Highlight all cygwin.exe instances and press delete.

    3. Confirm your actions.

  2. Open a Windows command shell, cmd, as administrator:

    • On Windows Vista and later:

      1. Go to your start menu and type in cmd.

      2. Right-click cmd.exe and click "Run as Administrator".

    • On Windows XP:

      1. Press Windows + R.

      2. Type in cmd.exe and hit enter.

  3. Type in cd [cygwin bin directory] and hit enter, where you substitute [cygwin bin directory] with the path of the bin folder in the cygwin installation directory, most likely C:\cygwin\bin.

  4. Run ash /usr/bin/rebaseall

If no messages appear, then you successfully configured the DLL base addresses.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.