Installing MSYS

  1. Download and run MSYS-1.0.10.exe. Click Yes.
  2. Click Next.
  3. Click Yes.
  4. Click Next.
  5. Click Next.
  6. Click Next.
  7. Click Next.
  8. Click Install.
  9. When prompted by the setup script, answer:

    y
    y
    c:/MinGW

    and hit <enter>
  10. Click Finish.
  11. Right click on My Computer and click Properties. Click the Advanced tab and click Environment Variables.
  12. Select Path under "System Variables" and click Edit.
  13. Add  ;C:\msys\1.0\bin;C:\mingw\bin  to the end of the list and click Ok three times to close all the open dialogs.

Installing GDB

  1. Download gdb-6.6.tar.bz2 to the folder where MinGW is installed, C:\MinGW. Open a MSYS terminal by double-clicking your MSYS desktop icon. Type the following commands at the terminal: (do not type the dollar signs)
    $ cd /mingw
    $ tar -xjf gdb-6.6.tar.bz2

    GDB is now installed.